:root {
    /* Color Palette - Premium & Elegant */
    --primary-color: #c5a059;
    /* Classic Luxury Gold */
    --primary-light: #e6c786;
    /* Lighter Champagne Gold */
    --primary-dark: #a07e3a;
    /* Darker Antique Gold */

    /* Gradients for a richer feel */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --primary-gradient-hover: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);

    --secondary-color: #0f172a;
    /* Deep Navy/Black */
    --secondary-light: #1e293b;
    /* Lighter Navy */

    /* Text Colors */
    --text-dark: #1e293b;
    --text-light: #ffffff;
    --text-muted: #64748b;
    --text-gold: #c5a059;

    /* Backgrounds */
    --bg-light: #fdfbf7;
    /* Very subtle warm white */
    --bg-white: #ffffff;
    --bg-dark: #0f172a;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Effects and Spacing */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 30px 60px rgba(197, 160, 89, 0.15);
    /* Gold-tinted shadow for hover */
}

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

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.divider {
    display: none;
    /* Replaced with pseudo-element */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-gradient);
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.btn:hover {
    background: var(--primary-gradient-hover);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4);
}

.btn-gold {
    background: var(--primary-gradient);
    border: none;
    color: white;
}

.btn-gold:hover {
    background: var(--primary-gradient-hover);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-text {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--secondary-color);
    /* Deep Navy */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make logo white if it's dark text */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary-gradient);
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.nav-btn {
    padding: 10px 25px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 2px;
    border: none;
    margin-left: 10px;
}

.nav-link.nav-btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.nav-link.nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.nav-link.nav-btn::after {
    display: none;
}

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

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: white;
    /* White for dark navbar */
    transition: var(--transition);
}

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

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease;
    transform: scale(1.05);
    /* Slight zoom start */
}

.slide.active {
    opacity: 1;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Padding */
.section {
    padding: 120px 0;
}

/* Services */
.services {
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.card {
    background: white;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 380px;
    /* Taller images for luxury feel */
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
    opacity: 0.6;
    transition: var(--transition);
}

.card:hover .card-image::after {
    opacity: 0.3;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.card-content {
    padding: 40px;
    background: #fff;
    text-align: center;
    border-bottom: 2px solid transparent;
    /* Prepare for gold underline */
    transition: var(--transition);
}

.card:hover .card-content {
    border-bottom-color: var(--primary-color);
}

.card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.card-content .btn-text {
    margin: 0 auto;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    /* Deep Navy background */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-modal.show {
    opacity: 1;
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    padding: 20px;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    z-index: 2005;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.main-image-container {
    position: relative;
    width: 90%;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease;
}

#gallery-image.loaded {
    opacity: 1;
}

.nav-btn {
    position: absolute;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.thumbnails-container {
    height: 15vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnails {
    display: flex;
    gap: 15px;
    padding: 10px;
}

.thumbnail-img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.3;
    transition: var(--transition);
    border-radius: 2px;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    opacity: 1;
    transform: scale(1.1);
}

/* About */
.about {
    background-color: var(--bg-light);
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    box-shadow: var(--shadow-soft);
    border-radius: 2px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
    z-index: 0;
}

.about-text h2 {
    margin-bottom: 2rem;
    font-size: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-text strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Contact */
.contact {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 140px 0;
}

.contact .section-header h2 {
    color: var(--text-light);
}

.contact .section-header h2::after {
    background-color: var(--primary-color);
}

.contact-cta {
    margin-bottom: 80px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.info-item h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.info-item p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #0b1120;
    color: #64748b;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #1e293b;
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: calc(100vh - 80px);
        /* Full height */
        text-align: center;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 40px 0;
        gap: 20px;
        box-shadow: none;
    }

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

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        text-align: center;
        margin-bottom: 30px;
    }

    .main-image-container {
        height: 50vh;
        width: 100%;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        background: rgba(0, 0, 0, 0.5);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animation Classes */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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