:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --text-primary: #E0E0E0;
    --text-secondary: #A0A0A0;
    --gold-primary: #D4AF37;
    --gold-secondary: #AA8C2C;
    --red-accent: #8B0000;
    --blue-deep: #0B1E33;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn-gold {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-secondary), var(--gold-primary));
    color: var(--bg-dark);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--gold-primary);
}

.btn-gold:hover {
    background: linear-gradient(45deg, var(--gold-primary), #FDD017);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold-primary);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--red-accent);
    margin: 0 auto;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    height: 50px;
}

#main-nav ul {
    display: flex;
    gap: 2rem;
}

#main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-accent);
    transition: var(--transition);
}

#main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
}

#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

#mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../assets/hero-bg.jpg') no-repeat center center/cover;
    /* Placeholder bg */
    background-color: var(--bg-dark);
    /* Fallback */
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 30, 51, 0.6), var(--bg-dark));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-logo {
    height: 200px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
#about {
    padding: var(--spacing-lg) 0;
    background: var(--bg-dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Carousel */
.carousel-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: #222;
    aspect-ratio: 16/9;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    background: #1a1a1a;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--gold-primary);
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #FFF;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold-primary);
}

/* Portfolio Section */
#portfolio {
    padding: var(--spacing-lg) 0;
    background: var(--bg-card);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    height: 300px;
    background: #222;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--gold-primary);
    transform: scale(1.02);
}

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

/* Contact Section */
#contact {
    padding: var(--spacing-lg) 0;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: var(--text-secondary);
    border: 1px solid #333;
}

/* Footer */
footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Mobile Menu Overlay */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu-overlay ul {
    text-align: center;
}

#mobile-menu-overlay li {
    margin: 2rem 0;
}

#mobile-menu-overlay a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold-primary);
}

/* Responsive */
@media (max-width: 768px) {

    #main-nav,
    .nav-cta {
        display: none;
    }

    #mobile-menu-btn {
        display: block;
    }

    #hero h1 {
        font-size: 2rem;
    }

    .hero-logo {
        height: 150px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

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

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--gold-primary);
    transform: translateY(-3px);
}

.social-links svg {
    width: 28px;
    height: 28px;
}

/* --- Phase 2 Additions --- */

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials */
#testimonials {
    padding: var(--spacing-lg) 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--gold-primary);
    opacity: 0.2;
    font-family: var(--font-heading);
}

.quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.name {
    font-weight: 700;
    color: var(--gold-secondary);
}

.stars {
    color: var(--gold-primary);
}

/* FAQ */
#faq {
    padding: var(--spacing-lg) 0;
    background: var(--bg-card);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-right: 2rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--gold-primary);
    text-decoration: none;
    cursor: pointer;
}