@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-380px * 7)); /* width + gap */ }
}

.marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track {
    display: flex;
    gap: 30px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    width: 350px;
    height: 250px;
    white-space: normal;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

:root {
    --primary-color: #d4af37; /* Classic Gold */
    --primary-glow: rgba(212, 175, 55, 0.3);
    --bg-light: #fffaf4; /* Warm luxury white */
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-main: #2c3e50; /* Dark slate */
    --text-muted: #596a7b; /* Softer slate */
    --glass-border: rgba(255, 255, 255, 1);
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Glassmorphism */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b76e79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo img {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--primary-glow);
    background: #c5a02e;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Sections */
section {
    padding: 60px 5%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1.05);
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 250, 240, 0.7), rgba(255, 250, 240, 0.9));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

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

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

/* Background elements */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    z-index: 1;
}
.circle-1 { top: -20%; left: -10%; width: 700px; height: 700px; }
.circle-2 { bottom: -20%; right: -10%; width: 900px; height: 900px; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Cards */
.card {
    padding: 40px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

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

/* Footer */
footer {
    padding: 50px 5%;
    text-align: center;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    cursor: grab;
}
.carousel-track:active {
    cursor: grabbing;
}
.carousel-item {
    min-width: calc(25% - 15px);
    flex-shrink: 0;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--text-main);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Menu Toggle Icon */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    position: relative; /* Ensure z-index works */
    z-index: 1001; /* Keep above mobile menu */
    transition: color 0.3s ease;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.logo {
    position: relative;
    z-index: 1001; /* Keep above mobile menu */
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    section { padding: 50px 4%; }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-toggle { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        right: 5%;
        width: 250px;
        height: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 20px;
        border-radius: 15px;
        gap: 15px;
        
        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 1px solid var(--glass-border);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        padding: 5px 0;
    }

    .logo span {
        font-size: 1.2rem !important;
    }
    
    .logo img {
        height: 50px !important;
        margin-right: 10px !important;
    }

    /* Layout Adjustments */
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    section { padding: 40px 5%; }
    
    /* Contact Page Adjustments */
    .contact-section { padding: 40px 5% !important; }
    .contact-glass { padding: 30px !important; border-radius: 20px !important; }
    .contact-grid { gap: 40px !important; }

    /* Carousel / Cards */
    .carousel-item { min-width: 280px; }
    .card { padding: 30px 20px; }
    
    /* Background Elements */
    .bg-circle { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .logo span { font-size: 1rem !important; }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
}

/* Testimonials Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    white-space: nowrap;
}
.marquee-content {
    display: inline-flex;
    gap: 30px;
    animation: marquee 20s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
.marquee-content .card {
    min-width: 350px;
    white-space: normal;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Base styles for Contact Page classes */
.contact-section { padding: 80px 20px; }
.contact-glass { padding: 80px; }
.contact-grid { gap: 100px; }

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: floatWa 3s ease-in-out infinite;
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

@keyframes floatWa {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
