/* ==========================================
   CSS RESET & GLOBAL STYLES
   ========================================== */

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

:root {
    /* Color Palette - Warm, sophisticated bar theme */
    --primary-gold: #d4af37;
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --accent-brown: #8b4513;
    --text-light: #f5f5f5;
    --text-muted: #b8b8b8;
    --overlay-dark: rgba(26, 26, 26, 0.85);
    --overlay-light: rgba(0, 0, 0, 0.3);

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

    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 0 auto;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--primary-gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta:hover {
    background-color: #f0c458;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--primary-gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: var(--section-padding);
    background-color: var(--secondary-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: var(--primary-dark);
    border-radius: 10px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   LOCATION SECTION
   ========================================== */

.location {
    padding: var(--section-padding);
    background-color: var(--primary-dark);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--secondary-dark);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    gap: 20px;
}

.info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.info-details {
    flex: 1;
}

.info-title {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.info-text {
    color: var(--text-muted);
    line-height: 1.8;
}

.location-map {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    padding: var(--section-padding);
    background-color: var(--secondary-dark);
}

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

.contact-card {
    background-color: var(--primary-dark);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
    position: relative;
}

.contact-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.contact-card-link .contact-link {
    transition: var(--transition-smooth);
}

.contact-card-link:hover .contact-link {
    color: var(--primary-gold);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 10px;
}

.contact-link {
    color: var(--text-light);
    transition: var(--transition-smooth);
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--secondary-dark);
    border-radius: 50%;
    transition: var(--transition-smooth);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-link:hover {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--primary-gold);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--primary-dark);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0;
}

/* ==========================================
   WHATSAPP FLOAT BUTTON
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

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

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 30px;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Sections */
    :root {
        --section-padding: 60px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    /* Location */
    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map {
        height: 300px;
    }

    /* About */
    .about-features {
        gap: 30px;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .feature, .contact-card, .info-card {
        padding: 25px 20px;
    }
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-cta,
    .scroll-indicator,
    .social-links {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }
}