/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */

:root {
    /* Color Palette - White & Green Eco-Theme */
    --clr-primary: #115d33;
    /* Deep Forest Green */
    --clr-primary-light: #1c8b4c;
    /* Vibrant Leaf Green */
    --clr-secondary: #0fa24e;
    /* Primary Action Green */
    --clr-secondary-light: #28c76b;
    /* Brighter Action Hover Green */
    --clr-accent: #79e3a6;
    /* Soft Highlight Green */
    --clr-bg: #ffffff;
    /* Pure Clean White */
    --clr-bg-alt: #f0fdf4;
    /* Breathable Very Light Mint */
    --clr-white: #ffffff;
    --clr-text-main: #0d2115;
    /* Dark Charcoal Green */
    --clr-text-muted: #3c5446;
    /* Earthy Muted Green */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Sizes */
    --container-width: 1200px;
    --border-radius: 16px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.container-sm {
    max-width: 800px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--clr-secondary);
    border-radius: 2px;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-secondary-light);
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn-text {
    padding: 0;
    color: var(--clr-primary);
    font-weight: 600;
}

.btn-text .arrow {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: -0.5px;
}

.navbar.scrolled .logo,
.navbar.menu-open .logo {
    color: var(--clr-primary);
}

.logo span {
    color: var(--clr-secondary);
    font-weight: 400;
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-white);
    font-weight: 500;
    font-size: 1.05rem;
}

.navbar.scrolled .nav-links a {
    color: var(--clr-text-main);
}

.nav-links a:hover {
    color: var(--clr-secondary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--clr-white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background-color: var(--clr-primary);
}

.navbar.menu-open .hamburger span {
    background-color: var(--clr-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    text-align: center;
    overflow: hidden;
    background-color: var(--clr-primary);
}

.hero-video {
    position: relative;
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 57, 42, 0.4), rgba(15, 28, 20, 0.7));
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10;
    color: var(--clr-white);
    max-width: 800px;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--clr-white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), text-shadow 0.5s ease;
    cursor: default;
}

.hero-content h1:hover {
    transform: translateY(-4px) scale(1.02) !important;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.3) !important;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), text-shadow 0.5s ease;
    cursor: default;
}

.hero-content p:hover {
    transform: translateY(-2px) scale(1.02) !important;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2) !important;
}

.hero-content .btn {
    opacity: 0;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.9s;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    padding: 6rem 0;
    background-color: var(--clr-bg);
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Featured / Premium Slots
   ========================================================================== */

.premium-resorts {
    padding: 8rem 0;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.premium-resorts .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 5;
}

.premium-resorts .section-header h2.featured-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 4vw, 3rem);
    text-shadow: none;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    perspective: 1000px;
    cursor: default;
}

.featured-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) translateZ(-50px) rotateX(-45deg);
    animation: wordReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s ease;
    will-change: transform, opacity;
}

@keyframes wordReveal {
    0% {
        opacity: 0;
        transform: translateY(60px) translateZ(-100px) rotateX(-60deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0) rotateX(0deg);
    }
}

.featured-title .word:nth-child(1) {
    animation-delay: 0.2s;
}

.featured-title .word:nth-child(2) {
    animation-delay: 0.4s;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.featured-title .word:nth-child(3) {
    animation-delay: 0.55s;
}

.featured-title .word:nth-child(4) {
    animation-delay: 0.7s;
}

.featured-title .word:hover {
    transform: translateY(-8px) scale(1.05) translateZ(30px);
    color: #ffd700;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.5);
    z-index: 10;
}

@media (max-width: 768px) {
    .premium-resorts .section-header h2.featured-title {
        font-size: 2rem;
        gap: 0.25em;
    }
}

.premium-resorts .section-header h2::after {
    display: none;
}

.premium-resorts .section-header p {
    display: none;
}

.coverflow-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-top: 1rem;
}

.coverflow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.coverflow-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.coverflow-btn.prev-btn {
    left: 2%;
}

.coverflow-btn.next-btn {
    right: 2%;
}

.coverflow-btn svg {
    width: 24px;
    height: 24px;
}

