/* 
* Vivah Films Seraikella - Style Sheet
* Est. 2009
*/

/* --- Google Fonts & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --color-bg: #0b0b0b;
    --color-bg-light: #151515;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-gold: #C9A84C;
    --color-gold-hover: #b09038;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #1da851;
    --color-white: #ffffff;

    --font-heading: 'Cormorant Garamond', serif;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;

    --container-width: 1200px;
    --spacing-section: 100px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Typography Utilities */
.text-gold {
    color: var(--color-gold);
}

.text-italic {
    font-style: italic;
}

.font-playfair {
    font-family: var(--font-subheading);
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.grid {
    display: grid;
    gap: 30px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-gold {
    background-color: var(--color-gold);
    color: #000;
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background-color: var(--color-gold);
    color: #000;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: transparent;
    border-color: var(--color-whatsapp);
    color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp);
    color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp-filled {
    background-color: var(--color-whatsapp);
    color: #fff;
    border-color: var(--color-whatsapp);
    width: 100%;
    text-align: center;
}

.btn-whatsapp-filled:hover {
    background-color: var(--color-whatsapp-hover);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.gold-hover-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.gold-hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

.gold-hover-underline:hover::after {
    width: 100%;
}

/* --- Shared Components --- */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background-color var(--transition-medium), padding var(--transition-medium);
}

.navbar.scrolled {
    background-color: rgba(11, 11, 11, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--color-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-gold);
}

.mobile-menu-btn {
    display: none;
    color: var(--color-gold);
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    /* Ensure it's above other elements */
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--color-whatsapp-hover);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer */
footer {
    background-color: var(--color-bg-light);
    border-top: 1px solid #222;
    padding-top: 80px;
    padding-bottom: 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 20px 0;
}

.footer-heading {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Components Helpers */
.img-placeholder {
    width: 100%;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #333 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .navbar .btn {
        display: none;
    }

    /* Hide desktop CTA on tablet/mobile */
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-medium);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1000;
        /* Ensure button is above menu */
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Page Specific Styles --- */

/* Hero (Home) */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-title span {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    margin-top: 10px;
    color: var(--color-gold);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 5px;
}

.section-title {
    font-size: 2.5rem;
}

/* Service Card (Home) */
.service-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border: 1px solid #222;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Ensure equal height */
    z-index: 1;
}

/* Background overlay for service cards with images */
/* Background overlay for service cards with images */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Base default: Top transparent -> Bottom Dark */
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.95));
    z-index: -1;
    transition: var(--transition-medium);
}

.service-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-10px);
}

.service-card:hover::before {
    background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 0, 0.9));
}

/* Unique Gradients per Card */
/* 1. Candid Photography - Dark Red/Maroon */
.service-card:nth-child(1)::before {
    background: linear-gradient(to bottom, transparent 30%, rgba(100, 0, 0, 0.95));
}

.service-card:nth-child(1):hover::before {
    background: linear-gradient(to bottom, transparent 10%, rgba(100, 0, 0, 0.9));
}

/* 2. Cinematic Films - Dark Blue/Navy */
.service-card:nth-child(2)::before {
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 100, 0.95));
}

.service-card:nth-child(2):hover::before {
    background: linear-gradient(to bottom, transparent 10%, rgba(0, 0, 100, 0.9));
}

/* 3. Pre-Wedding - Dark Pink/Rose */
.service-card:nth-child(3)::before {
    background: linear-gradient(to bottom, transparent 30%, rgba(100, 0, 50, 0.95));
}

.service-card:nth-child(3):hover::before {
    background: linear-gradient(to bottom, transparent 10%, rgba(100, 0, 50, 0.9));
}

/* 4. Event Coverage - Dark Purple */
.service-card:nth-child(4)::before {
    background: linear-gradient(to bottom, transparent 30%, rgba(80, 0, 100, 0.95));
}

.service-card:nth-child(4):hover::before {
    background: linear-gradient(to bottom, transparent 10%, rgba(80, 0, 100, 0.9));
}

/* 5. Live Telecast - Dark Teal */
.service-card:nth-child(5)::before {
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 80, 80, 0.95));
}

.service-card:nth-child(5):hover::before {
    background: linear-gradient(to bottom, transparent 10%, rgba(0, 80, 80, 0.9));
}

/* 6. Drone Videography - Dark Sky Blue */
.service-card:nth-child(6)::before {
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 50, 100, 0.95));
}

.service-card:nth-child(6):hover::before {
    background: linear-gradient(to bottom, transparent 10%, rgba(0, 50, 100, 0.9));
}

.service-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.service-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Gallery (Home) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Force height */
}

/* Grid Layout for Gallery */
.gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

.gallery-item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.gallery-item:nth-child(4) {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cat {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item {
        height: 300px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
}

/* CTA Band */
.cta-band {
    background: linear-gradient(rgba(11, 11, 11, 0.9), rgba(11, 11, 11, 0.9)), url('assets/img/banner-image.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
}

/* --- Inner Pages --- */

/* Page Hero */
.page-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/banner-image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    /* Offset for fixed nav */
}

.breadcrumb {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 10px;
    color: var(--color-gold);
}

.page-hero h1 {
    font-size: 3.5rem;
}

/* About Page Specifics */
.team-card {
    background-color: #1a1a1a;
    border: 1px solid #222;
    transition: var(--transition-fast);
}

.team-card:hover {
    border-color: var(--color-gold);
}

.team-img {
    height: 350px;
    background-color: #222;
    /* Placeholder styling handled by global helpers or inline images */
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-role {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #333;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--color-gold);
    border-radius: 50%;
    border: 4px solid var(--color-bg);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-year {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

/* Contact Page Specifics */
.quick-contact-card {
    background-color: #1a1a1a;
    padding: 30px;
    text-align: center;
    border: 1px solid #333;
    transition: var(--transition-fast);
}

.quick-contact-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

/* Contact Form */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--color-gold);
    outline: none;
}

.success-message {
    display: none;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid var(--color-whatsapp);
    color: #fff;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

/* Responsive specific */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: 20px 0;
    }
}

/* Service Rows */
.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 20px 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img-box {
    flex: 1;
    width: 100%;
    /* Fallback for flex */
    height: 400px;
    position: relative;
    border: 1px solid var(--color-gold);
    overflow: hidden;
}

.service-text-box {
    flex: 1;
}

.service-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.service-detail-title {
    margin-bottom: 20px;
    color: var(--color-gold);
}

.intro-banner {
    padding: 80px 0;
    background-color: #111;
    border-bottom: 1px solid #222;
}

@media (max-width: 900px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .service-img-box {
        width: 100%;
        height: 250px;
    }

    /* Mobile Gallery Height */
    .gallery-item {
        height: 250px !important;
    }

    /* About Page Image Mobile */
    .img-col div {
        height: 300px !important;
    }
}

/* Stats Grid (Global) */
.stats-strip {
    background-color: #111;
    padding: 60px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}