@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    /* Color Palette */
    --c-blue: #006699;
    --c-blue-dark: #004c73;
    --c-green: #2E8B57;
    --c-orange: #FF7F50;
    --c-orange-hover: #ff6a33;
    
    --c-text-main: #333333;
    --c-text-muted: #666666;
    --c-bg-light: #f8fbff;
    --c-white: #ffffff;
    --c-border: #eaeaea;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    /* Ar Raha Inspired Colors */
    --c-arraha-navy: #024180;
    --c-arraha-red: #cc0000;
    --c-arraha-lblue: #00bfff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--c-text-main);
    line-height: 1.6;
    background-color: var(--c-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--c-bg-light);
}

.bg-soft-blue {
    background-color: #f0f7ff;
}

.bg-gradient-subtle {
    background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
}

.bg-gradient-light {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--c-orange);
    color: var(--c-white);
}

.btn-primary:hover {
    background: var(--c-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--c-blue);
    color: var(--c-white);
}

.btn-secondary:hover {
    background: var(--c-blue-dark);
}

.btn-outline {
    background: transparent;
    color: var(--c-white);
    border: 2px solid var(--c-white);
}

.btn-outline:hover {
    background: var(--c-white);
    color: var(--c-text-main);
}

.btn-text {
    background: transparent;
    color: var(--c-blue);
    padding: 0;
    border-radius: 0;
}

.btn-text:hover {
    color: var(--c-orange);
    gap: 12px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 24px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-white);
    transition: var(--transition);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--c-orange);
}

.header.scrolled .logo {
    color: var(--c-blue);
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--c-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.header.scrolled .nav-links a {
    color: var(--c-text-main);
}

.nav-links a:hover {
    color: var(--c-orange);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--c-white);
    cursor: pointer;
}

.header.scrolled .menu-toggle {
    color: var(--c-text-main);
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
}

.hero-inner {
    height: 40vh;
    min-height: 300px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--c-white);
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Stats Counter Section */
.stats-counter-section {
    background-color: #f9fbff;
    padding: 60px 0;
    border-bottom: 2px solid #f0f4f8;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #4a5d4e; /* Deep earthy green from the image */
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

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

/* Cards & Grid */
.grid {
    display: grid;
    gap: 32px;
}

.destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: var(--c-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.dest-card img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--c-blue);
    margin-bottom: 12px;
}

.card-content p {
    color: var(--c-text-muted);
    margin-bottom: 20px;
}

/* Section Header */
.section-title {
    font-size: 2.5rem;
    color: var(--c-blue);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    margin-bottom: 48px;
}

/* Highlights */
.highlights-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.highlight-item {
    text-align: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--c-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-sm);
    color: var(--c-green);
    transition: var(--transition);
}

.icon-circle i, .icon-circle svg {
    width: 32px;
    height: 32px;
}

.highlight-item:hover .icon-circle {
    background: var(--c-green);
    color: var(--c-white);
    transform: scale(1.1);
}

.highlight-item h3 {
    margin-bottom: 12px;
}

.highlight-item p {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

/* Packages */
.packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.package-card {
    border: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
}

.pkg-header {
    background: var(--c-blue);
    color: var(--c-white);
    padding: 24px;
    text-align: center;
}

.pkg-duration {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 12px;
}

.pkg-body {
    padding: 24px;
    flex-grow: 1;
}

.pkg-features {
    margin-top: 20px;
}

.pkg-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--c-text-muted);
}

.pkg-features li i {
    color: var(--c-green);
    width: 20px;
    height: 20px;
}

.pkg-footer {
    padding: 24px;
    border-top: 1px solid var(--c-border);
}

/* Ar Raha Redesign Styles */
.arraha-card {
    background: var(--c-white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.arraha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.arraha-title-top {
    padding: 15px;
    text-align: center;
    background: #fdfdfd;
    border-bottom: 1px solid #f0f0f0;
}

.arraha-title-top h3 {
    margin: 0;
    color: var(--c-arraha-navy);
    font-size: 1.25rem;
    font-weight: 700;
}

.arraha-img-container {
    position: relative;
    width: 100%;
    height: 220px;
}

.arraha-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 0;
    right: 15px;
    background: var(--c-arraha-red);
    color: white;
    padding: 10px 8px;
    font-weight: 700;
    font-size: 0.9rem;
    writing-mode: vertical-lr;
    text-orientation: upright;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
    z-index: 10;
}

.arraha-attributes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
}

