:root {
    --bg-primary: #141210;
    --bg-secondary: #1F1C18;
    --text-primary: #F7F4EB;
    --text-muted: #A3A09A;
    --gold: #C4A77D;
    --gold-hover: #D8B98C;
    --accent: #5e4e3b;
    --nav-height: 80px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.mt-2 { margin-top: 2rem; }

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background-color: var(--gold);
    color: var(--bg-primary);
}

.cta-button.primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.cta-button.secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.cta-button.outline:hover {
    background-color: var(--gold);
    color: var(--bg-primary);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Luxury Loader */
.loader-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-text {
    color: var(--gold);
    font-size: 2rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    opacity: 0;
}

.loader-progress {
    width: 200px;
    height: 2px;
    background-color: rgba(196, 167, 125, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-progress::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%; width: 0%;
    background-color: var(--gold);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0; width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: rgba(20, 18, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(247, 244, 235, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    color: var(--gold);
    line-height: 1.2;
}

.logo-en { font-size: 1.5rem; letter-spacing: 1px; }
.logo-hi { font-size: 0.8rem; font-family: sans-serif; color: var(--text-muted); }

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

.desktop-nav a:hover { color: var(--gold); }

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after { width: 100%; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s;
}

/* Mobile Nav Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 999;
}

.mobile-nav-panel.active { transform: translateY(0); }

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s, color 0.3s;
}

.mobile-link:hover { color: var(--gold); }

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%; /* for parallax */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(20,18,16,0.5) 0%, rgba(20,18,16,0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Portfolio Filter */
.filter-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(247, 244, 235, 0.2);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 4px;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover img { transform: scale(1.05); }

.card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(20,18,16,0.9) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.style-badge {
    background: var(--gold);
    color: var(--bg-primary);
    font-size: 0.7rem;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.card-overlay h3 { font-size: 1.4rem; margin-bottom: 5px; }
.card-overlay p { font-size: 0.9rem; color: var(--text-muted); }

/* Films Grid */
.films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.film-card { cursor: pointer; }

.film-thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.film-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.film-card:hover .film-thumb img { transform: scale(1.03); }

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(20,18,16,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.film-card:hover .play-overlay { background: rgba(20,18,16,0.2); }

.play-btn {
    width: 60px; height: 60px;
    background: rgba(247, 244, 235, 0.9);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    padding-left: 5px;
    transition: transform 0.3s;
}

.film-card:hover .play-btn { transform: scale(1.1); }

.film-info h3 { font-size: 1.5rem; margin-bottom: 5px; }
.film-info p { color: var(--text-muted); }

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
}

.package-card {
    background-color: var(--bg-secondary);
    padding: 50px 40px;
    border-radius: 8px;
    border: 1px solid rgba(247, 244, 235, 0.05);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover { transform: translateY(-10px); }

.package-card.highlighted {
    background-color: #24211D;
    border-color: var(--gold);
    transform: scale(1.05);
    z-index: 1;
}

.package-card.highlighted:hover { transform: scale(1.05) translateY(-5px); }

.recommended-badge {
    position: absolute;
    top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--bg-primary);
    padding: 5px 15px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
}

.package-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.package-card .price { font-size: 1.2rem; color: var(--gold); margin-bottom: 30px; }

.package-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 0; color: var(--gold);
}

/* Estimator Widget */
.widget-container { max-width: 1000px; }

.widget-header { text-align: center; margin-bottom: 40px; }
.widget-header h2 { font-size: 2.2rem; color: var(--gold); margin-bottom: 10px; }

.estimator-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(247, 244, 235, 0.05);
}

.form-group { margin-bottom: 30px; }
.form-group label {
    display: block; font-family: var(--font-heading);
    font-size: 1.2rem; margin-bottom: 15px; color: var(--text-primary);
}

.est-select {
    width: 100%; padding: 15px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid rgba(247, 244, 235, 0.1);
    border-radius: 6px;
    font-family: var(--font-body); font-size: 1rem;
    outline: none;
}

.button-group { display: flex; gap: 10px; flex-wrap: wrap; }
.toggle-btn {
    flex: 1; min-width: 100px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid rgba(247, 244, 235, 0.1);
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-container {
    display: block; position: relative;
    padding-left: 35px; margin-bottom: 12px;
    cursor: pointer; font-size: 1rem;
    color: var(--text-muted);
    user-select: none;
}

.checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
    position: absolute; top: 0; left: 0;
    height: 22px; width: 22px;
    background-color: var(--bg-secondary);
    border: 1px solid rgba(247, 244, 235, 0.2);
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark { border-color: var(--gold); }
.checkbox-container input:checked ~ .checkmark { background-color: var(--gold); border-color: var(--gold); }
.checkmark:after { content: ""; position: absolute; display: none; }
.checkbox-container input:checked ~ .checkmark:after { display: block; }
.checkbox-container .checkmark:after {
    left: 7px; top: 3px;
    width: 5px; height: 10px;
    border: solid var(--bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.estimator-result {
    display: flex; flex-direction: column; gap: 20px;
}

.result-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--gold);
}

.result-card h3 { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 15px; }

.price-output {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: var(--gold);
    margin-bottom: 25px;
    display: flex; justify-content: center; align-items: baseline;
}

.price-output .currency, .price-output .dash { font-size: 1.5rem; }
.price-output .dash { margin: 0 10px; color: var(--text-muted); }

.result-summary { text-align: left; margin-bottom: 30px; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 8px;}
.result-summary strong { display: block; margin-bottom: 10px; color: var(--text-primary); }
.result-summary ul { color: var(--text-muted); font-size: 0.9rem; margin-left: 20px; list-style-type: disc;}
.result-summary li { margin-bottom: 5px; }

.trust-line { font-size: 0.85rem; color: var(--text-muted); text-align: center; font-style: italic; }

/* Testimonials */
.slider-container { position: relative; max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial-slider { overflow: hidden; position: relative; min-height: 250px; }

.testimonial-slide {
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active { opacity: 1; transform: translateX(0); pointer-events: all; }

.quote { font-size: 1.8rem; font-family: var(--font-heading); font-style: italic; margin-bottom: 30px; color: var(--text-primary); }
.client-info h4 { font-size: 1.2rem; margin-bottom: 5px; }
.stars { color: var(--gold); display: inline-block; margin-bottom: 5px; }
.rating-overall { font-size: 1.2rem; font-family: var(--font-heading); color: var(--text-muted); }

.slider-controls { display: flex; justify-content: center; gap: 20px; margin-top: 30px; }
.slider-btn {
    background: transparent; border: 1px solid rgba(247,244,235,0.2);
    color: var(--text-primary); width: 50px; height: 50px;
    border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: all 0.3s;
}
.slider-btn:hover { background: var(--text-primary); color: var(--bg-primary); }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 8px; object-fit: cover; aspect-ratio: 4/5; }
.about-content h2 { font-size: 2.8rem; color: var(--gold); margin-bottom: 25px; }
.about-content p { margin-bottom: 20px; font-size: 1.1rem; color: var(--text-muted); }

/* Contact & Footer */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-details h2 { font-size: 2.5rem; margin-bottom: 30px; color: var(--gold); }
.detail-item { margin-bottom: 25px; }
.detail-item strong { display: block; color: var(--text-primary); margin-bottom: 5px; font-family: var(--font-heading); font-size: 1.1rem;}
.detail-item p { color: var(--text-muted); }
.copyable { cursor: pointer; position: relative; }
.copyable:hover::after {
    content: 'Click to copy';
    position: absolute; top: -25px; left: 0; background: var(--bg-primary); padding: 2px 8px;
    font-size: 0.8rem; border-radius: 4px; color: var(--text-primary); border: 1px solid var(--gold);
}

.map-container { position: relative; min-height: 400px; border-radius: 8px; overflow: hidden; filter: grayscale(80%) invert(90%) contrast(1.2); transition: filter 0.3s;}
.map-container:hover { filter: grayscale(50%) invert(90%); }

.main-footer { background-color: #0A0908; padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-muted); margin: 15px 0 25px; }
.social-links { display: flex; gap: 15px; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); display: flex; justify-content: center; align-items: center; border-radius: 50%; font-size: 0.9rem; transition: background 0.3s;}
.social-links a:hover { background: var(--gold); color: var(--bg-primary); }

.footer-links h3, .footer-contact h3 { font-family: var(--font-heading); color: var(--text-primary); margin-bottom: 20px; font-size: 1.2rem;}
.footer-links p, .footer-contact p { color: var(--text-muted); margin-bottom: 12px; }
.footer-contact a { display: inline-block; margin-top: 10px; color: var(--gold); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;}
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .estimator-layout { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .package-card.highlighted { transform: none; }
    .package-card.highlighted:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger-menu { display: flex; }
    .hero-content h1 { font-size: 3rem; }
    .films-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .button-group { flex-direction: column; }
    .price-output { font-size: 1.8rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
}
