/* -------------------
   TABLE OF CONTENTS
----------------------
1.  Global & Root Variables
2.  Utility Classes
3.  Header & Navigation
4.  Hero Section
5.  Page Header (for sub-pages)
6.  General Section Styling
7.  Service Cards
8.  Special Offer Section
9.  About, Team & Price List Sections
10. Footer
11. Responsive Design (Media Queries)
----------------------*/

/* 1. Global & Root Variables */
:root {
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    --color-primary: #c9a96b; /* Gold */
    --color-dark: #1a1a1a;
    --color-light: #f4f4f4;
    --color-gray: #666;
    --color-white: #ffffff;

    --spacing-unit: 1rem;
}

/* Dark Mode Variables */
body.dark-mode {
    --color-dark: #f4f4f4;
    --color-light: #252525;
    --color-gray: #b0b0b0;
    --color-white: #121212;
}

/* Dark Mode Specific Overrides */
body.dark-mode .header {
    box-shadow: 0 2px 10px rgba(255,255,255,0.05);
}

body.dark-mode .footer {
    background-color: #000000;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--color-dark);
    margin-left: var(--spacing-unit);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 15px; /* Base font size for rem units. Default is 16px. */
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    background-color: var(--color-white);
    color: var(--color-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

h1, h2, h3 {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: var(--spacing-unit);
    color: var(--color-gray);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-dark);
}

ul {
    list-style: none;
}

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

/* 2. Utility Classes */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 22px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

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

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

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

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

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

.btn-light:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.link {
    font-weight: 500;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 3);
}

/* 3. Header & Navigation */
.header {
    background-color: var(--color-white);
    padding: var(--spacing-unit) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header.shrink {
    padding: calc(var(--spacing-unit) / 2) 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-dark);
    font-weight: 700;
    transition: font-size 0.3s ease;
}

.header.shrink .nav-logo {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
}

.nav-link {
    color: var(--color-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

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

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

.nav-link .fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Dropdown Menu */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: var(--spacing-unit) 0;
    min-width: 180px;
    z-index: 1001;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-dark);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-dark);
    transition: all 0.3s ease-in-out;
}

/* Show on hover for desktop */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.dropdown:hover .nav-link .fa-chevron-down {
    transform: rotate(180deg);
}

/* Mega Menu */
.dropdown-menu.mega-menu {
    min-width: 600px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: var(--spacing-unit);
}

.nav-item.dropdown:hover .dropdown-menu.mega-menu {
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-unit);
}

.mega-menu-item {
    display: block;
    text-align: center;
    color: var(--color-dark);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.mega-menu-item:hover {
    transform: translateY(-5px);
    color: var(--color-primary);
}

.mega-menu-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.mega-menu-item h4 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

/* 4. Hero Section */
.hero {
    height: 90vh;
    position: relative; /* This is crucial for positioning the slider inside */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden; /* Ensures slides don't peek out during transitions */
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.slide.active {
    opacity: 1;
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: calc(var(--spacing-unit) * 3);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
    text-align: center;
    z-index: 2;
}

.slide-text h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: var(--spacing-unit);
}

.slide-text p {
    color: var(--color-light);
    font-size: 1.1rem;
}

.hero-content {
    max-width: 800px;
    position: relative; /* Required for z-index to work */
    z-index: 2; /* Ensures text is on top of the slider */
}

.hero-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-unit);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-light);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

/* 5. Page Header (for sub-pages) */
.page-header {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=1920') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.page-header h1 {
    color: var(--color-white);
}

/* 6. General Section Styling */
.section {
    padding: calc(var(--spacing-unit) * 6) 0;
}

.section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.section-header h2 {
    margin-bottom: var(--spacing-unit);
}

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

.section-accent h2, .section-accent p {
    color: var(--color-white);
}

