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

:root {
    --blue-primary: #1e3a8a;
    --blue-secondary: #3b82f6;
    --blue-light: #dbeafe;
    --yellow-primary: #fbbf24;
    --yellow-secondary: #fcd34d;
    --yellow-light: #fef3c7;
    --white: #ffffff;
    --gray-light: #f3f4f6;
    --gray-dark: #4b5563;
    --text-dark: #1f2937;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
}

/* Fix for H1UserAgentFontSizeInSection deprecation warning */
/* Ensure H1 elements don't rely on browser user agent font sizes */
h1 {
    font-size: 1.5rem !important;
}

/* Hero section specific styles - responsive background images */
.hero-bg-image {
    background-image: url('images/hero-768.webp');
}

@media (min-width: 769px) {
    .hero-bg-image {
        background-image: url('images/hero-1280.webp');
    }
}

@media (min-width: 1281px) {
    .hero-bg-image {
        background-image: url('images/hero-1920.webp');
    }
}

/* Hero spinner - GPU accelerated to prevent layout shift */
.hero-spinner {
    position: absolute;
    top: 50%;
    right: 50%;
    width: 200%;
    height: 200%;
    background-color: var(--yellow-primary);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(50%, -50%);
    will-change: transform;
    animation: heroSpin 20s linear infinite;
    contain: strict;
}

@keyframes heroSpin {
    from { transform: translate(50%, -50%) rotate(0deg); }
    to { transform: translate(50%, -50%) rotate(360deg); }
}

.hero-title-shadow {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
}

.hero-subtitle-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-description-shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.7);
}

/* Lazy-loaded images: fade in when loaded to avoid pop-in */
img.lazy-img {
    opacity: 0;
    transition: opacity 0.25s ease-in;
}
img.lazy-img.lazy-loaded {
    opacity: 1;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--white);
    padding: 40px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for H1UserAgentFontSizeInSection deprecation warning */
.hero h1 {
    font-size: 2rem !important;
}

@media (min-width: 768px) {
    .hero {
        padding: 100px 20px;
        min-height: 100vh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--yellow-primary) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 2rem !important;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--yellow-light);
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.4;
}

@media (min-width: 480px) {
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

.hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.5;
    padding: 0 10px;
}

@media (min-width: 480px) {
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.1rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--yellow-primary);
    color: var(--blue-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: fadeInUp 1s ease-out 0.6s both;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

@media (min-width: 480px) {
    .cta-button {
        padding: 15px 40px;
        font-size: 1.1rem;
    }
}

.cta-button:hover {
    background: var(--yellow-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

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

/* Packages Section */
.packages {
    padding: 40px 15px;
    background: var(--white);
}

@media (min-width: 768px) {
    .packages {
        padding: 80px 20px;
    }
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    color: var(--blue-primary);
    line-height: 1.2;
}

@media (min-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

.section-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.5;
    padding: 0 10px;
}

@media (min-width: 480px) {
    .section-subtitle {
        font-size: 1rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 3rem;
    }
}

@media (min-width: 768px) {
    .packages-grid {
        gap: 30px;
    }
}

.package-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--blue-light);
    position: relative;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 480px) {
    .package-card {
        padding: 25px;
    }
}

@media (min-width: 768px) {
    .package-card {
        padding: 30px;
    }
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--blue-primary), var(--yellow-primary));
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--yellow-primary);
}

/* Override yellow border on hover for trip cards */
.trip-card:hover {
    border-color: var(--blue-light);
}

.package-card.featured {
    border-color: var(--blue-light);
    background: linear-gradient(135deg, var(--white) 0%, var(--yellow-light) 100%);
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--yellow-primary);
    color: var(--blue-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.package-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--blue-light);
}

@media (min-width: 480px) {
    .package-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }
}

.package-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blue-primary);
    line-height: 1.3;
    word-wrap: break-word;
}

@media (min-width: 480px) {
    .package-title {
        font-size: 1.5rem;
    }
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--yellow-primary);
    background: var(--blue-light);
    padding: 8px 15px;
    border-radius: 10px;
    white-space: nowrap;
    align-self: flex-start;
}

@media (min-width: 480px) {
    .package-price {
        font-size: 1.8rem;
        align-self: auto;
    }
}

.package-destinations {
    list-style: none;
}

.package-destinations li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

@media (min-width: 480px) {
    .package-destinations li {
        padding: 10px 0;
        font-size: 0.95rem;
    }
}

.package-destinations li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue-secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.more-info {
    text-align: center;
    padding: 20px 15px;
    background: var(--blue-light);
    border-radius: 15px;
    margin-top: 1.5rem;
}

@media (min-width: 480px) {
    .more-info {
        padding: 25px 20px;
        margin-top: 2rem;
    }
}

@media (min-width: 768px) {
    .more-info {
        padding: 30px;
    }
}

.more-info-text {
    font-size: 0.95rem;
    color: var(--blue-primary);
    font-weight: 500;
    line-height: 1.5;
}

@media (min-width: 480px) {
    .more-info-text {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .more-info-text {
        font-size: 1.1rem;
    }
}

/* Notes Section */
.notes {
    padding: 40px 15px;
    background: var(--gray-light);
}

@media (min-width: 768px) {
    .notes {
        padding: 80px 20px;
    }
}

.notes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .notes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-bottom: 2rem;
    }
}

@media (min-width: 768px) {
    .notes-grid {
        gap: 30px;
    }
}

.notes-included,
.notes-excluded {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (min-width: 480px) {
    .notes-included,
    .notes-excluded {
        padding: 25px;
    }
}

@media (min-width: 768px) {
    .notes-included,
    .notes-excluded {
        padding: 30px;
    }
}

.notes-included {
    border-left: 5px solid var(--blue-secondary);
}

.notes-excluded {
    border-left: 5px solid #ef4444;
}

.notes-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--blue-primary);
    line-height: 1.3;
}

