/* --- Variables --- */
:root {
    --primary-color: #f7ecdb;
    --secondary-color: #8D6E63;
    --accent-color: #FFAB91;
    --light-bg: #FFFEF0;
    --dark-text: #3E2723;
    --nav-icon-border: #5D4037;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

/* --- Header & Navigation --- */
.header {
    background: var(--primary-color);
    padding: 0.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: top 0.3s ease;
}
.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--secondary-color);
    line-height: 1;
}
.logo-text span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}
.logo-img {
    height: 60px;
    width: auto;
}
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: var(--accent-color);
}
.btn-primary {
    background-color: var(--secondary-color);
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: var(--accent-color);
}
.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 5px 0;
    transition: 0.4s;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 0px; /* Offset fixed header */
}

/* IMAGE CONTAINER */
.hero .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Updated selector to include video */
.hero .image-container img, 
.hero .image-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Both active images and videos get opacity 1 */
.hero .image-container img.active,
.hero .image-container video.active {
    opacity: 1;
}

/* Overlay for better text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}
.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.highlight {
    font-family: 'Great Vibes', cursive;
    color: var(--accent-color);
}
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-secondary:hover {
    background-color: #fff;
    color: var(--dark-text);
}

/* --- Generic Sections --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

/* --- About Section --- */
.about {
    padding: 5rem 0;
    background-color: #fff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}
.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.feature-list i {
    color: var(--secondary-color);
}

/* --- Services Section (Film Strip) --- */
.services {
    padding: 5rem 0;
    background-color: var(--primary-color);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
}

/* FILM STRIP STYLES */
.film-strip-container {
    width: 100%;
    height: 250px;
    overflow: hidden; /* Hide the overflow */
    position: relative;
    border-bottom: 4px solid var(--secondary-color);
    background-color: #000; /* Background for when images load or aspect ratio differs */
}

.film-strip {
    display: flex;
    height: 100%;
    transition: transform 1s ease-in-out; /* Smooth sliding animation */
}

/* Update to include video */
.film-strip img, 
.film-strip video {
    height: 100%;
    width: 250px; /* Fixed width for calculation in JS */
    min-width: 250px; /* Ensure they don't shrink */
    object-fit: cover;
    flex-shrink: 0;
}

.card-content {
    padding: 1.5rem;
    text-align: center;
}
.btn-book {
    margin-top: 1rem;
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-book:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* --- Breeds Section (Carousel) --- */
.breeds {
    padding: 5rem 0;
    background-color: #fff;
}
.carousel {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.carousel-track {
    display: flex;
    width: calc(300px * 10); /* Estimate width, JS handles infinite scroll logic usually or CSS animation */
    animation: scroll 20s linear infinite;
}
.slide {
    width: 300px;
    padding: 0 10px;
    position: relative;
}
.slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}
.caption {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 5)); }
}

/* --- Footer --- */
.footer {
    background-color: #2D2D2D;
    color: #fff;
    padding: 3rem 0 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--accent-color);
}
.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        transition: 0.3s;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        right: 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Modal & Form Styles (Refined) --- */

.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh; /* Ensure it fits on mobile screens */
}
.modal.active .modal-content {
    transform: translateY(0);
}

/* Header */
.modal-header {
    background: var(--primary-color);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.modal-header h2 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin: 0;
}
.close-x {
    background: #ff5252;
    color: white;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 0.6em;
    border-radius: 50%;
    width: 2.2em;
    height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(229,57,53,0.15);
    cursor: pointer;
}
.close-x:hover, .close-x:focus {
    background: #b71c1c;
    color: #fff;
    outline: none;
}

/* Body & Tabs */
.modal-body {
    padding: 1.5rem;
    overflow-y: auto; /* Scroll inside body if content is long */
}
.modal-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}
.tab-btn {
    background: none;
    border: none;
    padding-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.tab-btn.active {
    color: var(--secondary-color);
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Elements */
.form-group {
    margin-bottom: 1.2rem;
}
.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #555;
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}
.form-textarea {
    resize: vertical;
}

/* Service Chips */
.service-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.option-chip {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.option-chip:hover {
    background: #e0e0e0;
}
.option-chip.selected {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 2px 6px rgba(141,110,99,0.3);
}

/* Footer & Button */
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    text-align: right;
    background: #fafafa;
}
.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(37,211,102,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37,211,102,0.4);
}

/* --- Floating Contact Button Styles --- */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* The small buttons wrapper */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 5px;
}

/* Animation when active */
.floating-contact.active .contact-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Main Toggle Button */
.main-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
}

.main-float-btn:hover {
    transform: scale(1.1);
    background-color: var(--dark-text);
}

/* Specific Social Buttons */
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Brand Colors */
.float-btn.whatsapp {
    background-color: #25D366;
}

.float-btn.youtube {
    background-color: #FF0000;
}

/* Icon images inside floating buttons */
.float-btn .float-icon {
    width: 60%;
    height: 60%;
    display: block;
    object-fit: contain;
}

/* Slightly lift the button on active press to indicate hold/press feedback */
.float-btn:active {
    transform: scale(0.98);
}

/* Accessible focus ring */
.float-btn:focus {
    outline: 3px solid rgba(0,0,0,0.12);
    outline-offset: 3px;
}