/**
 * Enhanced Frontend Styles for รถตู้เช่านครพนม Van Rental Website
 * Thai Sarabun Font | Orange Theme (#FF6B35)
 * Enhanced with modern animations and effects
 */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8555;
    --secondary-color: #2C3E50;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #27AE60;
    --error-color: #E74C3C;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Advanced Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

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

/* Enhanced Lazy Loading with Skeleton */
img[loading="lazy"] {
    background: linear-gradient(
        90deg,
        #f0f0f0 0px,
        #f8f8f8 40px,
        #f0f0f0 80px
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

img[loading="lazy"].loaded {
    animation: none;
    background: none;
}

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation (Enhanced) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255,255,255,1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-brand i {
    font-size: 1.8rem;
    animation: pulse 2s ease-in-out infinite;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== Hero Section (Enhanced) ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Animated Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

/* Particles Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: rgb(251, 252, 252);
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s both;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.4s both;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.6s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.hero-scroll a {
    color: white;
    font-size: 2.5rem;
    opacity: 0.9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-scroll a:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.hero-slide {
    display: none;
}

.hero-slide.active {
    display: block;
}
/* ===== Buttons (Enhanced) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    min-height: 48px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    transition: var(--transition);
}

.btn:hover i {
    transform: scale(1.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--bg-white), #f8f8f8);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== Sections (Enhanced) ===== */
section {
    padding: 100px 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-top: 20px;
}

/* ===== Welcome Section (Enhanced) ===== */
.welcome {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,107,53,0.05) 0%, transparent 70%);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.welcome-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-content p {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* ===== Services Section (Enhanced) ===== */
.services {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.08), transparent);
    transition: left 0.8s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255,107,53,0.25);
    border-color: var(--primary-light);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.8rem;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

/* Service Image Styles */
.service-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

.service-icon img.service-image {
    width: 100%;
    height: 100%;
}

.service-card:hover .service-image {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255,107,53,0.4);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-features {
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.service-features i {
    color: var(--success-color);
    font-size: 1rem;
}

/* ===== Vehicles Section (Enhanced) ===== */
.vehicles {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.vehicle-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    position: relative;
}

.vehicle-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,107,53,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s;
    pointer-events: none;
}

.vehicle-card:hover::after {
    transform: translateX(100%);
}

.vehicle-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.vehicle-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.15);
}

.vehicle-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.vehicle-capacity {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,107,53,0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

.vehicle-content {
    padding: 30px;
}

.vehicle-name {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.vehicle-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.vehicle-features {
    margin-bottom: 25px;
}

.vehicle-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 1rem;
}

.vehicle-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ===== Destinations Section (Enhanced) ===== */
.destinations {
    background: var(--bg-white);
}

.destinations-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.destination-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.destination-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-lg);
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.destination-item:hover .destination-image img {
    transform: scale(1.1) rotate(2deg);
}

.destination-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 6rem;
}

.destination-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255,107,53,0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

.destination-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.destination-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.destination-location i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.destination-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 25px;
}

.destination-highlights h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.destination-highlights ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 1.05rem;
}

.destination-highlights i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* ===== Gallery Section (Tab Style) ===== */
.gallery {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* Tab Navigation */
.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.gallery-tab-btn {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.gallery-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    color: var(--primary-color);
}

.gallery-tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.gallery-tab-badge {
    background-color: rgba(0,0,0,0.1);
    color: inherit;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.gallery-tab-btn.active .gallery-tab-badge {
    background-color: rgba(255,255,255,0.2);
    color: white;
}

/* Tab Content */
.gallery-tab-content {
    min-height: 400px;
}

.gallery-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.gallery-pane.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    /* Improve image rendering sharpness */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.9), rgba(229,90,43,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: scale(0);
    transition: var(--transition);
}

/* Adjusted scale for better sharpness on hover */
.gallery-item:hover .gallery-image {
    transform: scale(1.15);
}

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Gallery Modal (Enhanced) */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.4s ease;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.2);
}

/* Responsive adjustments for Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .gallery-item-wrapper {
        padding-bottom: 100%;
    }
    
    .gallery-modal-content {
        max-width: 95vw;
        max-height: 85vh;
    }

    .gallery-modal-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }
    
    .gallery-item {
        border-radius: 10px;
    }
    
    .gallery-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* ===== Packages Section (Enhanced) ===== */
.packages {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

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

.package-card {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--error-color), #c0392b);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    z-index: 1;
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

.package-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.package-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.package-card:hover .package-image img {
    transform: scale(1.15);
}

.package-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4.5rem;
}

.package-content {
    padding: 30px;
}

.package-name {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.package-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.package-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.package-inclusions h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.package-inclusions ul {
    margin-bottom: 25px;
}

.package-inclusions li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 1rem;
}

