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

:root {
    --primary-color: #d4a574;
    --secondary-color: #2c2c2c;
    --text-color: #333;
    --light-bg: #f9f7f4;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* GDPR Banner */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none;
}

.gdpr-banner.show {
    display: block;
}

.gdpr-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gdpr-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
}

.gdpr-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gdpr-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 14px;
}

/* Navigation */
.navbar {
    background: transparent;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(44, 44, 44, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-menu a {
    color: var(--white);
}

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

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

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

.btn-book {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-book:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 20px;
}

.hero-title {
    font-size: 60px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.btn-hero {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-hero:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

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

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 18px;
    color: #666;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 24px;
}

.service-card p {
    padding: 0 20px 15px;
    color: #666;
}

.service-link {
    display: inline-block;
    padding: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    padding-left: 25px;
}

/* Why Choose Us */
.why-choose {
    padding: 80px 0;
}

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

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-icon i {
    color: var(--primary-color);
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #c49563);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.payment-section {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #444;
    margin-bottom: 40px;
}

.payment-section h4 {
    font-size: 14px;
    margin-bottom: 20px;
    color: #999;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.payment-logos .payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.9;
    transition: var(--transition);
}

.payment-logos .payment-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.payment-logos img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.payment-logos .payment-label {
    display: none;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Page Hero */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), #c49563);
    color: var(--white);
    text-align: center;
    padding: 180px 20px 100px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-hero p {
    font-size: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Services Detail Page */
.services-detail {
    padding: 80px 0;
}

.service-section {
    margin-bottom: 80px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.service-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin: 20px 0 30px;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

/* Spa Packages */
.spa-packages {
    margin-top: 80px;
    text-align: center;
}

.spa-packages h2 {
    font-size: 42px;
    margin-bottom: 50px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.package-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    transition: var(--transition);
}

.package-card.featured {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.package-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.package-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.package-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.package-card.featured .package-price {
    color: var(--white);
}

.package-card ul {
    list-style: none;
    margin: 20px 0 30px;
    text-align: left;
}

.package-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.package-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.package-card.featured ul li:before {
    color: var(--white);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

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

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

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

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.story-image img {
    border-radius: 10px;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.values-section {
    margin-bottom: 80px;
    text-align: center;
}

.values-section h2 {
    font-size: 42px;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.team-section {
    text-align: center;
}

.team-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.team-intro {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-color);
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-item h3 i {
    margin-right: 10px;
}

/* Forms */
.contact-form, .booking-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.map-section {
    margin-top: 60px;
    text-align: center;
}

.map-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    background: var(--light-bg);
    padding: 100px 20px;
    border-radius: 10px;
}

/* Booking Page */
.booking-section {
    padding: 80px 0;
}

.booking-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.booking-info {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.booking-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.booking-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.booking-info ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.booking-info ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.booking-contact {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid var(--primary-color);
}

/* Gallery Page */
.gallery-section {
    padding: 80px 0;
}

.gallery-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    margin: 5px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 20px;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 28px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.legal-text p, .legal-text ul {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-text ul {
    padding-left: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

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

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .service-content,
    .about-story,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .gdpr-content {
        flex-direction: column;
        text-align: center;
    }
}

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

    .page-hero h1 {
        font-size: 32px;
    }

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


/* Flatpickr Custom Styling */
.flatpickr-calendar {
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 10px;
    border: none;
}

.flatpickr-day.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.flatpickr-day.selected:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.flatpickr-day:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
}

.flatpickr-months .flatpickr-month {
    background: var(--primary-color);
    color: white;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--primary-color);
}

.flatpickr-weekdays {
    background: var(--light-bg);
}

.flatpickr-weekday {
    color: var(--secondary-color);
    font-weight: 600;
}


/* Booking Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

#booking-calendar {
    max-width: 100%;
}

.flatpickr-calendar.inline {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
}

/* Time Slots Styles */
.time-slots-container {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.time-slots-container h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.selected-date-display {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 16px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.time-slot {
    background: white;
    border: 2px solid #ddd;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 15px;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: var(--light-bg);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.time-slot.booked {
    background: #f0f0f0;
    border-color: #ccc;
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot.booked:hover {
    transform: none;
    background: #f0f0f0;
    border-color: #ccc;
}

/* Responsive Time Slots */
@media (max-width: 768px) {
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .time-slot {
        padding: 10px 15px;
        font-size: 14px;
    }
}
