/* --- GOOGLE FONTS --- */
/* font-family: 'Poppins', sans-serif; */
/* font-family: 'Playfair Display', serif; */

html {
    height: 100%;
    /* This MUST be transparent to see the new beach background */
    background-color: transparent; 
}

/* Update this rule */
body {
    background-color: #0d1a26;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
}


.page-content {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* --- CSS VARIABLES --- */
:root {
    --white-color: #ffffff;
    --sand-color: #f5f7fa;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --accent-yellow: #fec544;
    --accent-blue: #45c3d2;
    --header-height: 100px;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); 
}

/* --- LENIS SMOOTH SCROLL STYLES (as per the guide) --- */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
/* --- END LENIS STYLES --- */

/* --- RESET & GLOBAL STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
p { 
    margin-bottom: 1rem; 
    color: var(--light-text); /* Ensures all paragraphs are readable */
}
a { color: var(--accent-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-yellow); }
.section-title { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--dark-text); }
.section-subtitle { max-width: 600px; margin: -1rem auto 3rem; }
.text-center { text-align: center; }

/* --- HEADER / NAVIGATION --- */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    height: var(--header-height); transition: var(--transition);
}
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.main-header .container {
    max-width: 100%;
    padding: 0 40px;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo img { height: 75px; transition: var(--transition); }
.main-nav ul { display: flex; align-items: center; list-style: none; }
.main-nav ul li { margin-left: 25px; }
.main-nav ul li a {
    font-weight: 600;
    color: var(--white-color);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}
.main-header.scrolled .main-nav ul li a {
    color: var(--dark-text);
}
.main-nav ul li a::after {
    content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background-color: var(--accent-yellow); transition: var(--transition);
}
.main-nav ul li a:hover::after { width: 100%; }

.btn-nav-quote {
    background-color: var(--accent-yellow); color: var(--dark-text);
    padding: 15px 35px; border-radius: 50px; border: 2px solid transparent;
    text-transform: uppercase; font-size: 0.9rem; font-weight: 700;
}
.btn-nav-quote:hover {
    background-color: var(--accent-blue); color: var(--white-color) !important;
    transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* --- Desktop/Mobile Button Swap --- */
.btn-mobile {
    display: none;
}
.btn-nav-quote:hover::after { display: none; }
.hamburger { display: none; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger-bar {
    display: block; width: 25px; height: 3px; margin: 5px auto;
    background-color: var(--white-color);
    border-radius: 3px; transition: var(--transition);
}
.main-header.scrolled .hamburger-bar {
    background-color: var(--dark-text);
}

/* --- TEXT SHADOWS for better readability --- */
.hero-title,
.hero-subtitle,
.section-title,
.country-name {
    text-shadow: var(--text-shadow);
}

.hero {
    height: 100vh;
    position: relative; 
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    background-color: transparent; 
    overflow: hidden;
    pointer-events: none; /* This tells the entire container to ignore clicks/taps */
}

/* This is the NEW background image layer */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Sits far behind the content */
    background:
        /* The dark tint for readability */
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        /* The background image */
        url('https://i.postimg.cc/ryS8BZcy/image3549-1.jpg') no-repeat center center/cover;
}

/* This is the NEW smooth gradient fade layer */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px; /* Controls the height of the fade */
    z-index: -1; /* Sits behind the content but on top of the image */
    background: linear-gradient(to bottom, transparent 0%, var(--sand-color) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
    /* THE DEFINITIVE FIX: This makes the overlay completely "invisible" to clicks and touches. */
    pointer-events: none;

    background: 
        linear-gradient(to bottom, transparent 60%, var(--sand-color) 100%),
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('https://i.postimg.cc/BZwZs1Rb/image3549-1.jpg') no-repeat center center/cover;
}
/* Find your existing .hero-content rule and add pointer-events: auto; */
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s .5s both;
    pointer-events: auto; /* This RE-ENABLES clicks/taps only for this container and its children */
}
.hero-title { font-size: 5rem; margin-bottom: 1rem; text-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}
.btn {
    padding: 15px 35px; border-radius: 50px; font-weight: 600; transition: var(--transition);
    border: 2px solid transparent; display: inline-block; margin: 5px; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-primary { background-color: var(--accent-yellow); color: var(--dark-text); }
.btn-primary:hover { background-color: transparent; border-color: var(--accent-yellow); color: var(--accent-yellow); transform: translateY(-3px); }
.btn-secondary { background-color: transparent; border: 2px solid var(--accent-blue); color: var(--white-color); }
.btn-secondary:hover { background-color: var(--accent-blue); color: var(--white-color); transform: translateY(-3px); }

/* --- WELCOME SECTION --- */
.welcome-section {
    padding: 120px 0;
    background-color: transparent;
}
.welcome-container { display: flex; align-items: center; gap: 4rem; }
.welcome-text { flex-basis: 50%; }
/* This new rule creates a well-proportioned rectangular frame */
.welcome-image {
    flex-basis: 45%;
    position: relative;
    width: 100%; /* Take up the available width */
    height: 0; /* Let the padding define the height */
    padding-bottom: 60%; /* This creates a 5:3 aspect ratio rectangle */
    border-radius: var(--border-radius);
    overflow: hidden; /* Ensures the image respects the border-radius */
    box-shadow: var(--shadow);
}

/* We must also update the image rule to fill this new container */
.welcome-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is the key to preventing distortion */
    object-position: center; /* This ensures the crop is well-centered */
}

/* --- VACATION TYPES SECTION --- */
.vacation-types-section {
    padding: 120px 0;
    background-color: transparent;
}
.vacation-types-section .section-title {
    color: var(--dark-text);
    margin-bottom: 4rem;
}
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.category-card {
    text-align: center;
    transition: var(--transition);
}
.category-card:hover {
    /* This makes the card both lift up AND grow larger */
    transform: translateY(-10px) scale(1.05);
}
/* This container is now a perfect square */
.category-card .card-image-container {
    position: relative; /* This is essential for the image positioning */
    width: 100%;
    aspect-ratio: 1 / 1; /* The key to the square shape */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

/* This makes the image fill the square container perfectly */
.category-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Fills the container */
    object-fit: cover; /* Prevents the image from being distorted */
    border-radius: 24px;
}
.category-card h3 {
    color: var(--dark-text);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}


/* --- FOOTER --- */
.main-footer {
    background-color: var(--dark-text); color: #bdc3c7;
    padding: 40px 0; text-align: center; font-size: 0.9rem;
}
.main-footer p { color: #bdc3c7; }

/* --- ANIMATIONS --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ======================================= */
/* ---      RESPONSIVE STYLES      --- */
/* ======================================= */

/* --- TABLETS (Medium Devices) --- */
@media (max-width: 992px) {
    .main-header .container {
        padding: 0 20px;
    }
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 4rem; }
    .welcome-container { flex-direction: column; text-align: center; }
    
    .types-grid {
        grid-template-columns: 1fr; /* Stack on tablets and mobile */
        gap: 3rem;
        max-width: 400px; /* Constrain width on mobile for better aesthetics */
        margin: 0 auto;
    }
}

/* ====== RESORTS VISITED SECTION ====== */
.resorts-visited-section {
    padding: 120px 0;
    background-color: transparent;
}

.resorts-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden; /* Important for the smooth open/close animation */
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    list-style: none; /* Removes default dropdown arrow */
    width: 100%;
}
.accordion-header::-webkit-details-marker {
    display: none; /* Hides default arrow in Safari */
}