/* 7. Service Cards */
.service-card {
    text-align: center;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-card h3 {
    margin: var(--spacing-unit) 0;
    padding: 0 var(--spacing-unit);
    color: var(--color-dark);
}

.service-card p {
    padding: 0 calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
    color: var(--color-gray);
}

.price {
    color: var(--color-primary);
    font-size: 1.1rem;
    padding: 0 calc(var(--spacing-unit) * 1.5) !important;
}

/* Team Cards */
.team-card {
    text-align: center;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin: var(--spacing-unit) 0 0;
    padding: var(--spacing-unit);
    color: var(--color-dark);
}

.team-card .team-role {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 !important;
    padding: 0 var(--spacing-unit) !important;
}

.team-card p {
    padding: calc(var(--spacing-unit) * 0.5) var(--spacing-unit) var(--spacing-unit);
    color: var(--color-gray);
}

.team-social {
    margin-top: calc(var(--spacing-unit) / 2);
    padding-bottom: var(--spacing-unit);
}

.team-social a {
    color: var(--color-gray);
    margin: 0 5px;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--color-primary);
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: calc(var(--spacing-unit) * 2);
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
}

.value-card h3 {
    margin: var(--spacing-unit) 0;
}

/* Benefit Cards */
.benefit-card {
    text-align: center;
    padding: calc(var(--spacing-unit) * 2);
    color: var(--color-white);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-unit);
}

.benefit-card h3 {
    margin: var(--spacing-unit) 0;
    color: var(--color-white);
}

.benefit-card p {
    color: var(--color-light);
}

/* 8. Special Offer Section */
.offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: calc(var(--spacing-unit) * 4);
}

.offer-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-unit);
    font-weight: 500;
}

.offer-text h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-unit);
}

/* 9. About, Team & Price List Sections */
.about-snippet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: calc(var(--spacing-unit) * 5);
}

.about-image img {
    border-radius: 8px;
}

/* Parallax About Section */
.parallax-about {
    background-image: url('../../images/slider5.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) 0;
}

.parallax-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.about-text-parallax {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-text-parallax h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-unit);
}

.about-text-parallax p {
    color: var(--color-light);
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

/* Team Section (for About Page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

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

.team-member img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: var(--spacing-unit);
    border: 5px solid var(--color-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    margin-bottom: calc(var(--spacing-unit) / 4);
}

.team-member .role {
    color: var(--color-primary);
    font-weight: 500;
    display: block;
}

/* Price List (for Services Page) */
.price-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 4);
}

.price-category h3 {
    font-size: 2rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: var(--spacing-unit);
    display: inline-block;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: calc(var(--spacing-unit) * 1.5);
    border-bottom: 1px dashed #ccc;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.price-item-details {
    margin-right: var(--spacing-unit);
}

.price-item-name {
    font-weight: 500;
    margin: 0;
}

.price-item-desc {
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.price-item-price {
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    margin-left: var(--spacing-unit);
}

/* 10. Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: calc(var(--spacing-unit) * 5) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.footer-col h3, .footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-primary);
    margin-bottom: var(--spacing-unit);
}

.footer-col p, .footer-col ul li a {
    color: var(--color-gray);
}

.footer-col ul li {
    margin-bottom: calc(var(--spacing-unit) / 2);
}

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

.social-icons a {
    color: var(--color-light);
    font-size: 1.2rem;
    margin-right: var(--spacing-unit);
}

.social-icons a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding: calc(var(--spacing-unit) * 2) 0;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Offers Page */
.offer-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: calc(var(--spacing-unit) * 2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.offer-card.featured {
    border: 2px solid var(--color-primary);
}

.offer-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: calc(var(--spacing-unit) * 0.5) var(--spacing-unit);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-unit);
}

.offer-card h3 {
    margin: var(--spacing-unit) 0;
}

.offer-description {
    color: var(--color-gray);
    margin: var(--spacing-unit) 0;
}

.offer-validity {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: var(--spacing-unit) 0 calc(var(--spacing-unit) * 1.5);
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
    gap: 15px;
}

.toggle-label {
    font-weight: 600;
    color: var(--color-dark);
    position: relative;
    font-size: 1.1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.save-badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    position: absolute;
    top: -25px;
    right: -20px;
    white-space: nowrap;
    font-weight: 700;
}

.save-badge::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10px;
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: var(--color-primary) transparent transparent transparent;
}

/* Loyalty Section */
.loyalty-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 3);
    align-items: start;
}

.loyalty-info h3, .loyalty-tiers h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-unit);
}

.loyalty-tiers h3 {
    grid-column: 1 / -1;
    text-align: center;
}

.loyalty-list {
    list-style: none;
}