.duration-pill {
    background: var(--c-arraha-lblue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icons {
    display: flex;
    gap: 12px;
    color: #444;
}

.service-icons i {
    width: 18px;
    height: 18px;
}

.arraha-booking-info {
    padding: 15px;
    font-size: 0.85rem;
    border-bottom: 1px dashed #ddd;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: #333;
    font-weight: 600;
}

.arraha-price-section {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-box {
    text-align: right;
}

.original-price {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-decoration: line-through;
}

.discount-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--c-arraha-red);
    line-height: 1;
}

.price-unit {
    font-size: 0.75rem;
    color: #666;
}

.view-more-btn {
    background: var(--c-arraha-navy);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.view-more-btn:hover {
    background: #013160;
}

/* Missing Ar Raha Classes */
.arraha-img-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.arraha-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arraha-card:hover .arraha-img-container img {
    transform: scale(1.1);
}

.arraha-attributes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
}

.duration-pill {
    background: var(--c-arraha-lblue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icons {
    display: flex;
    gap: 12px;
    color: #444;
}

.service-icons i {
    width: 18px;
    height: 18px;
}

.arraha-price-section {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
}

/* About */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-flex.about-text-only {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--c-text-muted);
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 2px solid var(--c-border);
    padding-top: 30px;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c-orange);
    font-family: var(--font-heading);
}

.about-image {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: url('https://loremflickr.com/800/800/srilanka,travel/all') center/cover;
    box-shadow: var(--shadow-lg);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.info-block i {
    color: var(--c-orange);
    background: var(--c-bg-light);
    padding: 16px;
    border-radius: 12px;
    width: 56px;
    height: 56px;
}

.info-block h4 {
    margin-bottom: 4px;
    color: var(--c-blue);
}

.info-block p {
    color: var(--c-text-muted);
}

.contact-form {
    background: var(--c-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--c-white);
    color: var(--c-text-main);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--c-blue);
    box-shadow: 0 0 0 3px rgba(0,102,153,0.1);
}

/* SlimSelect Customization */
.ss-main {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: 1px solid var(--c-border) !important;
    font-family: var(--font-body) !important;
    transition: var(--transition) !important;
}

.ss-main:focus {
    border-color: var(--c-blue) !important;
    box-shadow: 0 0 0 3px rgba(0,102,153,0.1) !important;
}

.ss-content {
    border-radius: 8px !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid var(--c-border) !important;
    margin-top: 5px !important;
}

.ss-search input {
    border-radius: 6px !important;
    padding: 10px !important;
}

.ss-list .ss-option:hover, .ss-list .ss-option.ss-highlighted {
    background-color: var(--c-blue) !important;
    color: white !important;
}

.ss-list .ss-option.ss-selected {
    background-color: var(--c-bg-light) !important;
    color: var(--c-blue) !important;
}

/* Footer */
.footer {
    background: var(--c-blue-dark);
    color: var(--c-white);
    padding: 80px 0 0;
}

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

.footer-logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer p {
    color: rgba(255,255,255,0.7);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--c-orange);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
}

.social-links a i.fa-brands {
    font-size: 20px;
}

.social-links a:hover {
    background: var(--c-orange);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float i {
    width: 30px;
    height: 30px;
}

.whatsapp-float i.fa-brands {
    font-size: 34px;
    width: auto;
    height: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebc5a;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--c-white);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 16px;
    position: relative;
    overflow-y: auto;
    padding: 40px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--c-bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-main);
    transition: var(--transition);
}

.close-modal:hover {
    background: #ffe5e5;
    color: red;
}

.itinerary-day {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-border);
}

.itinerary-day h4 {
    color: var(--c-orange);
    margin-bottom: 8px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* Staggered scroll-reveal delays for highlight/service cards */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

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

/* Scroll Reveal Animations - Robust Version */
.scroll-reveal {
    opacity: 1; /* Visible by default to avoid issues if JS fails */
    transform: translateY(0);
}

@media screen and (prefers-reduced-motion: no-preference) {
    /* Only hide if we intend to animate */
    html.js-enabled .scroll-reveal:not(.active) {
        opacity: 0;
        transform: translateY(30px);
    }
}

.scroll-reveal {
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover Effects */
.card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
}
.dest-card img {
    transition: transform 0.5s ease;
}
.card:hover .dest-card img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
    .about-flex, .contact-grid {
        flex-direction: column;
    }
    .hero h1 { font-size: 2.5rem; }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--c-white);
        padding: 20px;
        box-shadow: var(--shadow-sm);
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-links a {
        color: var(--c-text-main);
    }
    
    .menu-toggle {
        display: block;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    overflow: hidden;
}

.excellent-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #333;
}

.header-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.star-filled {
    fill: #fbbc04;
    color: #fbbc04;
    width: 28px;
    height: 28px;
}

.based-on {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 12px;
}

.google-brand {
    margin-bottom: 40px;
}