.country-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark-text);
}

.chevron-icon {
    width: 10px;
    height: 10px;
    border-style: solid;
    border-color: var(--dark-text);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.accordion-item[open] > .accordion-header .chevron-icon {
    transform: rotate(225deg);
}

.accordion-content {
    padding: 0 2rem 1.5rem;
    border-top: 1px solid #e0e0e0;
}
.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.accordion-content li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--light-text);
}
.accordion-content li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.resort-name {
    font-weight: 600;
    color: var(--dark-text);
}

.star-rating {
    display: flex;
    gap: 0.3rem;
}
.star-rating svg {
    width: 18px;
    height: 18px;
    fill: #d8d8d8; /* Default color for an empty star */
}
.star-rating .star-filled {
    fill: var(--accent-yellow); /* Color for a filled star */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1.25rem 1.5rem;
    }
    .country-name {
        font-size: 1.25rem;
    }
}

/* ====== LETS CONNECT SECTION (CONTACT FOOTER) ====== */
.contact-footer {
    padding: 120px 0 20px; /* Added 20px padding to the bottom */
    background-color: var(--accent-yellow);
    text-align: center;
}

.contact-footer .section-title {
    color: var(--dark-text);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Left text | Middle image | Right icons */
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    text-align: left;
}

.contact-portrait {
    grid-column: 2 / 3; /* Places the portrait in the middle column */
    grid-row: 1 / 2;
    margin: 0 auto;
}
.contact-portrait img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Perfect circle */
    border: 5px solid var(--white-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-details {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    text-align: right;
}
.contact-details p {
    color: var(--dark-text);
    line-height: 1.6;
    font-weight: 500;
}
.affiliation-text {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.social-links {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.1);
    color: var(--dark-text);
    border-radius: 50%;
    transition: var(--transition);
}
.social-icon:hover {
    background-color: var(--dark-text);
    color: var(--white-color);
    transform: translateY(-5px) scale(1.1);
}

.tico-logo {
    margin-top: 3rem;
    opacity: 0.8;
}
.tico-logo img {
    max-height: 50px;
}
.tico-logo span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.footer-bottom-line {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 60px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between; /* Pushes items to opposite ends */
    align-items: center;
}

/* Responsive Adjustments for Footer */
@media (max-width: 768px) {
    .contact-card {
        /* This is the key: stack everything into a single column on mobile */
        grid-template-columns: 1fr; 
        gap: 2.5rem; /* Adjusts the vertical space between the items */
    }

    /* We target all three grid items at once */
    .contact-portrait, 
    .contact-details, 
    .social-links {
        /* Force each item onto its own row and take up the full width */
        grid-column: 1 / -1; 
        text-align: center; /* Center-align all the text content */
    }

    /* We can explicitly set the order for a perfect mobile layout */
    .contact-portrait {
        grid-row: 1; /* Portrait image appears first */
    }
    .contact-details {
        grid-row: 2; /* Contact text appears second */
    }
    .social-links {
        grid-row: 3; /* Social icons appear third */
        justify-content: center; /* Ensures the icons themselves are centered */
    }
}

/* ====== PRE-LOADER STYLES ====== */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--white-color); /* Uses the clean white background */
    z-index: 9999; /* Ensures it's on top of all other content */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.7s ease; /* Controls the fade-out animation */
}