.coverflow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 650px;
    width: 100%;
    margin: 0 auto;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.coverflow-card {
    position: absolute;
    width: 380px;
    height: 520px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1rem;
}

.coverflow-card.center {
    z-index: 3;
    transform: translateX(0) translateZ(50px) scale(1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.coverflow-card.left {
    z-index: 2;
    transform: translateX(-55%) translateZ(-100px) rotateY(15deg) scale(0.85);
    opacity: 0.85;
}

.coverflow-card.right {
    z-index: 2;
    transform: translateX(55%) translateZ(-100px) rotateY(-15deg) scale(0.85);
    opacity: 0.85;
}

.coverflow-card.far-left {
    z-index: 1;
    transform: translateX(-110%) translateZ(-300px) rotateY(35deg) scale(0.65);
    opacity: 0.5;
}

.coverflow-card.far-right {
    z-index: 1;
    transform: translateX(110%) translateZ(-300px) rotateY(-35deg) scale(0.65);
    opacity: 0.5;
}

.coverflow-card:hover.left,
.coverflow-card:hover.right {
    cursor: pointer;
}

.coverflow-card.hidden {
    z-index: 0;
    transform: translateX(0) translateZ(-500px) scale(0.4);
    opacity: 0;
    pointer-events: none;
}

.card-img-wrapper {
    width: 100%;
    height: 60%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.coverflow-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #115d33;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-info {
    padding: 1.5rem 0.5rem 0.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-info h3 {
    font-size: 1.6rem;
    color: #0d2115;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.card-info .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #28c76b;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .coverflow-container {
        height: 550px;
    }

    .coverflow-card {
        width: 300px;
        height: 450px;
    }
}

@media (max-width: 576px) {
    .coverflow-container {
        height: 480px;
    }

    .coverflow-card {
        width: 250px;
        height: 380px;
        padding: 0.75rem;
    }

    .card-info h3 {
        font-size: 1.2rem;
    }

    .card-info p.desc {
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .coverflow-card.left {
        transform: translateX(-50%) translateZ(-100px) rotateY(15deg) scale(0.85);
    }

    .coverflow-card.right {
        transform: translateX(50%) translateZ(-100px) rotateY(-15deg) scale(0.85);
    }

    .coverflow-card.far-left {
        transform: translateX(-85%) translateZ(-300px) rotateY(35deg) scale(0.65);
    }

    .coverflow-card.far-right {
        transform: translateX(85%) translateZ(-300px) rotateY(-35deg) scale(0.65);
    }
}

/* ==========================================================================
   Regular Listing Section (Cards)
   ========================================================================== */

.resorts,
.places {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--clr-bg-alt);
}

.resorts-grid,
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.resort-card {
    background-color: var(--clr-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resort-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.resort-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.resort-card .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header-info {
    margin-bottom: 1rem;
}

.resort-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.resort-card .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--clr-secondary-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.resort-card .desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 2.5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h2 {
    color: var(--clr-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--clr-secondary);
    font-weight: 400;
    font-style: italic;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 350px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--clr-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--clr-accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.email-link {
    color: var(--clr-accent);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--clr-white);
}

.socials a:hover {
    background-color: var(--clr-accent);
    color: var(--clr-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom .disclaimer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ==========================================================================
   Page Banners & Patterns
   ========================================================================== */

.page-banner {
    padding: 10rem 0 6rem;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    text-align: center;
    position: relative;
    background-image: linear-gradient(rgba(30, 57, 42, 0.85), rgba(15, 28, 20, 0.9)), url('https://images.unsplash.com/photo-1590523277543-a94d2e4eb00b?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    height: auto !important;
    min-height: auto !important;
}

.page-banner h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--clr-white);
    margin-bottom: 1rem;
    animation: heroFadeUp 0.8s ease forwards;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.bg-pattern {
    background-color: var(--clr-bg);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23115d33' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-page-content {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-bottom: 6rem;
}

.about-grid:last-child {
    margin-bottom: 0;
}

.about-grid.reverse .about-image-wrapper {
    order: 2;
}

.about-grid.reverse .about-text-content {
    order: 1;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--clr-primary);
    height: 100%;
    min-height: 400px;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-text-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: var(--clr-primary);
    position: relative;
    padding-bottom: 0.8rem;
}

.about-text-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--clr-secondary);
    border-radius: 2px;
}

.about-text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--clr-text-main);
    line-height: 1.8;
}

.about-text-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Places List Styles
   ========================================================================== */

.places-section {
    padding: 6rem 0;
}

.places-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.places-intro p {
    font-size: 1.2rem;
    color: var(--clr-text-main);
    line-height: 1.8;
}

.places-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.place-card-modern {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: flex-end;
}

.place-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.place-card-modern .place-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.place-card-modern .place-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.place-card-modern:hover .place-image img {
    transform: scale(1.1);
}

.place-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 33, 21, 0.95) 0%, rgba(13, 33, 21, 0.6) 40%, transparent 100%);
    z-index: 2;
    transition: background 0.5s ease;
}

