/* 
    ITO Holidays - Core Stylesheet
    Accent Theme: Sky Blue & Sandy Beige 
*/
:root {
    /* Core Accents requested by user */
    --sky-blue: #7DD3FC;
    --sky-blue-dark: #0284C7;
    --sandy-beige: #E6D5B8;

    /* Neutral / Structural Colors */
    --background-light: #FFFFFF;
    /* Very light beige tint for soft contrast */
    --text-dark: #1E293B;
    /* Slate dark */
    --text-light: #64748B;
    --white: #FFFFFF;

    /* Layout */
    --radius-lg: 16px;
    --radius-md: 8px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Typography Headings */
h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Reusable Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--sky-blue);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--sky-blue-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--sandy-beige);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: #D4BE96;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ==== Navigation Bar ==== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s;
    padding: 24px 0;
}

#navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

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

/* Dynamic Vector Logo Styling */
.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.logo-waves {
    position: absolute;
    width: 140%;
    height: auto;
    top: 25%;
    left: -20%;
    z-index: 0;
    opacity: 0.9;
}

.logo-waves path {
    transition: stroke 0.3s;
}

.logo-ito {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    z-index: 1;
    color: var(--white);
    transition: color 0.3s;
}

#navbar.scrolled .logo-ito {
    color: var(--text-dark);
}

.logo-holidays {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    line-height: 1;
    margin-top: -12px;
    z-index: 2;
    color: var(--white);
    transition: color 0.3s;
}

#navbar.scrolled .logo-holidays {
    color: var(--sky-blue-dark);
}

.logo-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 0.9rem;
    color: var(--sky-blue);
    margin-top: -2px;
    z-index: 2;
}

#navbar.scrolled .logo-tagline {
    color: var(--sky-blue);
}

/* Footer Brand Logo Adjustments */
.footer-logo-ito {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.footer-logo-holidays {
    color: var(--sky-blue);
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    line-height: 1;
    margin-top: -15px;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-right: -40px;
}

.nav-links li a {
    color: var(--white);
    font-weight: 300;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-links li a {
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--sky-blue);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

#navbar.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* ==== Hero Section ==== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-bottom: 0;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: var(--text-dark);
}

.hero-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: heroFader 30s infinite;
}

.hero-slider-img:nth-child(1) { animation-delay: 0s; }
.hero-slider-img:nth-child(2) { animation-delay: 6s; }
.hero-slider-img:nth-child(3) { animation-delay: 12s; }
.hero-slider-img:nth-child(4) { animation-delay: 18s; }
.hero-slider-img:nth-child(5) { animation-delay: 24s; }

@keyframes heroFader {
    0% { opacity: 0; transform: scale(1); }
    6% { opacity: 1; }
    26% { opacity: 1; transform: scale(1.05); }
    35% { opacity: 0; transform: scale(1.06); }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
    z-index: -1;
}

.hero-content {
    z-index: 1;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1;
    max-width: 550px;
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0c4a6e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-left h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin: 15px 0 25px 0;
    letter-spacing: 1px;
}

.hero-left p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.luxury-btn {
    display: inline-block;
    padding: 14px 42px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: var(--white);
    font-weight: 300;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s ease;
    border-radius: 30px;
}

.luxury-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--text-dark);
}