/* The state when the loader is hidden */
#loader-wrapper.hidden {
    opacity: 0;
    pointer-events: none; /* Allows clicks to go through to the page */
}

#loader-wrapper img {
    width: 120px; /* Adjust size of logo as needed */
    height: auto;
    animation: pulse 1.5s infinite ease-in-out; /* The pulsing animation */
}

/* Defines the keyframes for the pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* ====== QUOTE SELECTION MODAL ====== */
#quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(44, 62, 80, 0.7); /* A dark, semi-transparent overlay */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#quote-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#quote-modal-content {
    background: var(--white-color);
    padding: 3rem 4rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}
#quote-modal-overlay.active #quote-modal-content {
    transform: scale(1);
}

#close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}
#close-modal-btn:hover {
    color: var(--dark-text);
}

#quote-modal-content .section-title {
    margin-bottom: 1rem;
}
#quote-modal-content p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal-buttons .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Add this new rule to fix the secondary button's text color inside the modal */
#quote-modal-content .btn-secondary {
    color: var(--dark-text);
}

/* =================================================================== */
/* ====== PART 1: ALIVE & INTERACTIVE WEBSITE ENHANCEMENTS ====== */
/* =================================================================== */

/* --- 1. Silky Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- 2. The Hero  & Particle Canvas --- */
.hero {
    position: relative; /* Crucial for positioning the  and particles */
}

#interactive-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Sits at the very back */
    
    background: 
        radial-gradient(40vw circle at var(--gradient-x, 50%) var(--gradient-y, 50%), rgba(148, 199, 199, 0.5), transparent 80%),
        radial-gradient(30vw circle at 10% 90%, rgba(224, 213, 166, 0.4), transparent 70%),
        radial-gradient(30vw circle at 90% 20%, rgba(163, 153, 186, 0.4), transparent 70%);
        
    mix-blend-mode: screen;
    opacity: 0.8;
}

/* 3. Style the particle canvas layer */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Sits on top of the gradient, but behind the content */
}

/* 4. CRUCIAL: Ensure the main content is on top */
.page-content {
    position: relative;
    z-index: 1; /* This brings all your content to the front */
    background-color: transparent; /* Must be transparent to see the background */
}

/* Ensure hero content stays on top */
.hero-content {
    position: relative;
    z-index: 2;
}