.loyalty-list li {
    color: var(--color-light);
    padding: calc(var(--spacing-unit) * 0.5) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.loyalty-list li:last-child {
    border-bottom: none;
}

.loyalty-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-unit);
}

.tier {
    background: rgba(255,255,255,0.1);
    padding: var(--spacing-unit);
    border-radius: 8px;
    text-align: center;
    color: var(--color-white);
}

.tier h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.tier p {
    color: var(--color-light);
    margin: calc(var(--spacing-unit) / 4) 0;
}

.tier i {
    color: #ffc107;
    margin-right: 2px;
}

/* Package Cards */
.package-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.package-header {
    background: linear-gradient(135deg, var(--color-primary), #daa55c);
    color: var(--color-white);
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center;
}

.package-header h3 {
    color: var(--color-white);
    margin: 0 0 var(--spacing-unit);
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.package-price span {
    font-size: 0.9rem;
    font-weight: 400;
}

.package-items {
    list-style: none;
    padding: calc(var(--spacing-unit) * 1.5);
}

.package-items li {
    padding: calc(var(--spacing-unit) / 2) 0;
    color: var(--color-gray);
}

.package-items i {
    color: var(--color-primary);
    margin-right: var(--spacing-unit);
}

.saving {
    text-align: center;
    color: var(--color-primary);
    font-weight: 600;
    padding: 0 var(--spacing-unit) !important;
}

.package-card .btn {
    display: block;
    margin: var(--spacing-unit);
    width: calc(100% - calc(var(--spacing-unit) * 2));
}

/* Gift Section */
.gift-section {
    text-align: center;
}

.gift-content h2, .gift-content p {
    color: var(--color-white);
}

.gift-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-unit);
    margin: calc(var(--spacing-unit) * 2) 0;
}

.gift-item {
    background: rgba(255,255,255,0.1);
    padding: var(--spacing-unit);
    border-radius: 8px;
}

.gift-item i {
    font-size: 2rem;
    color: var(--color-light);
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.gift-item h4 {
    color: var(--color-white);
    margin: calc(var(--spacing-unit) / 2) 0;
}

.gift-item p {
    color: var(--color-light);
    font-size: 0.9rem;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-unit);
}

.promo-item {
    background: var(--color-white);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--color-primary);
}

.promo-item h3 {
    color: var(--color-primary);
    margin: 0 0 var(--spacing-unit);
}

.promo-item p {
    color: var(--color-gray);
    margin: 0;
}

/* CTA Section */
.cta-content {
    text-align: center;
}

.cta-content h2, .cta-content p {
    color: var(--color-white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-unit);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-dark);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-control.is-invalid {
    border-color: #d9534f;
}

.form-control.is-invalid:focus {
    border-color: #d9534f;
    box-shadow: 0 0 0 0.2rem rgba(217, 83, 79, 0.25);
}


/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 4);
}

.contact-info-item {
    display: flex;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-right: var(--spacing-unit);
    flex-shrink: 0;
}

.map-container {
    height: 400px;
    width: 100%;
    background-color: #eee;
    margin-top: calc(var(--spacing-unit) * 4);
}

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

/* Booking Page */
.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-unit);
}

/* 404 Error Page */
.error-page {
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content h1 {
    font-size: 8rem;
    color: var(--color-primary);
    margin-bottom: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-unit);
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

/* Coming Soon Page */
.coming-soon-page {
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light);
}

.coming-soon-content h1 {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
}

.coming-soon-content p {
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}

.newsletter-form .form-control {
    width: auto;
    min-width: 300px;
}

/* Gallery Page */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-dark);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.gallery-item img.loaded {
    opacity: 1;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 107, 0.85); /* Primary color with opacity */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: var(--spacing-unit);
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0.1)}
    to {transform:scale(1)}
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 36px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
}

.share-lightbox {
    position: absolute;
    top: 15px;
    right: 80px;
    color: #f1f1f1;
    font-size: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2002;
    padding: 10px;
}

.share-lightbox:hover {
    color: var(--color-primary);
}

.fullscreen-lightbox {
    position: absolute;
    top: 15px;
    right: 125px;
    color: #f1f1f1;
    font-size: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2002;
    padding: 10px;
}

.fullscreen-lightbox:hover {
    color: var(--color-primary);
}