.place-card-modern:hover::after {
    background: linear-gradient(to top, rgba(13, 33, 21, 0.98) 0%, rgba(13, 33, 21, 0.7) 50%, rgba(13, 33, 21, 0.2) 100%);
}

.place-card-modern .place-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    color: var(--clr-white);
    width: 100%;
}

.place-card-modern .place-header h2 {
    color: var(--clr-white);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.place-card-modern .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.place-card-modern p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Feature the first item to span 2 columns */
.place-card-modern.featured {
    grid-column: span 2;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    align-self: flex-start;
    border-radius: 50px;
    border: 1px solid var(--clr-secondary);
    color: var(--clr-secondary);
    background: transparent;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.location-btn:hover {
    background: var(--clr-secondary);
    color: var(--clr-white);
}

.location-btn svg {
    margin-right: 4px;
}

.global-location-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    color: var(--clr-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-top: 5rem;
    box-shadow: var(--shadow-lg);
}

.location-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.location-icon svg {
    color: var(--clr-accent);
}

.global-location-card h3 {
    color: var(--clr-white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.global-location-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.mt-2 {
    margin-top: 1rem;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.card-style {
    background-color: var(--clr-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--clr-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--clr-bg);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--clr-secondary);
    box-shadow: 0 0 0 3px rgba(15, 162, 78, 0.1);
}

.contact-details h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    background-color: var(--clr-bg-alt);
    color: var(--clr-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */

@media (max-width: 992px) {

    .premium-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .places-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .place-card-modern {
        height: 400px;
    }

    .place-card-modern.featured {
        grid-column: span 1;
        height: 400px;
    }

    .global-location-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .about-grid.reverse .about-image-wrapper {
        order: 1;
        /* Reset order on mobile */
    }

    .about-grid.reverse .about-text-content {
        order: 2;
        /* Reset order on mobile */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        transform: translateY(-100%);
        opacity: 0;
    }

    .navbar.scrolled,
    .navbar.menu-open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .navbar.menu-open .nav-links {
        right: 0;
    }

    .nav-links a {
        color: var(--clr-text-main);
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .navbar.menu-open .hamburger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar.menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .navbar.menu-open .hamburger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .about-grid .about-image-wrapper {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        display: none;
    }

    .page-banner {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .premium-card .card-content {
        padding: 1.5rem;
    }

    .premium-card h3 {
        font-size: 1.5rem;
    }

    .resorts-grid,
    .places-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Modern 3-Column Grid Layout (Resorts Directory)
   ========================================================================== */

.resorts-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.resorts-modern-grid .resort-card {
    display: flex;
    flex-direction: column;
    background-color: var(--clr-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.resorts-modern-grid .resort-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.resorts-modern-grid .card-image-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.resorts-modern-grid .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.resorts-modern-grid .resort-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.resorts-modern-grid .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resorts-modern-grid .resort-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.resorts-modern-grid .resort-card .desc {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2rem;
    flex-grow: 1;
}

@media (max-width: 1100px) {
    .resorts-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resorts-modern-grid {
        grid-template-columns: 1fr;
    }

    .places-modern-grid {
        grid-template-columns: 1fr;
    }

    .place-card-modern.featured {
        grid-column: span 1;
        height: 380px;
    }
}

/* ==========================================================================
   Smooth Scroll Animations
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}