/* The beautiful transparent-to-sand  */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; /* Aligns the  to the very bottom */
    left: 0;
    width: 100%;
    height: 250px; /* Increased height for a smoother fade */
    /* This is the magic: a gradient from transparent to the sand color */
    background: linear-gradient(to bottom, rgba(247, 245, 242, 0), var(--sand-color));
    z-index: 3;
    transition: all 0.5s ease;
}


/* --- 3. Scroll-Triggered Animation Foundation --- */
/* This is the initial "hidden" state for elements that will animate in */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* This is the "visible" state that our JS will toggle */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- 4. Enhanced & Dynamic Button Interactions --- */
/* Make all buttons have a more "physical" feel */
.btn {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transform: translateY(-4px) scale(1.02);
}


/* --- 5. Invented Effect: Interactive Accordion Hover --- */
/* Makes the "Resorts Visited" dropdowns more dynamic */
.accordion-item {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.accordion-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateX(10px);
}
.accordion-item[open] {
    transform: translateX(5px);
}

/* --- 6. Interactive 3D Tilt Effect --- */
.tilt-card {
    transform-style: preserve-3d; /* This enables the 3D effect */
    will-change: transform; /* Optimizes performance */
    transform: perspective(1000px); /* Sets the 3D "depth" */
}
.tilt-card .card-image-container {
    /* Adds a subtle, glowing border on hover that matches the brand */
    box-shadow: 0 0 0px 0px rgba(254, 197, 68, 0); 
    transition: box-shadow 0.4s ease;
}
.tilt-card:hover .card-image-container {
    box-shadow: 0 0 25px 5px rgba(254, 197, 68, 0.3);
}

/* ======================================= */
/* ====== MOBILE RESPONSIVE STYLES ====== */
/* ======================================= */

/* --- Applies to tablets and mobile phones (screens smaller than 992px) --- */
@media (max-width: 992px) {
    .section-title { font-size: 2.5rem; }
    .hero-title { font-size: 4rem; }
    .welcome-container { flex-direction: column; text-align: center; gap: 2rem; }
    .types-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .accreditations-grid { grid-template-columns: 1fr; text-align: center; }
    .accreditations-content .section-title { text-align: center; }
    .accreditations-content p { margin-left: auto; margin-right: auto; }
    .logos-grid { grid-template-columns: repeat(2, 1fr); max-width: 400px; margin: 0 auto; }
    .contact-card { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-portrait, .contact-details, .social-links { grid-column: 1 / -1; text-align: center; }
    .contact-portrait { grid-row: 1; }
    .contact-details { grid-row: 2; }
    .social-links { grid-row: 3; justify-content: center; }
}

/* --- MOBILE PHONES (Small Devices) --- */
@media (max-width: 768px) {
    /* --- 1. Base Mobile Styles --- */
    body { line-height: 1.6; }
    .main-header .container { padding: 0 20px; }
    .welcome-section, .vacation-types-section, .accreditations-section, .resorts-visited-section { padding: 80px 0; }

    /* --- 2. Mobile Header and Logo "Seal" Effect --- */
    /* Adjust the header height to accommodate the larger logo */
    .main-header {
        height: 90px;
    }
    .main-header .container {
        position: relative;
        justify-content: flex-end;
    }
    .welcome-image {
        position: relative;
        width: 100%;
        height: 0;
        /* This new percentage creates a wider, more cinematic 16:9 aspect ratio */
        padding-bottom: 125%; 
    }

    /* CRUCIAL FIX: This was missing, and it ensures the image is centered. */
    .welcome-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This ensures the crop is taken from the vertical and horizontal center */
        object-position: center; 
    }
    .logo {
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translate(-50%, -50%);
        z-index: 100;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        /* MODIFIED LINE */
        transition: top 0.4s ease, transform 0.4s ease, height 0.4s ease;
    }
    /* This moves the logo's position up into the header */
    .logo.menu-open {
        top: 45px; /* (Half of the 90px header height) */
    }
    
    /* This shrinks the image itself */
    .logo.menu-open img {
        height: 70px; /* The new, smaller size */
    }
    .logo img {
        height: 135px;
        display: block;
        transition: height 0.4s ease; /* The key transition */
    }

    /* --- 3. Mobile "Cutout" Outline for the Logo --- */
    .logo::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% + 20px); /* A proportional outline for mobile */
        height: calc(100% + 20px);
        border-radius: 50%;
        opacity: 0;
        transition: var(--transition);
        z-index: -1;
    }
    .main-header.scrolled .logo::after {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        opacity: 1;
    }

    /* --- 4. Mobile Navigation Menu --- */
    .main-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: var(--white-color); transition: var(--transition); display: flex; justify-content: center; align-items: center; }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; text-align: center; }
    .main-nav ul li { margin: 20px 0; }
    .main-nav ul li a,
    .main-header.scrolled .main-nav ul li a { font-size: 1.5rem; color: var(--dark-text) !important; }
    .main-nav .btn-nav-quote { display: inline-block; padding: 15px 40px; margin-top: 20px; text-align: center; width: auto; }
    
    .hamburger { display: block; }
    .hamburger.active .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .hamburger-bar:nth-child(2) { opacity: 0; }
    .hamburger.active .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hamburger.active .hamburger-bar { background-color: var(--dark-text) !important; }
    .category-card img {
        position: static;
        height: 250px;
        /* This shifts the image down, revealing more of the top */
        object-position: 50% 20%; 
    }

    /* --- 5. Other Mobile Styles (unchanged) --- */
    .section-title { font-size: 2rem; }
    .hero { height: 90vh; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    #animated-water-container { display: none; }
    .types-grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 400px; margin: 0 auto; }
    .category-card .card-image-container { position: static; aspect-ratio: auto; }
    .category-card img { position: static; height: 250px; }
    .category-card h3 { font-size: 1.1rem; }
}