.download-lightbox {
    position: absolute;
    top: 15px;
    right: 170px;
    color: #f1f1f1;
    font-size: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2002;
    padding: 10px;
}

.download-lightbox:hover {
    color: var(--color-primary);
}

.prev-lightbox,
.next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 2001;
}

.next-lightbox {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-lightbox:hover,
.next-lightbox:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.1rem;
}

/* Blog Page */
.blog-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: calc(var(--spacing-unit) * 4);
    align-items: start;
}

.blog-search {
    max-width: 500px;
    margin: 0 auto calc(var(--spacing-unit) * 3);
}

.blog-search input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid #ddd;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.blog-search input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
}

.blog-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: calc(var(--spacing-unit) * 2);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-unit);
}

.blog-meta span {
    margin-right: 10px;
}

.blog-meta i {
    color: var(--color-primary);
    margin-right: 5px;
}

.blog-content h3 {
    margin-bottom: var(--spacing-unit);
    font-size: 1.3rem;
    color: var(--color-dark);
}

.blog-content p {
    font-size: 0.95rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    flex-grow: 1;
    color: var(--color-gray);
}

.read-more-btn {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    align-self: flex-start;
}

.read-more-btn:hover {
    color: var(--color-dark);
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--spacing-unit);
    border-top: 1px solid #f4f4f4;
}

.blog-share a {
    color: var(--color-gray);
    margin-left: 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-share a:hover {
    color: var(--color-primary);
}

/* Blog Single Post */
.blog-post-single {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.blog-post-single img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.blog-post-content h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-unit);
    color: var(--color-dark);
}

.blog-post-content p {
    margin-bottom: var(--spacing-unit);
    font-size: 1.05rem;
    color: var(--color-gray);
}

.blog-post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: var(--spacing-unit) calc(var(--spacing-unit) * 2);
    margin: calc(var(--spacing-unit) * 2) 0;
    background: var(--color-light);
    font-style: italic;
    color: var(--color-dark);
    font-size: 1.1rem;
    border-radius: 0 8px 8px 0;
}

/* Comments Section */
.comments-area {
    margin-top: calc(var(--spacing-unit) * 4);
}

.comments-area h3 {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    border-bottom: 1px solid #eee;
    padding-bottom: var(--spacing-unit);
}

.comment-list {
    list-style: none;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.comment {
    display: flex;
    gap: var(--spacing-unit);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
    background: var(--color-light);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(var(--spacing-unit) / 2);
}

.comment-author {
    font-weight: 700;
    color: var(--color-dark);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.comment-content p {
    margin-bottom: calc(var(--spacing-unit) / 2);
    font-size: 0.95rem;
}

.reply-btn {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.reply-btn:hover {
    text-decoration: underline;
}

/* Comment Form */
.comment-form-wrap {
    background: var(--color-light);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
}

.comment-form-wrap h3 {
    border-bottom: none;
    margin-bottom: var(--spacing-unit);
}

/* Sidebar Styles */
.blog-sidebar {
    background: var(--color-light);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    position: sticky;
    top: 100px; /* Sticky sidebar when scrolling */
}

.sidebar-widget {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-unit);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    display: inline-block;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    color: var(--color-dark);
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.category-list a:hover {
    color: var(--color-primary);
}

.category-list span {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background: var(--color-white);
    color: var(--color-gray);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.sidebar-widget p {
    font-size: 0.9rem;
}

.sidebar-widget .newsletter-form {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}

.sidebar-widget .newsletter-form .form-control {
    min-width: 100%;
    width: 100%;
}

.sidebar-widget .newsletter-form .btn {
    width: 100%;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: calc(var(--spacing-unit) * 4);
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: var(--color-white);
    color: var(--color-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1020;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-5px);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1030;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 300px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid #eee;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-window.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.chat-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-white);
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chat-message {
    background-color: #e1e1e1;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--color-dark);
    max-width: 80%;
}

.chat-message.system {
    background-color: #e1e1e1;
}

.chat-message.user {
    background-color: var(--color-primary);
    color: var(--color-white);
    align-self: flex-end;
    margin-left: auto;
}

.chat-message p {
    margin: 0;
    color: inherit;
}

.chat-footer {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background-color: var(--color-white);
}

.chat-footer input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-family: var(--font-secondary);
}

.chat-footer button {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.chat-footer button:hover {
    background-color: var(--color-dark);
}

/* Mobile Book Now FAB */
.fab-book-now {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1010;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fab-book-now i {
    margin-right: 8px;
}

.fab-book-now:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Testimonials Section */
.testimonial-section {
    background-color: var(--color-light);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: var(--spacing-unit);
    animation: fadeEffect 1s;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--color-dark);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-unit);
    border: 3px solid var(--color-primary);
}

.testimonial-author h4 {
    margin: 0;
    color: var(--color-dark);
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
}

.testimonial-dots {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 2);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--color-primary);
}

/* Careers Page */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.job-card {
    background: var(--color-white);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: calc(var(--spacing-unit) * 2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
}

.job-card h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-unit);
    color: var(--color-dark);
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: var(--spacing-unit);
    font-size: 0.9rem;
    color: var(--color-gray);
}

.job-meta i {
    color: var(--color-primary);
    margin-right: 5px;
}

.job-description {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-size: 0.95rem;
    color: var(--color-gray);
}

/* Portfolio Page (Masonry) */
.masonry-grid {
    column-count: 3;
    column-gap: calc(var(--spacing-unit) * 2);
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: calc(var(--spacing-unit) * 2);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--color-white);
    text-align: center;
    padding: 1rem;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

/* Comparison Slider */
.comparison-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.comparison-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    line-height: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.comparison-container img {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--color-white);
}

