/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    --color-primary: #e32222;
    --color-primary-dark: #cc1f1f;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #f8fafc;
    --color-bg-muted: #f1f5f9;
    --color-white: #ffffff;
    --color-dark: #0f172a;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

/* Elementor Overrides */
.elementor-page .site,
.elementor-page .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-page .wrap {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Force Hero Slider to be full width */
.elementor-page .hero-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: 100vw;
}

/* Fix Admin Bar Spacing for Fixed Header */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Restore containment for inner content */
.elementor-page .hero-slider .wrap {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    width: 100% !important;
}

/* =========================================
   2. Layout & Utilities
   ========================================= */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.wrap--narrow {
    max-width: 800px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section--muted {
    background: var(--color-bg-muted);
}

.section--dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.title-lg {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
    color: inherit;
}

.subtle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 16px;
}

/* =========================================
   3. Components
   ========================================= */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(227, 34, 34, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(227, 34, 34, 0.4);
    color: var(--color-white);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-ghost-dark {
    background: transparent;
    color: var(--color-dark);
    border-color: #e2e8f0;
}

.btn-ghost-dark:hover {
    border-color: var(--color-dark);
    background: #f8fafc;
    color: var(--color-dark);
}

.btn-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link:hover {
    color: var(--color-primary-dark);
    gap: 8px;
}

/* Pills & Badges */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    background: #f1f5f9;
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 60%;
}

.card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card__thumb img {
    transform: scale(1.1);
}

.card__overlay-btn {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card__overlay-btn i {
    font-size: 2rem;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.2);
    padding: 16px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.card:hover .card__overlay-btn {
    opacity: 1;
}

.card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 12px 0 8px;
    line-height: 1.4;
}

.card__title a {
    color: var(--color-dark);
}

.card__title a:hover {
    color: var(--color-primary);
}

.card__excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex: 1;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: auto;
}

.price__label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    display: block;
}

.price__amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-dark);
}

/* =========================================
   4. Hero Slider (Full Width)
   ========================================= */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 650px;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-slider__slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s linear;
}

.hero-slide.active .hero-slide__bg {
    transform: scale(1.1);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 80px;
}

.hero-slide__inner {
    max-width: 900px;
    color: var(--color-white);
}

.hero-slide__title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 24px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
}

.hero-slide.active .hero-slide__title {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide__desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.5s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide.active .hero-slide__desc {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide__actions {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.7s;
}

.hero-slide.active .hero-slide__actions {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide__meta {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.8s ease 0.4s;
}

.hero-slide.active .hero-slide__meta {
    opacity: 1;
}

.hero-slider__thumbs {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0 24px;
}

.hero-slider__thumbs-inner {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.hero-slider__thumbs-inner::-webkit-scrollbar {
    display: none;
}

.hero-thumb {
    flex: 0 0 auto;
    width: 220px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hero-thumb:hover,
.hero-thumb.active {
    opacity: 1;
}

.hero-thumb__progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.hero-thumb__progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: var(--color-primary);
}

/* =========================================
   5. Section Specifics
   ========================================= */
/* Stats */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat {
    background: var(--color-white);
    padding: 40px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.feature {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid #e2e8f0;
}

.feature--dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature__icon {
    width: 64px;
    height: 64px;
    background: rgba(227, 34, 34, 0.1);
    color: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.feature--dark .feature__icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.destination-card {
    position: relative;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    background: #000;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.destination-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.destination-card__bg img {
    width: 100%;
    z-index: 1;
}

.destination-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    z-index: 2;
    color: white;
}

.destination-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: var(--color-dark);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: #e32222;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    margin-top: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.destination-card:hover .btn-text {
    opacity: 1;
    transform: translateY(0);
}

/* Styles Grid */
.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.style-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    gap: 16px;
}

.style-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.style-card__icon {
    font-size: 2rem;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.style-card:hover .style-card__icon {
    color: var(--color-primary);
}

.style-card__name {
    font-weight: 700;
    color: var(--color-dark);
}

/* Gallery Masonry */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay i {
    font-size: 2rem;
    color: var(--color-white);
}

/* Blog */
.card--blog .card__body {
    padding: 32px;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 24px;
}

.faq-item {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--color-dark);
}

.faq-answer {
    color: var(--color-text-light);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .title-lg {
        font-size: 2.25rem;
    }

    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }

    .hero-slider__thumbs {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .stat-row {
        gap: 16px;
    }

    .stat {
        padding: 24px;
    }
}

/* =========================================
   6. Footer
   ========================================= */
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 24px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 16px;
    color: var(--color-dark);
}

.footer-brand p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--color-dark);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--color-text-light);
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex !important;
    gap: 24px !important;
}

.footer-legal-links li {
    margin: 0;
    width: auto;
}

.footer-legal-links a {
    color: var(--color-text-light);
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

/* =========================================
   Fix Header Overlap
   ========================================= */
.simalons-top-bar {
    position: relative;
    z-index: 50;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--color-dark);
    /* Ensure background is opaque */
    width: 100%;
}

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Fix Destination Card Link */
.destination-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}