/* ============================================
   AMALFI COAST FILM - Luxury Wedding Videography
   Modern Dark Luxury Theme
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --text-primary: #f5f0eb;
    --text-secondary: #a09888;
    --text-muted: #6b6158;
    --gold: #c9a96e;
    --gold-light: #d4b97a;
    --gold-dark: #a88a50;
    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* --- Custom Cursor --- */
.cursor, .cursor-follower { position: fixed; border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); }
.cursor { width: 8px; height: 8px; background: var(--gold); transition: transform 0.1s; }
.cursor-follower { width: 36px; height: 36px; border: 1px solid var(--gold); opacity: 0.4; transition: transform 0.3s ease, opacity 0.3s; }
@media (hover: none) { .cursor, .cursor-follower { display: none; } }

/* --- Preloader --- */
.preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg-primary);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
    font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.3em;
    color: var(--gold); margin-bottom: 2rem;
}
.preloader-bar { width: 200px; height: 2px; background: rgba(201,169,110,0.15); border-radius: 2px; overflow: hidden; }
.preloader-fill { width: 0; height: 100%; background: var(--gold); animation: preloaderFill 1.8s ease-in-out forwards; }
@keyframes preloaderFill { to { width: 100%; } }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 40px;
    background: transparent;
    transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
    background: rgba(10,10,10,0.92); backdrop-filter: blur(20px);
    padding: 14px 40px;
}
.nav-logo img { height: 44px; transition: height var(--transition); }
.navbar.scrolled .nav-logo img { height: 36px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    font-size: 0.85rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-primary); position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background: var(--gold); transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: transparent !important; border: 1px solid var(--gold) !important;
    padding: 8px 20px !important; border-radius: 2px; color: var(--gold) !important;
    transition: all var(--transition) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--bg-primary) !important; }

/* Hamburger */
.hamburger { display: none; cursor: pointer; width: 28px; height: 20px; position: relative; z-index: 1001; }
.hamburger span {
    display: block; width: 100%; height: 1.5px; background: var(--text-primary);
    position: absolute; left: 0; transition: all 0.35s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(10,10,10,0.97); backdrop-filter: blur(30px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: all 0.5s;
}
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav a {
    font-family: var(--font-display); font-size: 1.8rem; color: var(--text-primary);
    letter-spacing: 0.05em; transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

/* --- Hero --- */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px; }
.hero-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,169,110,0.3);
    padding: 8px 24px; margin-bottom: 28px;
}
.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 500;
    line-height: 1.15; margin-bottom: 20px; color: var(--white);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
    font-size: 1.05rem; color: var(--text-secondary); font-weight: 300;
    max-width: 560px; margin: 0 auto 36px; letter-spacing: 0.02em;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 14px 32px; border: none; cursor: pointer; transition: all var(--transition);
}
.btn-primary { background: var(--gold); color: var(--bg-primary); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; justify-content: center; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--text-secondary); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.scroll-mouse {
    width: 22px; height: 36px; border: 1.5px solid var(--text-secondary); border-radius: 12px;
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
    width: 3px; height: 8px; background: var(--gold); border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: 0.3; transform: translateY(10px); } }

/* --- Sections --- */
.section { padding: 120px 0; }
.dark-section { background: var(--bg-secondary); }

.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500;
    line-height: 1.2; margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc { color: var(--text-secondary); max-width: 560px; margin: 0 auto; font-weight: 300; }
.section-header { text-align: center; margin-bottom: 64px; }

.gold-line { width: 60px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.gold-line.center { margin-left: auto; margin-right: auto; }

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: 4px; overflow: hidden; }
.about-img-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-img-accent {
    position: absolute; bottom: -40px; right: -40px; width: 55%; border-radius: 4px;
    overflow: hidden; border: 4px solid var(--bg-primary); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.about-img-accent img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
    position: absolute; top: 20px; right: -20px; width: 100px; height: 100px;
    background: var(--gold); border-radius: 50%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(201,169,110,0.4);
}
.badge-number { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--bg-primary); line-height: 1; }
.badge-text { font-size: 0.6rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bg-primary); text-align: center; line-height: 1.3; }
.about-text p { color: var(--text-secondary); margin-bottom: 18px; font-weight: 300; }

.about-stats { display: flex; gap: 40px; margin-top: 36px; }
.stat-item { text-align: center; }
.stat-item i { color: var(--gold); font-size: 1.2rem; margin-bottom: 8px; display: block; }
.stat-number { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--white); }
.stat-label { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

/* --- Portfolio --- */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.portfolio-item {
    background: var(--bg-card); border-radius: 4px; overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.portfolio-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.portfolio-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.portfolio-info { padding: 20px 24px; }
.portfolio-tag { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }
.portfolio-info h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 6px 0 4px; }
.portfolio-info p { font-size: 0.85rem; color: var(--text-muted); }

/* --- Gallery --- */
.gallery-masonry {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    grid-auto-rows: 280px;
}
.gallery-item {
    position: relative; border-radius: 4px; overflow: hidden; cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(10,10,10,0.5); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
}
.gallery-overlay i { color: var(--white); font-size: 1.4rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- Lightbox --- */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: none; border: none; color: var(--white); font-size: 1.4rem;
    cursor: pointer; padding: 16px; transition: color var(--transition); z-index: 2;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--gold); }