.btn-cyan {
    background-color: var(--sky-blue) !important;
    color: var(--white) !important;
    border: none !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    box-shadow: 0 10px 25px rgba(125, 211, 252, 0.5);
    padding: 14px 40px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cyan:hover {
    background-color: var(--sky-blue-dark) !important;
}

.hero-right {
    display: flex;
    gap: 20px;
    position: relative;
    align-items: center;
}

.hero-dot-pattern {
    position: absolute;
    top: auto;
    bottom: -30px;
    left: -40px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 12px 12px;
    z-index: 0;
}

.hero-min-card {
    width: 200px;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-mid { margin-top: 50px; }
.card-end { margin-top: 100px; }

.hero-min-card img {
    width: 100%; height: 100%; object-fit: cover;
}

.hero-min-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.card-caption {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: var(--white);
    font-weight: 800;
    font-size: 1.4rem;
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 30px;
}

.hero-pagination .arrows i {
    color: var(--white);
    font-size: 1rem;
    margin: 0 5px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hero-pagination .arrows i:hover {
    background: rgba(255,255,255,0.2);
}

.slider-track {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    position: relative;
}

.slider-fill {
    width: 33%;
    height: 100%;
    background: var(--white);
}

.slider-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

@media (max-width: 900px) {
    .hero-split { flex-direction: column; text-align: center; }
    .hero-left { max-width: 100%; }
    .hero-right { justify-content: center; margin-top: 40px; }
    .card-mid, .card-end { margin-top: 0; }
    .hero-overlay { background: rgba(230,240,245,0.85); }
    .hero-left h1 { font-size: 2rem; }
    .hero-pagination { justify-content: center; }
}

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

/* ==== Booking/Search Widget ==== */
.booking-section {
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.shell-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    padding: 50px 60px;
}

.widget-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 8px;
    margin: 0 auto 36px auto;
    width: max-content;
    max-width: 100%;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
    gap: 10px;
}

.tab-btn {
    background: transparent;
    border: none;
    border-radius: 30px;
    padding: 14px 24px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn.active {
    background: var(--white);
    color: var(--sky-blue-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.tab-btn i {
    margin-right: 8px;
}

.widget-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.widget-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    align-items: flex-end;
}

.input-group label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease, background-color 0.3s;
}

.input-group input:focus {
    border-color: var(--sky-blue);
    background-color: var(--white);
}

/* ==== Destinations Section ==== */
.destinations-section {
    background-color: var(--background-light);
    padding: 100px 0;
    margin-top: 150px;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header .sub-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.separator-line {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 30px 0 50px 0;
}





.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.ticket-card {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #E2E8F0;
    transition: transform 0.4s ease, box-shadow 0.4s;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.ticket-image {
    width: 35%;
    height: 100%;
    position: relative;
}

.ticket-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.ticket-card:hover .ticket-image img {
    transform: scale(1.05);
}

.ticket-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}



.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ticket-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--sandy-beige);
    position: absolute;
    right: 32px;
    top: 65%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 5px;
}

.ticket-qr {
    position: absolute;
    right: 20px;
    top: 25%;
    font-size: 2.5rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.ticket-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.ticket-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
    display: block;
}

.ticket-btn {
    display: inline-block;
    color: var(--sky-blue-dark);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticket-btn i {
    margin-left: 5px;
}

/* ==== Visa Free Destinations Section ==== */
.visa-free-section {
    padding: 20px 0 80px;
    background-color: var(--white);
    text-align: center;
}

.visa-free-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.visa-free-section h2 span {
    color: var(--sky-blue-dark);
    font-style: normal;
    font-weight: 800;
}

.visa-free-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .visa-free-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .visa-free-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .visa-free-grid {
        grid-template-columns: 1fr;
    }
}

.visa-free-card {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1 / 1.1;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visa-free-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.visa-free-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visa-free-card:hover img {
    transform: scale(1.05);
}

.visa-free-splash {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: padding-bottom 0.3s ease, background 0.3s ease;
}

.visa-free-card:hover .visa-free-splash {
    padding-bottom: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.1));
}

.visa-free-splash h3 {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Optional subtle border accents */
.splash-srilanka { border-bottom: 4px solid #C3794A; }
.splash-kenya { border-bottom: 4px solid #4C1DB4; }
.splash-bhutan { border-bottom: 4px solid #4FBED8; }
.splash-cambodia { border-bottom: 4px solid #0492E3; }
.splash-malaysia { border-bottom: 4px solid #009BE8; }

/* ==== About Section ==== */
.about-section {
    padding: 80px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    color: var(--sandy-beige);
    margin-bottom: 24px;
}

.about-text {
    text-align: center;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.8;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ==== Footer ==== */
footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: var(--sandy-beige);
    margin-bottom: 16px;
    font-size: 2rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--sky-blue);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sky-blue);
}

.footer-contact address {
    font-style: normal;
    font-family: inherit;
    font-weight: 300;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--sandy-beige);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==== Responsive Design ==== */
@media (max-width: 900px) {
    .about-section {
        padding: 40px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .ticket-card {
        flex-direction: column;
        height: auto;
    }

    .ticket-image {
        flex: none;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* In a real app, toggle a mobile menu class */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .booking-section {
        margin-top: -60px;
    }

    .shell-card {
        padding: 20px;
    }

    .tab-btn {
        padding: 12px 10px;
        font-size: 0.95rem;
    }

    .tab-btn i {
        display: block;
        margin-right: 0;
        margin-bottom: 4px;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }
}

/* ==== Collections Section ==== */
.collection-card {
    position: relative;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.collection-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 1;
}

.collection-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: background 0.3s;
}

.collection-card h3 {
    position: relative;
    z-index: 3;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-card:hover .overlay {
    background: rgba(0, 0, 0, 0.2);
}
