@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-gold: #d4af37;
    --primary-gold-hover: #b5952f;
    --bg-cream: #fbfaf8;
    --bg-beige: #f0eadd;
    --text-dark: #2c3539;
    --text-muted: #5a666b;
    --text-light: #ffffff;
    --top-bar-bg: #8B1A8B; /* Magenta/Purple as seen in screenshot */
    --top-bar-text: #ffffff;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 90px; /* Offset for fixed headers */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 4px;
}
.btn-primary { background-color: var(--primary-gold); color: var(--text-light); }
.btn-primary:hover { background-color: var(--primary-gold-hover); transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--primary-gold); border: 1px solid var(--primary-gold); }
.btn-outline:hover { background-color: var(--primary-gold); color: var(--text-light); }

/* --- HEADER --- */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Top Bar */
.top-bar {
    background-color: var(--top-bar-bg);
    color: var(--top-bar-text);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left { display: flex; gap: 20px; }
.top-bar-left a:hover { opacity: 0.8; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-right i { margin-right: 5px; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { font-size: 1.1rem; }

/* Main Navigation */
.main-nav {
    background: #ffffff;
    padding: 15px 0;
    transition: var(--transition-fast);
}
.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--top-bar-bg);
}
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333; /* Dark for better readability */
    font-family: var(--font-heading);
    letter-spacing: 0.8px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFC107;
    transition: width 0.3s ease;
}
.nav-links a:hover {
    color: #FFC107;
}
.nav-links a:hover::after, .nav-links a.active-link::after {
    width: 100%;
}
.nav-links a.active-link {
    color: #FFC107;
}

/* Language Flags */
.lang-flags {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-left: 15px;
    border-left: 1px solid #eee;
}
.lang-flags img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #fff;
    transition: var(--transition-fast);
}
@media (max-width: 480px) {
    .lang-flags { gap: 8px; padding-left: 10px; }
    .lang-flags img { width: 18px; height: 18px; }
    .logo-container img { max-height: 50px !important; }
}
.lang-flags img:hover { transform: scale(1.15); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.lang-flags img.active { border: 2px solid #FFC107; }

/* --- HOMEPAGE SLIDER --- */
.main-slider {
    position: relative;
    width: 100%;
    height: 70vh; /* Fixed height relative to viewport */
    min-height: 400px;
    overflow: hidden;
    background-color: #000;
}
.main-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}
.main-slider .slide.active {
    opacity: 1;
    z-index: 2;
}
.main-slider .slide img,
.main-slider .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
@media (max-width: 768px) {
    .main-slider { 
        height: 50vh;
        min-height: 300px;
    }
}

/* Sections */
.section { padding: 80px 0; }
.section-bg-alt { background-color: var(--bg-beige); }
.section-title { font-size: 2.5rem; margin-bottom: 20px; text-align: center; }

/* About Section Flex */
.about-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}
.about-flex > div {
    flex: 1;
    min-width: 300px;
}
.image-placeholder {
    width: 100%;
    height: 400px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-wrapper {
    position: relative;
}
.image-accent {
    background: var(--bg-beige);
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    z-index: -1;
    border-radius: 8px;
}

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.service-img-wrapper { height: 250px; overflow: hidden; }
.service-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.service-content { padding: 30px; }

/* Price Tables */
.price-table-container {
    margin-bottom: 50px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* Remove scrollbar */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.price-table-header {
    background: linear-gradient(135deg, #222, #444);
    color: #fff;
    padding: 18px 25px;
    border-bottom: 3px solid var(--primary-gold);
}
.price-table-header h3 {
    margin: 0;
    color: var(--primary-gold);
    font-size: 1rem;
    letter-spacing: 1.5px;
    font-weight: 700;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
}
.price-table th {
    background: #fafafa;
    padding: 15px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    border-bottom: 1px solid #eee;
}
.price-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #f9f9f9;
    font-size: 0.95rem;
    color: #333;
}
.price-table tr:hover { background: #fffdf5; }
.price-table tr:last-child td { border-bottom: none; }

.price-table td:nth-child(2) { font-weight: 500; color: #666; }
.price-table td:nth-child(3) { font-weight: 700; color: var(--primary-gold); font-size: 1rem; }

@media (max-width: 768px) {
    .price-table, .price-table thead, .price-table tbody, .price-table th, .price-table td, .price-table tr {
        display: block;
    }
    .price-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .price-table tr {
        border-bottom: 2px solid #f0f0f0;
        padding: 15px 0;
    }
    .price-table td {
        border: none;
        position: relative;
        padding-left: 45%;
        text-align: right !important;
        white-space: normal;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .price-table td:before {
        position: absolute;
        left: 20px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: #888;
        content: attr(data-label);
        font-size: 0.75rem;
        text-transform: uppercase;
    }
    .price-table td:nth-child(3) {
        border-bottom: none;
        color: var(--primary-gold);
    }
}
.price-table td:nth-child(2), .price-table td:nth-child(3) { text-align: center; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.form-control { 
    width: 100%; 
    padding: 12px 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    font-family: var(--font-body); 
    transition: all 0.3s ease;
    background: #fcfcfc;
}
.form-control:focus {
    border-color: var(--primary-gold);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* Mobile Optimization Tweaks */
@media (max-width: 480px) {
    .logo-container img { max-height: 45px !important; }
    .main-nav .container { padding: 0 10px; }
}

/* Footer */
.footer { background: #1a1a1a; color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: var(--primary-gold); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #333; color: #aaa; font-size: 0.9rem; }

/* Floating Actions */
.floating-whatsapp { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); z-index: 1000; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
    margin-left: 20px;
}
.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 992px) {
    .mobile-menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1050;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }

    .top-bar-left { display: none; }
    .main-slider { height: 50vh; min-height: 300px; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .lang-flags { border-left: none; padding-left: 0; }
}
/* --- RESERVATION FORM IMPROVEMENTS --- */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 10px;
}
.time-slot {
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.time-slot:hover {
    background: #eee;
    border-color: #bbb;
}
.time-slot.selected {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}
.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.form-group {
    margin-bottom: 25px;
}

/* --- GALLERY LIGHTBOX --- */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-5px);
}
.gallery-item img {
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 60px 40px; /* More padding for arrows */
}

.modal-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain; /* Don't crop, show the whole image */
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    user-select: none;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}
.close-modal:hover { color: var(--primary-gold); }

.prev-btn, .next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.4s ease;
    border-radius: 50%;
    user-select: none;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}
.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-gold);
    color: #000;
}
.prev-btn { left: 30px; }
.next-btn { right: 30px; }

@media (max-width: 768px) {
    .modal-content { padding: 20px; }
    .prev-btn, .next-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        background: rgba(0,0,0,0.5);
    }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}