@media (min-width: 480px) {
    .notes-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .notes-title {
        font-size: 1.3rem;
    }
}

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

.notes-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (min-width: 480px) {
    .notes-list li {
        padding: 10px 0;
        font-size: 1rem;
    }
}

.notes-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--blue-secondary);
    font-weight: bold;
    font-size: 1.5rem;
}

.pricing-note {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    margin-top: 1.5rem;
    border-left: 5px solid var(--yellow-primary);
}

@media (min-width: 480px) {
    .pricing-note {
        padding: 25px;
        margin-top: 2rem;
    }
}

.pricing-note p {
    color: var(--gray-dark);
    line-height: 1.6;
    font-size: 0.9rem;
}

@media (min-width: 480px) {
    .pricing-note p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* Contact Section */
.contact {
    padding: 40px 15px;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--white);
    text-align: center;
}

@media (min-width: 768px) {
    .contact {
        padding: 80px 20px;
    }
}

.contact .section-title {
    color: var(--white);
}

.contact-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
    padding: 0 10px;
}

@media (min-width: 480px) {
    .contact-subtitle {
        font-size: 1rem;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .contact-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.whatsapp-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    margin-bottom: 1rem;
    min-height: 48px;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 480px) {
    .whatsapp-button {
        flex-direction: row;
        font-size: 1.1rem;
        padding: 18px 35px;
        width: auto;
    }
}

@media (min-width: 768px) {
    .whatsapp-button {
        font-size: 1.2rem;
        padding: 20px 40px;
        gap: 15px;
    }
}

.whatsapp-button:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
}

.phone-number {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0;
}

@media (min-width: 480px) {
    .phone-number {
        font-size: 1rem;
        margin-top: 5px;
    }
}

.contact-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

@media (min-width: 480px) {
    .contact-note {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 25px 15px;
    text-align: center;
    font-size: 0.9rem;
}

@media (min-width: 480px) {
    .footer {
        padding: 30px 20px;
        font-size: 1rem;
    }
}

/* Additional Mobile Optimizations */
.package-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
}

@media (min-width: 480px) {
    .package-badge {
        font-size: 0.85rem;
        padding: 5px 15px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Prevent text overflow on mobile */
* {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Better touch targets for mobile */
button, a, input, select, textarea {
    touch-action: manipulation;
}

/* Transport and Hotel Selection Styles */
.transport-card, .hotel-card {
    transition: all 0.3s ease;
}

.transport-card:hover, .hotel-card:hover {
    transform: translateY(-4px);
}

.transport-checkbox, .hotel-checkbox {
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.transport-checkmark, .hotel-checkmark {
    transition: all 0.2s ease;
}

/* Selected state for transport - thick blue border with inner blue circle */
.transport-checkbox.selected {
    border-width: 3px !important;
    border-color: #0284c7 !important;
}

.transport-inner-circle {
    background-color: #0284c7 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
}

/* Fallback using :has selector for modern browsers */
@supports selector(:has(*)) {
    label:has(.transport-checkbox:checked) .transport-checkbox {
        border-width: 3px !important;
        border-color: #0284c7 !important;
    }
    
    label:has(.transport-checkbox:checked) .transport-inner-circle {
        display: block !important;
    }
}

/* Selected state for hotel - thick blue border with inner blue circle */
.hotel-checkbox.selected {
    border-width: 3px !important;
    border-color: #0284c7 !important;
}

.hotel-inner-circle {
    background-color: #0284c7 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
}

/* Fallback using :has selector for modern browsers */
@supports selector(:has(*)) {
    label:has(.hotel-checkbox:checked) .hotel-checkbox {
        border-width: 3px !important;
        border-color: #0284c7 !important;
    }
    
    label:has(.hotel-checkbox:checked) .hotel-inner-circle {
        display: block !important;
    }
}

/* Selected state for trip - thick blue border with inner blue circle */
.trip-checkbox.selected {
    border-width: 3px !important;
    border-color: #0284c7 !important;
}

.trip-inner-circle {
    background-color: #0284c7 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
}

/* Fallback using :has selector for modern browsers */
@supports selector(:has(*)) {
    label:has(.trip-checkbox:checked) .trip-checkbox {
        border-width: 3px !important;
        border-color: #0284c7 !important;
    }
    
    label:has(.trip-checkbox:checked) .trip-inner-circle {
        display: block !important;
    }
}

/* Selected state for trip cards */
.trip-card.selected .trip-checkmark {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #ffffff !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
}

/* Fallback using :has selector for modern browsers */
@supports selector(:has(*)) {
    label:has(.trip-checkbox:checked) .trip-card .trip-checkmark {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: #ffffff !important;
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
    }
}

.trip-checkbox, .trip-checkmark {
    transition: all 0.3s ease;
}

.trip-checkbox {
    flex-shrink: 0;
}

label {
    display: block;
}

/* Modern scrollbar styles for carousels */
.scrollbar-hide {
    /* Firefox */
    scrollbar-width: none;
    /* Safari and Chrome */
    -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Alternative modern scrollbar styling (if we want styled scrollbars instead of hidden) */
/*
.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background-color: rgba(59, 130, 246, 0.3);
    border-radius: 3px;
    border: none;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background-color: rgba(59, 130, 246, 0.5);
}
*/

/* Activities Banner */
.activities-banner img {
    display: block;
}

/* WhatsApp Floating Button (sticky) */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}
.wa-float svg {
    width: 32px;
    height: 32px;
}
@media (max-width: 768px) {
    .wa-float {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }
    .wa-float svg {
        width: 28px;
        height: 28px;
    }
}