#mobile-hero-quote-button {
    display: none;
}

/* --- BACKGROUND & PARTICLES --- */

/* This is the solid sand-colored background for the whole site */
body {
    background-color: var(--sand-color);
}

/* This is the canvas for our floating particle effect */
#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* Sits behind the content but on top of the body color */
    top: 0;
    left: 0;
}

/* ======================================= */
/* ====== FINAL DESIGN & NAVBAR ====== */
/* ======================================= */

/* --- 1. New and Updated Colors --- */
:root {
    --accent-teal: #5CD0D0;
}

/* Set the teal color for the main hero button */
.btn-primary {
    background-color: var(--accent-teal);
    color: var(--dark-text);
}
.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

/* Restore the yellow color to the top-right nav button, overriding the teal */
.btn-nav-quote {
    background-color: var(--accent-yellow) !important;
    color: var(--dark-text) !important;
}

/* Set the teal hover outline for the vacation cards */
.tilt-card:hover .card-image-container {
    box-shadow: 0 0 25px 5px rgba(92, 208, 208, 0.6);
}

/* --- 2. Definitive Symmetrical Desktop Navbar Layout --- */
/* This media query ensures these layout changes only apply to desktop screens */
@media (min-width: 993px) {

    /* --- 1. Increase the height of the navbar --- */
    .main-header {
        height: 120px; /* Increased from 100px */
    }

    /* --- 2. Position the logo correctly --- */
    .logo {
        position: absolute;
        left: 50%;
        top: 100%; /* <-- This aligns the logo's center with the bottom of the header */
        transform: translate(-50%, -50%);
        z-index: 100;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border-radius: 50%;
    }
    .logo img {
        height: 175px; /* Much larger than the navbar height, creating the overlap */
        display: block; /* Important for clean rendering of the shadow */
    }

    /* --- 3. The symmetrical layout logic remains the same --- */
    .main-nav {
        width: 100%;
    }
    .main-nav ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav-group-left, .nav-group-right {
        flex: 1; 
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    /* --- 4. Widen the spacer to accommodate the larger logo --- */
    .nav-logo-spacer {
        width: 220px; 
    }
    /* --- This is the new BASE style for the logo's outline --- */
    .logo::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        
        /* 1. MAKE THE OUTLINE BIGGER */
        width: calc(100% + 40px);
        height: calc(100% + 40px);

        /* Make it a perfect circle */
        border-radius: 50%;
        
        /* Start invisible and prepare for a smooth fade-in */
        opacity: 0;
        transition: var(--transition); /* Use the site's standard transition */
        
        z-index: -1;
    }

    /* --- This new rule makes the outline VISIBLE ONLY WHEN SCROLLED --- */
    .main-header.scrolled .logo::after {
        /* These styles are copied EXACTLY from your .main-header.scrolled rule */
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        
        /* Fade it in */
        opacity: 1;
    }
}

/* ===================================================== */
/* ====== THE LUMINOUS SEMI-TRANSPARENT GLASS CARD ====== */
/* ===================================================== */