.comparison-overlay img {
    max-width: none; /* JS will set exact width */
    height: 100%;
    object-fit: cover;
}

.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through to input */
}

.comparison-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 0;
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover, .faq-question.active {
    color: var(--color-primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 15px;
    color: var(--color-gray);
    margin-bottom: 0;
}

.booking-success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.booking-success-message i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.booking-success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you-page {
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content i {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
}

.thank-you-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-unit);
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--color-white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
}

.modal-header h2 {
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-gray);
}

body.modal-open {
    overflow: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

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

.grid-3 > .animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}
.grid-3 > .animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 11. Responsive Design (Media Queries) */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .offer-content, .about-snippet, .loyalty-content { grid-template-columns: 1fr; }
    .offer-image { margin-top: calc(var(--spacing-unit) * 2); }
    .about-image { order: -1; margin-bottom: calc(var(--spacing-unit) * 2); }
    
    .blog-container {
        grid-template-columns: 1fr;
    }
    .blog-sidebar { margin-top: calc(var(--spacing-unit) * 4); }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    .masonry-grid {
        column-count: 2;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    .price-list-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-unit);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        /* top and height are now set by JS for accuracy */
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

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

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Dropdown on mobile */
    .nav-item.dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        display: none; /* JS will handle this */
        box-shadow: none;
        background-color: #fdfdfd; /* Slightly different bg to show nesting */
        padding: 0;
        min-width: auto;
        border-radius: 0;
        text-align: center;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .dropdown-menu.active {
        display: block; /* JS will toggle this class */
    }

    .nav-link.active-dropdown .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    /* Mega Menu Mobile */
    .dropdown-menu.mega-menu {
        min-width: auto;
        left: 0;
        transform: none;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .mega-menu-item {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .mega-menu-item:last-child {
        border-bottom: none;
    }

    .mega-menu-item img {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .navbar .btn {
        display: none; /* Hide book now button on mobile nav */
    }
    
    .fab-book-now {
        display: flex;
        align-items: center;
    }

    .back-to-top, .chat-widget {
        bottom: 90px;
    }

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

    .masonry-grid {
        column-count: 1;
    }

    .hero {
        height: auto;
        min-height: 90vh;
        padding: 100px 0;
    }

    .error-content h1 {
        font-size: 5rem;
    }

    .coming-soon-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-item-price {
        margin-left: 0;
        margin-top: 5px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .loyalty-tiers {
        grid-template-columns: 1fr;
    }

    .coming-soon-content h1 {
        font-size: 2.5rem;
    }

    .newsletter-form .form-control {
        min-width: 100%;
    }

    .lightbox-content {
        width: 100%;
    }

    .theme-toggle {
        margin-left: auto;
        margin-right: 1rem;
    }
}