/* --- Parallax --- */
.parallax-section {
    position: relative; height: 50vh; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.parallax-bg {
    position: absolute; inset: -20%; width: 140%; height: 140%;
    background-size: cover; background-position: center; background-attachment: fixed;
}
.parallax-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.75); }
.parallax-content { position: relative; z-index: 2; text-align: center; max-width: 700px; padding: 0 24px; }
.quote-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 24px; display: block; }
.parallax-content blockquote {
    font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic; font-weight: 400; line-height: 1.6; color: var(--text-primary);
    margin-bottom: 16px;
}
.parallax-content cite { font-size: 0.85rem; color: var(--gold); font-style: normal; letter-spacing: 0.08em; }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--bg-card); border-radius: 4px; padding: 40px 32px; position: relative;
    border: 1px solid transparent; transition: all var(--transition);
}
.service-card:hover { border-color: rgba(201,169,110,0.2); transform: translateY(-4px); }
.service-card.featured { border-color: var(--gold); }
.service-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--bg-primary); padding: 4px 16px;
    font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px;
}
.service-icon { font-size: 2rem; color: var(--gold); margin-bottom: 20px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; font-weight: 300; margin-bottom: 20px; }
.service-features { list-style: none; }
.service-features li {
    display: flex; align-items: center; gap: 10px; padding: 6px 0;
    font-size: 0.85rem; color: var(--text-secondary);
}
.service-features i { color: var(--gold); font-size: 0.75rem; }

/* --- Reviews --- */
.reviews-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card {
    background: var(--bg-card); border-radius: 4px; padding: 36px 28px;
    border: 1px solid rgba(255,255,255,0.04); transition: all var(--transition);
}
.review-card:hover { border-color: rgba(201,169,110,0.15); }
.review-stars { margin-bottom: 16px; }
.review-stars i { color: var(--gold); font-size: 0.85rem; margin-right: 2px; }
.review-text {
    font-size: 0.95rem; color: var(--text-secondary); font-style: italic;
    font-weight: 300; line-height: 1.7; margin-bottom: 20px;
}
.review-author strong { display: block; color: var(--text-primary); font-size: 0.9rem; }
.review-author span { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.contact-item {
    display: flex; align-items: center; gap: 14px;
    font-size: 0.9rem; color: var(--text-secondary);
}
.contact-item i { color: var(--gold); font-size: 1rem; width: 20px; text-align: center; }
.contact-item a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group input, .form-group textarea {
    width: 100%; background: var(--bg-secondary); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px; padding: 14px 18px; color: var(--text-primary);
    font-family: var(--font-body); font-size: 0.9rem; transition: border-color var(--transition);
    outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-status { font-size: 0.85rem; margin-top: 8px; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* --- Footer --- */
.footer { background: var(--bg-secondary); padding: 60px 0 0; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 40px; }
.footer-logo { height: 36px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; font-weight: 300; }
.footer-links h4, .footer-social h4 {
    font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 16px; color: var(--text-primary);
}
.footer-links a {
    display: block; font-size: 0.85rem; color: var(--text-secondary); padding: 4px 0;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.social-icons { display: flex; gap: 16px; }
.social-icons a {
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    color: var(--text-secondary); transition: all var(--transition);
}
.social-icons a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04); padding: 20px 0; text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }

/* --- Animations --- */
.reveal-up, .reveal-left, .reveal-scale {
    opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-scale { transform: scale(0.92); }
.reveal-up.visible, .reveal-left.visible, .reveal-scale.visible {
    opacity: 1; transform: none;
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.15s; }
.stagger-3 { transition-delay: 0.25s; }
.stagger-4 { transition-delay: 0.35s; }
.stagger-5 { transition-delay: 0.45s; }
.stagger-6 { transition-delay: 0.55s; }
.stagger-7 { transition-delay: 0.65s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-images { max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .reviews-slider { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .navbar { padding: 16px 20px; }
    .section { padding: 80px 0; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
    .gallery-item.tall { grid-row: span 2; }
    .services-grid { grid-template-columns: 1fr; }
    .reviews-slider { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-img-accent { right: -10px; bottom: -20px; }
    .about-badge { right: auto; left: -10px; top: -10px; width: 80px; height: 80px; }
    .badge-number { font-size: 1.2rem; }
    .about-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
    .hero-tag { font-size: 0.65rem; padding: 6px 16px; }
    .parallax-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
    .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .gallery-item.tall { grid-row: span 1; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
}