.package-inclusions i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* ===== Contact Section (Enhanced) ===== */
.contact {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF6B35' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.contact-info-box,
.contact-form-box {
    background-color: var(--bg-white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-info-box:hover,
.contact-form-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-info-box h3,
.contact-form-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.contact-info-box h3::after,
.contact-form-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    transition: var(--transition);
    padding: 10px;
    border-radius: 12px;
}

.contact-info-item:hover {
    background-color: var(--bg-light);
    transform: translateX(10px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(255,107,53,0.3);
    transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-details p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.contact-social {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 2px solid var(--border-color);
}

.contact-social h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* ===== Forms (Enhanced) ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.required {
    color: var(--error-color);
}

.form-control {
    padding: 14px 18px;
    font-size: 1.05rem;
    font-family: inherit;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
    min-height: 48px;
    background-color: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: var(--primary-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FF6B35' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* ===== Footer (Enhanced) ===== */
.footer {
    background: linear-gradient(135deg, var(--secondary-color), #1a252f);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 45px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.footer-section p {
    line-height: 2;
    opacity: 0.9;
    font-size: 1.05rem;
}

.footer-section ul li {
    padding: 8px 0;
    transition: var(--transition);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    opacity: 0.9;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.footer .social-link:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.85;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* ===== Toast Notifications (Enhanced) ===== */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 320px;
    max-width: 420px;
    padding: 18px 22px;
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid;
    backdrop-filter: blur(10px);
}

.toast.success {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, white, rgba(39, 174, 96, 0.05));
}

.toast.error {
    border-left-color: var(--error-color);
    background: linear-gradient(135deg, white, rgba(231, 76, 60, 0.05));
}

.toast.info {
    border-left-color: #3498DB;
    background: linear-gradient(135deg, white, rgba(52, 152, 219, 0.05));
}

.toast-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: var(--success-color);
    animation: pulse 1s ease-in-out;
}

.toast.error .toast-icon {
    color: var(--error-color);
    animation: pulse 1s ease-in-out;
}

.toast.info .toast-icon {
    color: #3498DB;
    animation: pulse 1s ease-in-out;
}

.toast-message {
    flex: 1;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.toast-close {
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: var(--transition);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.toast-close:hover {
    color: var(--text-dark);
    background-color: var(--bg-light);
}

@keyframes slideIn {
    from {
        transform: translateX(450px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.toast.hide {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(450px) scale(0.8);
        opacity: 0;
    }
}

/* ===== Loading States ===== */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
}

/* ===== Utility Classes ===== */
.no-content {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    font-size: 1.3rem;
}

.no-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ===== Responsive Design ===== */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .destination-item {
        gap: 35px;
    }
    
    .destination-image {
        height: 350px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .vehicles-grid,
    .packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .service-image {
        width: 80px;
        height: 80px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 30px;
        gap: 25px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.3rem;
        padding: 12px 0;
    }
    
    /* Hero */
    .hero {
        min-height: 600px;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Welcome */
    .welcome {
        padding: 40px 25px;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    /* Vehicles */
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Destinations */
    .destination-item {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .destination-left .destination-image,
    .destination-left .destination-content,
    .destination-right .destination-image,
    .destination-right .destination-content {
        order: initial;
    }
    
    .destination-image {
        height: 280px;
    }
    
    .destination-name {
        font-size: 2rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    /* Packages */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Contact */
    .contact-info-box,
    .contact-form-box {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    /* Toast */
    .toast-container {
        left: 15px;
        right: 15px;
        bottom: 15px;
    }
    
    .toast {
        min-width: auto;
        max-width: 100%;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
    
    .service-image {
        width: 70px;
        height: 70px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .welcome-content h2 {
        font-size: 1.8rem;
    }
    
    .welcome-content p {
        font-size: 1rem;
    }
}

/* ===== Enhanced Cards Styles ===== */
.package-card,
.vehicle-card,
.destination-item {
    transition: var(--transition);
}

.package-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-slow);
}

.package-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.package-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.package-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.package-card:hover .package-image {
    transform: scale(1.1);
}

.package-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 53, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.package-card:hover .package-overlay {
    opacity: 1;
}

.package-badge.premium {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8555 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.vehicle-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
}

.vehicle-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.vehicle-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.vehicle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.1);
}

.vehicle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 87, 108, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-overlay {
    opacity: 1;
}

.vehicle-capacity-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8555 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.destination-item {
    background: transparent;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.destination-item.destination-left {
    grid-template-columns: 1fr 1fr;
}

.destination-item.destination-right {
    grid-template-columns: 1fr 1fr;
}

.destination-item.destination-right .destination-image-wrapper {
    order: 2;
}

.destination-item.destination-right .destination-content {
    order: 1;
}

.destination-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 400px;
}

.destination-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.destination-item:hover .destination-image {
    transform: scale(1.08);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(79, 172, 254, 0.1);
    opacity: 0;
    transition: var(--transition);
}

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

.destination-badge.featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

/* Gallery Enhancements */
.gallery-category {
    margin-bottom: 50px;
}

.gallery-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.gallery-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.gallery-count {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8555 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

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

.gallery-item-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-light);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 100%;
    height: 100%;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

/* Updated Gallery Image Styles for Sharpness */
.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    /* Improve image rendering sharpness */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
    z-index: 5;
}

/* Adjusted scale for better sharpness on hover */
.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

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

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
    transition: var(--transition);
}

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

/* Text Color Utilities */
.text-success {
    color: var(--success-color);
}

.text-warning {
    color: #FFA500;
}

.text-primary {
    color: var(--primary-color);
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .hero-scroll,
    .btn,
    .contact-form,
    .footer,
    .toast-container {
        display: none !important;
    }

    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}