.accreditations-section {
    padding: 120px 0;
    background-color: transparent;
    overflow: hidden; 
}
.accreditations-header {
    max-width: 750px;
    margin: 0 auto 5rem auto;
}
.accreditations-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
}
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}
.trophy-wrapper {
    position: relative;
}
.trophy-wrapper::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 100%;
    transform: translateY(100%) scaleY(-1);
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: var(--border-radius);
    filter: blur(25px);
    opacity: 0;
    transition: opacity 0.5s ease-out;
    z-index: -1;
}
.trophy-wrapper:hover::after {
    opacity: 0.15;
}

/* --- THE MASTER GLASS OBJECT --- */
.logo-item {
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.1, 0.8, 0.2, 1);
    position: relative; 
    z-index: 1;
    transform-style: preserve-3d;
    overflow: hidden;
    transform: perspective(1500px) translateZ(0);
    will-change: transform, box-shadow;
    background: transparent;
}
.logo-item img {
    max-height: 100px; 
    max-width: 220px;
    width: auto;
    display: block;
    position: relative;
    z-index: 10;
    transition: all 0.4s ease;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

/* --- THE MULTI-LAYERED GLASS SHADER --- */

/* LAYER 1: The Luminous, Semi-Transparent Body */
.logo-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    border-radius: var(--border-radius);
    z-index: 1;
    
    /* The bright, white, semi-transparent glass base */
    background: rgba(255, 255, 255, 0.1);
    
    /* The essential frosted glass effect */
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);

    /* A sharp edge to define the glass */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* A soft inner shadow to create depth */
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.1);
}

/* LAYER 2: The Interactive Stretched Reflection */
.logo-item::after {
    content: '';
    position: absolute;
    z-index: 2; /* Sits on top of the base */
    width: 250%; 
    height: 250%;
    top: -75%; 
    left: -75%;

    /* The STRETCHED light source with the cool blueish tint */
    background: linear-gradient(
        110deg,
        transparent 45%, 
        rgba(180, 220, 255, 0.4), /* Subtle, glassy blue reflection */
        transparent 55%
    );

    filter: blur(10px);
    opacity: 0;
    
    /* Controlled by the advanced JS controller */
    transform: translate(var(--mouse-x-offset, 0px), var(--mouse-y-offset, 0px));
    transition: opacity 0.4s ease, transform 0.1s linear;
}


/* --- HOVER STATE: LIGHTS ON --- */
.trophy-wrapper:hover .logo-item {
    box-shadow: 0 40px 60px -20px rgba(0,0,0,0.2);
}

/* On hover, fade in the interactive reflection */
.trophy-wrapper:hover .logo-item::after {
    opacity: 1;
}

.trophy-wrapper:hover .logo-item img {
    transform: translateY(-5px);
}

/* --- Mobile Fallback --- */
@media (max-width: 768px) {
    .accreditations-section { padding: 80px 0; }
    .logos-grid { gap: 3rem 1rem; }
    .logo-item { overflow: hidden; }
    .logo-item img { max-height: 80px; }
    /* Hide the complex effects on touch devices for performance */
    .trophy-wrapper::after, .logo-item::after { display: none; }
    .trophy-wrapper:hover .logo-item { 
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }
}

.favorite-badge {
    background-color: var(--accent-yellow);
    color: var(--dark-text);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 8px;
    vertical-align: middle;
}

/* ======================================= */
/* ====== DEFINITIVE CENTERED FOOTER ====== */
/* ======================================= */

/* This is the main layout controller */
.footer-bottom-line {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 40px;  /* Reduced the top margin */
    padding-top: 25px; /* Gave it a little padding */
    
    /* This creates the centered vertical stack */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* This creates consistent space between each item */
}

/* This styles the admin login icon */
#admin-login-button svg {
    width: 18px;
    height: 18px;
    fill: var(--dark-text);
    opacity: 0.5;
    transition: all 0.3s ease;
}

#admin-login-button:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

/* This is the CSS for your watermark */
.made-by-credit {
    /* No margin needed as 'gap' handles the spacing */
    display: flex;
    justify-content: center;
    align-items: center;
}

.made-by-credit a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.credit-text {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    transition: width 0.4s ease, opacity 0.2s ease, margin-right 0.4s ease;
}

.credit-logo {
    height: 35px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.made-by-credit a:hover .credit-text {
    opacity: 1;
    width: 85px;
    margin-right: 0.75rem;
}

.made-by-credit a:hover .credit-logo {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}