@font-face {
    font-family: 'Sophistica1';
    src: url('./fonts/sophistica1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Titillium Web';
    src: url('./fonts/TitilliumWeb-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Titillium Web';
    src: url('./fonts/TitilliumWeb-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Titillium Web';
    src: url('./fonts/TitilliumWeb-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Titillium Web';
    src: url('./fonts/TitilliumWeb-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Titillium Web';
    src: url('./fonts/TitilliumWeb-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Titillium Web';
    src: url('./fonts/TitilliumWeb-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.intro-text {
    /* Adds styling to the intro text container */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-text p {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 200;
}

/* Base Styles */
:root {
    --primary-color: #8B6F47;
    --primary-light: #D4B896;
    --secondary-color: #2d3748;
    --accent-color: #E8C9A0;
    --bg-color: #faf9f7;
    --bg-light: #f7fafc;
    --text-color: #333;
    --text-light: #718096;
    --text-dark: #2d3748;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    padding-top: 0; /* Remove any top padding */
    margin-top: 0; /* Remove any top margin */
    overflow: hidden; /* Prevent scrolling during load */
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=2070');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(40%) blur(1px) brightness(0.85) contrast(1.1);
    opacity: 0.55;
    z-index: -1;
}

body.loaded {
    overflow: auto; /* Re-enable scrolling after load */
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hide all content except preloader during load */
body:not(.loaded) > *:not(#preloader) {
    opacity: 0;
    visibility: hidden;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.logo-animation {
    font-family: 'Sophistica1', cursive;
    font-size: 3rem;
    color: #2d3748;
    margin-bottom: 2rem;
    animation: fadeInScale 1.5s ease-in-out infinite alternate;
    letter-spacing: 2px;
}

.loader {
    width: 200px;
    height: 4px;
    background: rgba(45, 55, 72, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, #2d3748, #1a202c);
    border-radius: 10px;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes fadeInScale {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes loading {
    0% {
        width: 0%;
        margin-left: 0;
    }
    50% {
        width: 100%;
        margin-left: 0;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 5rem 0;
}

.section-title-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-family: 'Sophistica1', cursive !important;
    font-size: 70pt;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #2d3748;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.instagram .section-title {
    color: white;
}

.title-accent {
    width: 60px;
    height: 3px;
    background: #2d3748;
    margin: 0 auto;
}

.instagram .title-accent {
    background: white;
}

.script-title {
    font-family: 'Sophistica1', cursive !important;
    font-size: 3.5rem !important;
    font-weight: 400;
    color: #2d3748;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    white-space: nowrap;
}

.hero-script-title {
    font-family: 'Sophistica1', cursive !important;
    font-size: 50pt;
    font-weight: 400;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.lead {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.25rem;
    font-weight: 200;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.centered-button {
    text-align: center;
    margin-top: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 55, 72, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #2d3748;
    border: 2px solid #2d3748;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 55, 72, 0.4);
}

.btn-light {
    background-color: white;
    color: var(--secondary-color);
}

.btn-light:hover {
    background-color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff; /* fully opaque */
    padding: 1rem 0;
    z-index: 2000; /* ensure above hero overlays */
    transition: var(--transition);
}

/* Transparent only at the very top */
.navbar.at-top {
    background-color: transparent;
    padding: 1.5rem 0;
}
/* Ensure home page shows true transparency at top on mobile too */
.home-page .navbar.at-top {
    background-color: transparent !important;
    box-shadow: none !important;
}

.navbar.scrolled {
    background-color: #ffffff; /* fully opaque */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* softer shadow to avoid bright bar */
    padding: 1rem 0;
}

/* Non-home pages: always dark text in navbar */
body:not(.home-page) .navbar .logo,
body:not(.home-page) .navbar .tagline,
body:not(.home-page) .navbar .nav-menu a,
body:not(.home-page) .navbar .nav-menu a i {
    color: #2d3748 !important;
    text-shadow: none !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.95rem;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: 1px;
    transition: var(--transition);
    text-shadow: none;
    line-height: 1;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
    font-variant: small-caps;
}

.tagline {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-light);
    transition: var(--transition);
    text-shadow: none;
    margin-top: 2px;
    opacity: 0.9;
    text-transform: uppercase;
    width: 100%;
    text-align: justify;
    text-align-last: justify;
}

}.navbar.scrolled .logo {
    color: #2d3748;
    text-shadow: none;
}

.navbar.scrolled .tagline {
    color: var(--text-light);
    text-shadow: none;
}

/* At top: make text white over hero (home page only) */
.home-page .navbar.at-top .logo,
.home-page .navbar.at-top .tagline,
.home-page .navbar.at-top .nav-menu a {
    color: white !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 6px 10px; /* Larger padding for better contrast on white bg */
    border-radius: 10px;
    text-shadow: none;
}

.client-login-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    text-shadow: none;
    margin-left: 1.5rem;
}

/* Hide mobile login link on desktop */
.mobile-login {
    display: none;
}

.navbar.scrolled .client-login-btn {
    background-color: rgba(139, 111, 71, 0.15);
    color: var(--text-dark);
}

.client-login-btn:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    transform: scale(1.1);
    color: white;
}

.client-login-btn:hover i {
    color: white !important;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
}

.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 10px;
    transition: var(--transition);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.lang-current:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .lang-current {
    color: var(--text-dark);
    text-shadow: none;
}

.lang-code {
    font-weight: 600;
    font-size: 0.85rem;
}

.lang-current .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: white !important;
    text-decoration: none;
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
}

.lang-option span {
    color: white !important;
}

.lang-option:first-child {
    border-radius: 10px 10px 0 0;
}

.lang-option:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.lang-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0 !important;
}

.lang-option.active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
    border-radius: 0 !important;
}

.lang-flag {
    font-size: 1.2rem;
}

.navbar.scrolled .nav-menu a {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2d3748;
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Remove underline from language selector items */
.language-selector a::after,
.lang-option::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--text-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    color: white;
    margin-bottom: 0;
    overflow: hidden;
    padding-bottom: 12rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: #000;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

.hero h1 {
    font-family: 'Sophistica1', cursive;
    font-size: 90pt;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    color: white;
    opacity: 0;
    transform: translateY(200px);
    animation: heroTitleSlideUp 1.5s ease-out 0.8s forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out 1s both;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

/* Introduction Section */
.intro {
    background-color: var(--bg-light);
    color: var(--text-color);
}

.intro p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.intro .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.intro-image img {
    /* No transition or hover effect */
}

/* Featured Films Section */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-item {
    text-align: center;
}

.video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-thumbnail:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.video-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
    /* Handle transparent PNGs properly */
    background-color: var(--bg-light);
    border-radius: 10px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-button i {
    color: #2d3748;
    font-size: 1.5rem;
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-item h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.featured-item p {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services Preview Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Package Teaser Section */
.cta-packages {
    background-color: var(--bg-light);
    text-align: center;
}

.cta-packages-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Testimonials Section */
.testimonial-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 2fr;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s ease-in-out;
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Slide animations */
.testimonial-item.slide-in-right {
    opacity: 1;
    visibility: visible;
    animation: slideInRight 1.2s ease-in-out forwards;
}

.testimonial-item.slide-in-left {
    opacity: 1;
    visibility: visible;
    animation: slideInLeft 1.2s ease-in-out forwards;
}

.testimonial-item.slide-out-left {
    animation: slideOutLeft 1.2s ease-in-out forwards;
}

.testimonial-item.slide-out-right {
    animation: slideOutRight 1.2s ease-in-out forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.testimonial-image {
    height: 100%;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 3rem;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: #2d3748;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.wedding-location {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonial Navigation Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(45, 55, 72, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: #2d3748;
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background-color: #2d3748;
    opacity: 0.8;
}

/* Call to Action */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=2070') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-variant: small-caps;
}

.cta p {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Instagram Feed Section */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.instagram-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.instagram-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(139, 111, 71, 0.4);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.instagram-item:hover::before {
    opacity: 1;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-follow {
    text-align: center;
    margin-top: 2rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

.instagram-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.instagram-link i {
    font-size: 1.2rem;
}

/* Progressive rendering for offscreen sections on mobile */
@media (max-width: 768px) {
  .featured-films, .cta-packages, .testimonials, .instagram, .footer {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
  }
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #f7fafc;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    font-variant: small-caps;
}

.footer-brand p {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #cbd5e0;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    transform: translateY(-3px);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: white;
}

.footer-nav ul li,
.footer-contact ul li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    color: #cbd5e0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact ul li {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* Email link in the contact list -> Contact page. Match surrounding text and
   keep the icon/text spacing now that both sit inside the anchor. */
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
    font-size: 0.9rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes heroTitleSlideUp {
    from {
        opacity: 0;
        transform: translateY(200px);
    }
    to {
        opacity: 1;
        transform: translateY(50px);
    }
}

/* Media Queries */
/* Medium screens - reduce navbar spacing to prevent overlap */
@media (max-width: 1100px) and (min-width: 769px) {
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-menu a {
        font-size: 0.75rem;
        padding: 4px 6px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.65rem;
    }
    
    .client-login-btn {
        width: 32px;
        height: 32px;
        margin-left: 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Ensure hamburger stays hidden on medium screens */
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 992px) {
    .intro-content,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-slider {
        height: auto;
        min-height: 500px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .hero h1 {
        font-size: 24pt;
    }
    
    .hero-script-title {
        font-size: 18pt !important;
    }
    
    .section-title {
        font-size: 18pt;
    }

    .section {
        padding: 4rem 0;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 40%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        transition: 0.5s;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 10;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Make mobile overlay menu links white only when menu is open */
    .nav-menu.active a {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        font-size: 0.9rem;
        padding: 5px 0;
        background: transparent;
    }

    /* Default small-screen header links (when menu closed) stay dark */
    .nav-menu:not(.active) a {
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }
    
    .nav-menu.active a i {
        color: white !important;
    }
    .nav-menu:not(.active) a i {
        color: var(--text-dark) !important;
    }
    
    .nav-menu.active li,
    .nav-menu.active li a {
        color: white !important;
    }
    
    /* Override scrolled navbar styles for mobile menu */
    .navbar.scrolled .nav-menu a {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .navbar.scrolled .nav-menu a i {
        color: white !important;
    }
    
    /* Nav-toggle color on mobile */
    .nav-toggle span {
        background-color: white !important;
    }
    
    .navbar.scrolled .nav-toggle span {
        background-color: #2d3748 !important;
    }

    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2001;
        position: relative;
        width: auto;
        height: auto;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .nav-toggle.active {
        background: #2d3748;
        border-radius: 50%;
        padding: 8px;
        width: 32px;
        height: 32px;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 2001;
    }

    .nav-toggle span {
        width: 22px;
        height: 2px;
        margin: 3px 0;
        display: block;
        background-color: white;
    }

    .nav-toggle.active span {
        background-color: white !important;
        margin: 0;
        position: absolute;
        width: 18px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    /* Ensure X icon is always white */
    .nav-toggle.active span:nth-child(1),
    .nav-toggle.active span:nth-child(2),
    .nav-toggle.active span:nth-child(3) {
        background-color: white !important;
    }
    
    .navbar.scrolled .nav-toggle.active span {
        background-color: white !important;
    }

    /* Hide desktop login button on mobile */
    .client-login-btn {
        display: none !important;
    }

    /* Show mobile login in nav menu */
    .mobile-login {
        display: block;
    }

    .mobile-login a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background-color: rgba(45, 55, 72, 0.2) !important;
        padding: 0.75rem 1.5rem !important;
        border-radius: 10px;
        color: white !important;
    }
    
    /* Final override - force all menu text white */
    .nav-menu.active a,
    .nav-menu.active li,
    .nav-menu.active li a {
        color: white !important;
    }
    
    /* Language selector mobile styles */
    .nav-menu .lang-current {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .nav-menu .lang-current i {
        color: white !important;
    }
    
    .nav-menu .lang-code {
        color: white !important;
    }
    
    .navbar.scrolled .nav-menu .lang-current {
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Language dropdown menu in mobile - add blur */
    .nav-menu .lang-menu {
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        left: auto;
        right: 10px;
        transform: translateY(-10px);
        min-width: 200px;
        max-width: calc(100% - 20px);
    }
    
    .nav-menu .lang-menu.show {
        transform: translateY(0);
    }
    
    /* Adjust language selector alignment in mobile */
    .nav-menu .language-selector {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu .lang-dropdown {
        display: flex;
        justify-content: center;
    }
    
    /* Fix language option padding in mobile */
    .nav-menu .lang-option {
        padding: 0.75rem 1.25rem;
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-script-title {
        font-size: 2.2rem !important;
    }

    .section-title {
        font-size: 16pt;
    }
    
    .script-title {
        font-size: 2.2rem !important;
    }
    
    .hero {
        padding-bottom: 4rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-slider {
        min-height: 600px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small utility for highlighted year used on packages page */
.year-highlight {
    color: var(--primary-color);
}

/* Ensure the year color overrides any later page-level h1 color rules */
.packages-header .year-highlight {
    color: var(--primary-color) !important;
}

/* Video Modal Styles */
 
/* Video Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex !important; /* Use !important to override any inline styles */
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    animation: modalFadeIn 0.5s;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 16px;
    backdrop-filter: blur(3px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.close-modal:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    transform: scale(1.1);
}

.close-modal:hover {
    color: var(--primary-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: black;
    border-radius: 10px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes modalFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Input and Textarea Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2d3748;
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.1);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    aspect-ratio: 16/9;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}
}.video-modal-close:hover {
    color: #2d3748;
}

/* Fallback play button centered over video */
.video-play-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    background: rgba(255,255,255,0.95);
    color: #2d3748;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    cursor: pointer;
}
.video-play-fallback:hover { filter: brightness(0.95); }

.video-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
}