.reviews-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
}

.reviews-carousel {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.review-card {
    min-width: calc((100% - 40px) / 3);
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid #eee;
}

@media (max-width: 992px) {
    .review-card {
        min-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        padding: 0 10px;
    }
    .carousel-nav {
        display: none !important;
    }
    .review-card {
        min-width: 100%;
    }
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.user-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.avatar, .avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    object-fit: cover;
}

.meta-text h4 {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
}

.meta-text span {
    font-size: 0.8rem;
    color: #888;
}

.card-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars-yellow {
    color: #fbbc04;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.v-badge {
    color: #1a73e8;
    width: 16px;
    height: 16px;
}

.review-body {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
    overflow: hidden;
}

.read-more {
    font-size: 0.85rem;
    color: #777;
    font-weight: 600;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    transition: var(--transition);
}

.carousel-nav:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-nav.prev { left: 0; }
.carousel-nav.next { right: 0; }

.trustindex-v-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 0.85rem;
    color: #666;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--c-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 102, 153, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--c-white);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-controls {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.upload-mock-btn {
    background: var(--c-green);
    color: var(--c-white);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.upload-mock-btn:hover {
    background: #246d45;
    transform: translateY(-2px);
}

/* Package Details Layout */
.details-container {
    padding: 60px 0 100px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.timeline-title {
    margin-bottom: 30px;
    color: var(--c-blue);
    font-size: 1.8rem;
    font-family: var(--font-heading);
}

.itinerary-timeline {
    position: relative;
    padding-left: 40px;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: linear-gradient(to bottom, var(--c-blue) 0%, var(--c-orange) 100%);
    border-radius: 4px;
}

.itinerary-day-card {
    position: relative;
    background: var(--c-white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.itinerary-day-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 153, 0.3);
}

.itinerary-day-card::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 28px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c-white);
    border: 4px solid var(--c-orange);
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.2);
    z-index: 2;
    transition: var(--transition);
}

.itinerary-day-card:hover::before {
    background: var(--c-orange);
    transform: scale(1.1);
}

.itinerary-day-card h4 {
    color: var(--c-blue);
    font-size: 1.25rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.itinerary-day-card h4 span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-orange);
    background: rgba(255, 127, 80, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.itinerary-day-card p {
    color: var(--c-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.booking-sidebar-card {
    position: sticky;
    top: 120px;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.sidebar-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--c-arraha-red);
    color: white;
    padding: 6px 12px;
    font-weight: 700;
    border-radius: 6px;
    font-size: 0.85rem;
}

.sidebar-pkg-title {
    font-size: 1.5rem;
    color: var(--c-arraha-navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.sidebar-duration-pill {
    display: inline-block;
    background: var(--c-arraha-lblue);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.sidebar-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbff;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 153, 0.05);
}

.sidebar-price-label {
    font-weight: 500;
    color: var(--c-text-muted);
}

.sidebar-price-box {
    text-align: right;
}

.sidebar-original-price {
    font-size: 0.9rem;
    color: #888;
    text-decoration: line-through;
    display: block;
}

.sidebar-discount-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--c-arraha-red);
    line-height: 1.1;
    display: block;
}

.sidebar-price-unit {
    font-size: 0.8rem;
    color: #666;
}

.sidebar-booking-details {
    border-top: 1px dashed var(--c-border);
    border-bottom: 1px dashed var(--c-border);
    padding: 16px 0;
    margin-bottom: 24px;
}

.sidebar-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.sidebar-detail-row:last-child {
    margin-bottom: 0;
}

.sidebar-detail-label {
    color: var(--c-text-muted);
}

.sidebar-detail-val {
    font-weight: 600;
    color: var(--c-text-main);
}

.sidebar-services {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    color: var(--c-text-muted);
}

.sidebar-services span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.sidebar-services i {
    width: 18px;
    height: 18px;
    color: var(--c-blue);
}

.sidebar-btn-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.sidebar-btn-booking:hover {
    background: #1ebc5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.sidebar-btn-booking i {
    width: 22px;
    height: 22px;
}

.fallback-box {
    text-align: center;
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.fallback-box h2 {
    color: var(--c-blue);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.fallback-box p {
    color: var(--c-text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsiveness for details page */
@media (max-width: 992px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .booking-sidebar-card {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .itinerary-timeline {
        padding-left: 25px;
    }
    
    .itinerary-timeline::before {
        left: 8px;
    }
    
    .itinerary-day-card::before {
        left: -24px;
        width: 14px;
        height: 14px;
        border-width: 3px;
        top: 22px;
    }
    
    .itinerary-day-card {
        padding: 16px;
    }
    
    .itinerary-day-card h4 {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
