/* --- 1. THEME VARIABLES & RESET --- */
:root {
    --bg-deep: #0a0a0a;
    --bg-card: #151515;
    --text-pure: #ffffff;
    --text-silver: #e0e0e0;
    --bacon-red: #ff002b;
    --bacon-orange: #ff9100;
    --bacon-gradient: linear-gradient(90deg, #ff002b 0%, #ff9100 100%);
}

* { box-sizing: border-box; }

body { 
    background-color: var(--bg-deep); 
    color: var(--text-pure); 
    font-family: 'Inter', -apple-system, sans-serif; 
    margin: 0; 
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- 2. NAVIGATION --- */
header { 
    padding: 25px 0; 
    border-bottom: 1px solid #222; 
    background: rgba(10, 10, 10, 0.95); 
    position: sticky; 
    top: 0; 
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    font-size: 1.6rem; 
    font-weight: 900; 
    background: var(--bacon-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    text-transform: uppercase;
    letter-spacing: -1px;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-pure); 
    margin-left: 30px; 
    font-size: 0.85rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    transition: 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover { color: var(--bacon-orange); }

/* --- 3. BREADCRUMBS --- */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 30px;
}

.breadcrumbs a { text-decoration: none; color: #666; transition: 0.3s; }
.breadcrumbs a:hover { color: var(--bacon-orange); }
.breadcrumbs .sep { margin: 0 10px; color: #333; }
.breadcrumbs .current { color: var(--text-pure); }

/* --- 4. HERO & MISSION (HOME PAGE FIX) --- */
.hero { 
    padding: clamp(60px, 10vh, 120px) 0; 
    text-align: center; 
    background: radial-gradient(circle at center, #2b0b0b 0%, #0a0a0a 80%);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 { 
    font-size: clamp(2.8rem, 10vw, 6rem); 
    margin: 0; 
    font-weight: 900;
    line-height: 0.85; 
    letter-spacing: -2px; 
    text-transform: uppercase;
}

.sub-headline { 
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin: 20px 0 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission { 
    padding: clamp(40px, 8vh, 100px) 20px; 
    background: #000; 
    text-align: center;
}

.mission-content { max-width: 850px; margin: 0 auto; }

.mission h2 { 
    color: var(--bacon-orange); 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-size: 0.9rem; 
    margin-bottom: 25px; 
}

.mission p { 
    font-size: clamp(1.3rem, 5vw, 1.8rem); 
    font-weight: 700; 
    line-height: 1.4; 
    color: var(--text-pure); 
}

.bacon-text { 
    background: var(--bacon-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
}

/* --- 5. GRIDS (Animal & Collection) --- */
.animal-grid, .collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
    align-items: stretch;
}

.animal-card, .breeder-card {
    background: var(--bg-card);
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.animal-card:hover, .breeder-card:hover {
    transform: translateY(-8px);
    border-color: var(--bacon-red);
}

/* Photo Slider Settings */
.slider-container { 
    position: relative; 
    width: 100%; 
    height: 320px; 
    overflow: hidden; 
    background: #000; 
    flex-shrink: 0;
}

.slider-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 10%, transparent 90%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 2;
}

.slider { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    height: 100%; 
    scrollbar-width: none; 
}
.slider::-webkit-scrollbar { display: none; }
.slider img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }

.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    background: rgba(0,0,0,0.7); color: var(--bacon-orange); border: none; 
    padding: 15px 10px; cursor: pointer; font-size: 20px; opacity: 0; transition: 0.3s;
}
.animal-card:hover .slider-arrow, .breeder-card:hover .slider-arrow { opacity: 1; }
.arrow-left { left: 0; border-radius: 0 4px 4px 0; }
.arrow-right { right: 0; border-radius: 4px 0 0 4px; }

/* Badges */
.status-badge, .breeder-badge {
    position: absolute; top: 15px; right: 15px; padding: 5px 12px;
    font-size: 0.7rem; font-weight: 900; text-transform: uppercase;
    border-radius: 4px; z-index: 5;
}
.available { background: var(--bacon-red); color: white; }
.breeder-badge { left: 15px; right: auto; background: rgba(0,0,0,0.8); color: var(--bacon-orange); border: 1px solid var(--bacon-orange); }

/* --- 6. CARD DETAILS & INFO --- */
.card-details, .card-info { 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}

.card-description, .project-status {
    margin: 15px 0;
    font-size: 0.9rem;
    color: #ccc;
    flex-grow: 1; 
}

/* Status Dot Styling */
.status-dot {
    height: 10px;
    width: 10px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.inquire-btn {
    display: block; 
    text-align: center; 
    background: transparent; 
    border: 2px solid var(--bacon-red);
    color: white; 
    text-decoration: none; 
    padding: 14px; 
    font-weight: 800; 
    text-transform: uppercase;
    transition: 0.3s; 
    margin-top: auto;
    font-size: 0.85rem;
}
.inquire-btn:hover { background: var(--bacon-red); }

/* --- 7. INDIVIDUAL PROFILE PAGES --- */
.animal-profile { display: flex; gap: 50px; padding: 60px 0; }
.profile-gallery { flex: 1.5; }

.main-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #222;
}

.main-photo img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    transition: opacity 0.3s ease-in-out;
}

.thumbnails { display: flex; gap: 12px; margin-top: 15px; overflow-x: auto; padding-bottom: 10px; }
.thumbnails img { 
    width: 100px; height: 100px; object-fit: cover; 
    cursor: pointer; border: 2px solid #222; border-radius: 6px; 
    flex-shrink: 0; transition: 0.3s;
}

.profile-info { flex: 1; }
.price-large { font-size: 2.5rem; font-weight: 900; color: var(--bacon-orange); margin: 20px 0; }

.specs-grid { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; 
    margin: 30px 0; padding: 20px; background: #111; border-radius: 8px;
}

.lineage-box { padding: 20px; border: 1px solid #222; border-radius: 8px; margin-bottom: 30px; }

/* Buttons */
.btn { 
    background: var(--bacon-gradient); color: white; padding: 18px 40px; 
    text-decoration: none; border-radius: 4px; font-weight: 900; 
    text-transform: uppercase; display: inline-block; transition: 0.3s;
    text-align: center; border: none; cursor: pointer;
}
.btn:hover { transform: scale(1.02); filter: brightness(1.1); }

/* --- 8. MOBILE OPTIMIZATION --- */
@media (max-width: 900px) {
    .animal-profile { flex-direction: column; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        width: 100%; 
        gap: 10px; 
        margin-top: 20px;
    }
    .nav-links a { 
        margin: 0; text-align: center; padding: 12px; 
        border: 1px solid #222; font-size: 0.75rem;
    }
    
    .hero { padding: 60px 15px; min-height: 50vh; }
    .hero h1 { font-size: 2.8rem; }
    
    .animal-grid, .collection-grid { grid-template-columns: 1fr; }
    .slider-container { height: 260px; } 
    
    .slider-arrow { display: none; } 
    .contact-section {
        flex-direction: column; 
        gap: 30px; /* Adds space between the info and the form */
    }

    .contact-box, .contact-form {
        width: 100%; /* Forces both to take up the full screen width */
        max-width: 100%;
    }
}

footer { padding: 60px 0; border-top: 1px solid #111; margin-top: 40px; text-align: center; }