.tm-marquee { position: relative; display: grid; gap: 0.6rem; }
.tm-row { overflow: hidden; }
.tm-track { display: inline-flex; gap: 1rem; will-change: transform; }
.tm-item { flex: 0 0 auto; }
.tm-card { background: #fff; border: 1px solid rgba(212,175,55,0.18); border-radius: 14px; padding: 1rem; box-shadow: 0 10px 22px rgba(0,0,0,0.08); width: 320px; }
.tm-stars { color: #d4af37; font-size: .9rem; letter-spacing: 1px; margin-bottom: .5rem; }
.tm-author { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; }
.tm-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #d4af37; }
.tm-author h4 { font-size: .95rem; margin: 0; }
.tm-author span { font-size: .8rem; color: #777; }

@keyframes tm-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tm-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.tm-row-top .tm-track { animation: tm-left 30s linear infinite; }
.tm-row-bottom .tm-track { animation: tm-right 30s linear infinite; }

@media (max-width: 768px) {
  .tm-card { width: 280px; padding: .9rem; }
}
.reviews-grid { margin-top: 0.5rem; }
.reviews-grid .review-card { border: 1px solid rgba(212,175,55,0.2); border-left: 4px solid #d4af37; border-radius: 14px; background: rgba(255,255,255,0.92); transition: transform .25s ease, box-shadow .25s ease; }
.reviews-grid .review-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.12); }
.reviews-grid .card-body { padding: 0.9rem 1rem; }
.reviews-grid .card-text { color: #555; line-height: 1.5; }
.reviews-grid .review-badge { background: #d4af37; color: #fff; border-radius: 999px; padding: 0.15rem 0.45rem; font-size: .65rem; }
.reviews-grid .text-warning { letter-spacing: 1px; }

@media (max-width: 768px) {
  .reviews-grid .review-card { border-left-width: 3px; }
  .reviews-grid .card-body { padding: 0.8rem; }
}
.categories-carousel .carousel { overflow: hidden; border-radius: 16px; }
.categories-carousel .carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; background-color: #d4af37; }
.categories-carousel .carousel-indicators .active { background-color: #b8941f; }
.categories-carousel .cat-card { border: none; overflow: hidden; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); transition: transform .3s ease, box-shadow .3s ease; position: relative; z-index: 35; }
.categories-carousel .cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.categories-carousel .cat-card .card-img-top { height: 120px; object-fit: cover; }
.categories-carousel .cat-card .card-body { padding: .6rem .75rem; }
.categories-carousel .cat-card h6 { font-size: .95rem; font-weight: 700; color: #333; margin: 0; }
.categories-carousel .carousel-control-prev, .categories-carousel .carousel-control-next { width: 8%; }
.categories-carousel .carousel-control-prev { left: -80px !important; }
.categories-carousel .carousel-control-next { right: -80px !important; }
.categories-carousel .carousel-control-prev-icon, .categories-carousel .carousel-control-next-icon { filter: invert(1) grayscale(1); }
/* Categories Carousel styles */
.categories-carousel .cat-card .card-img-top { height: 120px; object-fit: cover; }
/* Categories görselleri her zaman görünür—fade-in çakışmalarını ezer */
.categories-carousel .cat-card .card-img-top { opacity: 1 !important; }

.categories-carousel .cat-card h6 { font-size: 0.95rem; font-weight: 600; }
.categories-carousel .carousel-control-prev-icon,
.categories-carousel .carousel-control-next-icon { filter: invert(1) grayscale(1); }
.categories-carousel .carousel { overflow: hidden; }
.categories-carousel .container { 
    max-width: 100% !important; 
    padding: 0 10px !important; 
    position: relative;
    z-index: 30; /* Daha yüksek z-index */
}
.categories-carousel .col-lg-2-4 { 
    flex: 0 0 20% !important; 
    max-width: 20% !important; 
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: min(100vw, 1500px);
    margin: 0 auto;
    padding: 0 clamp(6px, 1.6vw, 16px);
}

/* Reduce side paddings specifically for Tours and Categories */
.tours > .container,
.categories > .container {
    max-width: 100%;
    padding-left: clamp(4px, 1vw, 12px);
    padding-right: clamp(4px, 1vw, 12px);
}

/* Header Styles - Modern Glassmorphism Design */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1030;
    transition: all 0.3s ease;
    background-image: url('../images/Cappadocia-background-2.png');
    background-repeat: repeat;
    background-size: clamp(500px, 45vw, 900px) auto;
    background-position: center;
    overflow: hidden;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
    position: relative;
}

.nav-container { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.logo {
    position: relative;
    z-index: 9999;
    margin-left: 0;
    flex-shrink: 0;
    max-width: fit-content;
}

.logo-link {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 9999;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 2.2em;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 9999;
    display: inline-block;
    visibility: visible;
    opacity: 1;
    vertical-align: middle;
    margin: 0 0.1em;
}

.logo h2 {
    color: #d4af37;
    font-weight: 800;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
}

.logo-text {
    display: inline-block;
}

.logo-link:hover h2 {
    text-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

/* Logo protection from balloon animation */
.logo, .logo-link, .logo-img {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu a:hover {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}


/* Language Selector Enhanced */
.language-selector {
    position: relative;
    z-index: 10;
}

.language-selector .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-selector .btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #d4af37;
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #d4af37;
}

/* Floating Balloons Animation */
.floating-balloon {
    position: absolute;
    width: 30px;
    height: 40px;
    background-image: url('../images/airbaloon-icon-removebg-preview.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    animation: floatUp 8s linear infinite;
    z-index: -1;
}

.floating-balloon:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
    transform: scale(0.8);
}

.floating-balloon:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 10s;
    transform: scale(1.1);
}

.floating-balloon:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 14s;
    transform: scale(0.9);
}

.floating-balloon:nth-child(4) {
    left: 60%;
    animation-delay: 1s;
    animation-duration: 11s;
    transform: scale(1.2);
}

.floating-balloon:nth-child(5) {
    left: 75%;
    animation-delay: 3s;
    animation-duration: 13s;
    transform: scale(0.7);
}

.floating-balloon:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 9s;
    transform: scale(1.0);
}

.floating-balloon:nth-child(7) {
    left: 15%;
    animation-delay: 6s;
    animation-duration: 15s;
    transform: scale(0.6);
}

@keyframes floatUp {
    0% {
        transform: translateY(150px) scale(var(--scale, 1));
        opacity: 0;
    }
    5% {
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    85% {
        opacity: 0.6;
    }
    95% {
        opacity: 0;
    }
    100% {
        transform: translateY(-200px) scale(var(--scale, 1));
        opacity: 0;
    }
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 0.5rem;
        gap: 0.5rem;
        justify-content: space-between;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        z-index: 1000;
        margin-left: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        margin: 0.5rem 0;
        padding: 1rem 2rem;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 30px;
        width: 200px;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 1.8em;
        margin: 0 0.05em;
    }
    
    
    .language-selector {
        margin-left: 0;
    }
    
    /* Mobile Categories Fix */
    .categories-carousel .carousel-control-prev {
        left: -40px !important;
    }
    
    .categories-carousel .carousel-control-next {
        right: -40px !important;
    }
    
    .categories-carousel .cat-card .card-img-top {
        height: 100px;
    }
    
    .categories-carousel .cat-card .card-body {
        padding: 0.3rem 0.4rem !important;
    }
    
    .categories-carousel .cat-card .card-body.py-2 {
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }
    
    .categories-carousel .cat-card h6 {
        font-size: 0.8rem;
    }
    
    /* Fix card squeezing on mobile - More aggressive approach */
    .categories-carousel .col-6 {
        padding-left: 6px !important;
        padding-right: 6px !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .categories-carousel .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
        --bs-gutter-x: 0 !important;
    }
    
    .categories-carousel .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
    }
    
    .categories-carousel .cat-card {
        margin: 2px !important;
        width: calc(100% - 4px) !important;
        border-radius: 8px !important;
    }
    
    .categories-carousel .carousel-inner {
        padding: 0 !important;
    }
    
    .categories-carousel .carousel-item {
        padding: 0 !important;
    }
    
    /* Override Bootstrap g-3 class */
    .categories-carousel .row.g-3 {
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
    }
    
    .categories-carousel .row.g-3 > * {
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-top: 0 !important;
    }
}

/* Fixed WhatsApp Icon */
.fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.fixed-whatsapp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    transform: translate(-50%, -50%);
    animation: pulse-wave 2s infinite;
    z-index: -1;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50% !important;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-btn i {
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover i {
    transform: scale(1.1);
}

@keyframes pulse-wave {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Mobile WhatsApp Icon */
@media (max-width: 768px) {
    .fixed-whatsapp {
        bottom: 15px;
        left: 15px;
    }
    
    .fixed-whatsapp::before {
        animation: pulse-wave-mobile 2s infinite;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 50% !important;
    }
}

@keyframes pulse-wave-mobile {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* Page Hero Styles */
.page-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 80px;
}

.page-hero-content {
    padding-right: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.page-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Tour Card Styles */
.tour-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tour-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tour-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card .card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* Responsive Tour Card Adjustments */
@media (min-width: 1200px) {
    .tour-card .card-img-top {
        height: 220px;
    }
}

@media (max-width: 1199.98px) {
    .tour-card .card-img-top {
        height: 200px;
    }
}

@media (max-width: 991.98px) {
    .tour-card .card-img-top {
        height: 180px;
    }
    
    .tour-card .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .tour-card .card-img-top {
        height: 160px;
    }
    
    .tour-card .card-body {
        padding: 1rem;
    }
    
    .tour-card .card-title {
        font-size: 1rem;
        min-height: 2.4rem;
    }
    
    .tour-card .card-text {
        font-size: 0.85rem;
    }
}

.tour-details .duration {
    color: #6c757d;
    font-size: 0.9rem;
}

.tour-details .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Category Card Link Styles */
.cat-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
    z-index: 10;
}

.cat-card a:hover {
    text-decoration: none;
    color: inherit;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cat-card a:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Ensure carousel items maintain link functionality */
.carousel-item .cat-card a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.carousel-item.active .cat-card a,
.carousel-item:not(.active) .cat-card a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Force link functionality on all carousel states */
#catCarousel .cat-card a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}

#catCarousel .cat-card a:hover {
    text-decoration: none !important;
    color: inherit !important;
}

#catCarousel .cat-card a:focus {
    outline: 2px solid #d4af37 !important;
    outline-offset: 2px !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-hero {
        padding: 50px 0 30px;
        margin-top: 70px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .page-hero-buttons {
        justify-content: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

/* Categories Carousel - 5 Cards Layout */
.categories-carousel .carousel-item .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    margin: 0 !important;
}

/* Force all cards to be visible on desktop */
.categories-carousel .carousel-item .col-lg-2-4 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    padding: 0 6px !important;
    display: block !important;
}

.categories-carousel .carousel-item .col-md-4 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    padding: 0 6px !important;
    display: block !important;
}

.categories-carousel .carousel-item .col-6 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
    padding: 0 6px !important;
    display: block !important;
}

/* Override Bootstrap's d-none classes */
.categories-carousel .carousel-item .d-none {
    display: block !important;
}

.categories-carousel .carousel-item .d-md-block {
    display: block !important;
}

.categories-carousel .carousel-item .d-lg-block {
    display: block !important;
}

/* Force horizontal layout */
.categories-carousel .carousel-item .row > * {
    display: block !important;
    float: none !important;
}

/* Override Bootstrap gutters for categories */
.categories-carousel .carousel-item .row.g-3 {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

.categories-carousel .carousel-item .row.g-3 > * {
    padding-right: 6px !important;
    padding-left: 6px !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .categories-carousel .carousel-item .col-lg-2-4,
    .categories-carousel .carousel-item .col-md-4,
    .categories-carousel .carousel-item .col-6 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

@media (max-width: 767.98px) {
    .categories-carousel .carousel-item .col-lg-2-4,
    .categories-carousel .carousel-item .col-md-4,
    .categories-carousel .carousel-item .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Tour Card Price Styles */
.tour-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.tour-badge .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.old-price {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
    font-weight: 400;
}

.new-price {
    font-size: 1.4rem;
    color: #d4af37;
    font-weight: 700;
}

.price-unit {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
}

.price-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.price-ask {
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
}

.discount-badge {
    margin-top: 0.5rem;
}

.discount-badge .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
}

/* Tour Rating Styles */
.tour-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.rating-comments {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Limited Availability Badge */
.tour-badge .badge.bg-info {
    background-color: #17a2b8 !important;
    color: white;
}

/* Tour Detail Page Styles */
.tour-detail-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.tour-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.tour-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
}

.tour-highlights {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.highlight-item {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tour-price {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tour-actions {
    margin-top: 2rem;
}

.breadcrumb-section {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tour-details-section {
    background: white;
}

.tour-details-content h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d4af37;
}

.itinerary-list {
    margin-top: 1rem;
}

.itinerary-item {
    margin-bottom: 2rem;
}

.itinerary-day {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.day-number {
    background: #d4af37;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.day-content h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.day-content p {
    color: #6c757d;
    margin: 0;
}

.includes-list, .excludes-list {
    list-style: none;
    padding: 0;
}

.includes-list li, .excludes-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.tour-sidebar {
    position: sticky;
    top: 2rem;
}

.booking-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
}

.booking-card .card-header {
    background: #d4af37;
    color: white;
    border: none;
}

.price-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.contact-info h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-item {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #6c757d;
    text-decoration: none;
}

.contact-item a:hover {
    color: #d4af37;
}

@media (max-width: 991.98px) {
    .tour-title {
        font-size: 1.5rem;
    }
    
    .tour-detail-hero {
        padding: 1rem 0;
    }
    
    .tour-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* Tour Card Link Styles */
.tour-card a {
    color: inherit;
    text-decoration: none;
}

.tour-card a:hover {
    color: inherit;
    text-decoration: none;
}

.tour-card a:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.tour-card .card {
    transition: all 0.3s ease;
}

/* Tour Notes Styles */
.tour-notes .alert {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tour-notes .alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.tour-notes .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.tour-notes .alert h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tour-notes .alert p {
    margin: 0;
    line-height: 1.6;
}
.categories {
    padding: 1.2rem 0 2rem;
    background: transparent;
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    pointer-events: none;
}

.categories-grid {
    position: relative;
    overflow: hidden;
    margin-top: 0.8rem;
    z-index: 1;
}

/* Categories removed */

/* Auto-scroll for categories (still user-scrollable) */
@keyframes catAutoScroll {
    0% { scroll-behavior: auto; }
    2% { scroll-behavior: auto; }
}

.categories-grid:hover { animation-play-state: paused; }


.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    scroll-snap-align: start;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.category-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: none;
}

/* Categories: static caption below image */
.category-overlay { position: static; background: transparent; opacity: 1; display: block; padding: 0.5rem 0 0; }
.category-content { text-align: center; color: #333; padding: 0; transform: none; }
.category-content h3 { font-size: 1rem; font-weight: 600; margin: 0.2rem 0 0.2rem; color: #333; }
.category-content p { font-size: 0.85rem; line-height: 1.4; color: #666; margin: 0; }

/* Tours Section */
.tours {
    padding: 2.5rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(0.8rem, 1.2vw, 1.4rem);
    margin-top: 1.6rem;
}

.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tour-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #d4af37;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tour-rating {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(10px);
}

.tour-rating .stars {
    color: #ffd700;
    font-size: 0.9rem;
}

.tour-rating .rating-number {
    font-weight: 700;
}

.tour-content {
    padding: 0.8rem;
}

.tour-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.tour-content p {
    color: #666;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    font-size: 0.8rem;
}

.tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

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

.duration i {
    color: #d4af37;
    margin-right: 0.5rem;
}

.price {
    font-size: 1rem;
    font-weight: 700;
    color: #d4af37;
}

.book-btn {
    width: 100%;
    background: #d4af37;
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: #d4af37;
    font-size: 1.5rem;
}

.feature span {
    font-weight: 600;
    color: #333;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    opacity: 1 !important;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    padding: 3rem 0;
    background: white;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, rgba(212, 175, 55, 0.05) 100%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #b8941f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.85rem;
}

/* Testimonials Section */
.testimonials { padding: 2rem 0; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); position: relative; }
.testimonials > .container { max-width: 100%; padding-left: 0; padding-right: 0; }

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(212, 175, 55, 0.08) 100%);
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
    border-radius: 20px;
}

.testimonials-track {
    display: none;
}

.testimonial-card {
    display: none;
}

.testimonial-card.active { display: none; }

.testimonial-content {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: #d4af37;
    font-family: serif;
    line-height: 1;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* New reviews grid styling */
.reviews-grid .review-card { border: 1px solid rgba(212,175,55,0.15); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.reviews-grid .review-card:hover { transform: translateY(-4px); box-shadow: 0 14px 24px rgba(0,0,0,0.12); }
.reviews-grid .card-body { padding: 1rem; }
.reviews-grid .card-text { color: #555; }

.testimonial-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1.2rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}

.author-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: #666;
    font-size: 0.8rem;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #d4af37;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #b8941f;
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.testimonials-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #d4af37;
    transform: scale(1.2);
}

.dot:hover {
    background: #b8941f;
}

/* Gallery Section */
.gallery {
    padding: 2rem 0;
    position: relative;
    background-image: url('../images/Cappadocia-ballons-draw.png');
    background-repeat: repeat;
    background-size: clamp(500px, 40vw, 900px) auto;
    background-position: center;
    background-color: #2c3e50; /* fallback color behind pattern */
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    pointer-events: none;
}

.gallery .section-title {
    color: #f4d03f; /* gold */
    position: relative;
    z-index: 1;
    display: inline-block;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35),
                 1px 0 0 rgba(20,20,20,0.8),
                 -1px 0 0 rgba(20,20,20,0.8),
                 0 1px 0 rgba(20,20,20,0.8),
                 0 -1px 0 rgba(20,20,20,0.8); /* fallback stroke */
    -webkit-text-stroke: 1px rgba(20,20,20,0.85); /* outline color */
}
.gallery .container { padding-left: clamp(4px, 1vw, 12px); padding-right: clamp(4px, 1vw, 12px); }

.gallery-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin-top: 1.2rem;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 162px;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: 1 !important;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.gallery-content {
    text-align: center;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #d4af37;
}

.gallery-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 85vw;
    max-height: 80vh;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
    width: 100%;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.05);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-nav:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.modal-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prev-nav {
    left: 16px;
}

.next-nav {
    right: 16px;
}

.modal-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: transparent;
    width: 100%;
    border-radius: 16px 16px 0 0;
}

#modal-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    width: auto;
    height: auto;
}

#modal-image:hover {
    transform: scale(1.02);
}

.modal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1.5rem 1rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(10px);
    will-change: opacity, transform;
}

.modal-image-container:hover .modal-info {
    opacity: 1;
    transform: translateY(0);
}

.modal-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modal-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

.modal-thumbnails {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    overflow-x: auto;
    justify-content: center;
    border-radius: 0 0 16px 16px;
    margin-top: 0;
    position: relative;
    z-index: 10;
    scroll-behavior: smooth;
}

.modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.modal-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

.modal-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

.thumbnail {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

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

.thumbnail.active {
    border-color: #d4af37;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Thumbnail Navigation Arrows */
.thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.thumb-nav:hover {
    background: #d4af37;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.thumb-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.thumb-nav-left {
    left: 0.5rem;
}

.thumb-nav-right {
    right: 0.5rem;
}

/* Articles Section */
.articles {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
}

.articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    pointer-events: none;
}

.articles .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.articles-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    border-radius: 20px;
}

.articles-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    padding: 1rem 0;
}

.article-card {
    min-width: 350px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: 1.5rem;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.articles-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.articles-nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #1e3c72;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    pointer-events: all;
}

.articles-nav-btn:hover {
    background: #d4af37;
    color: white;
    transform: scale(1.1);
}

.articles-nav-btn:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
}

.prev-btn {
    margin-left: -25px;
}

.next-btn {
    margin-right: -25px;
}

/* Info Section */
.info {
    padding: 3rem 0;
    background: transparent;
    position: relative;
}
.info::before { display: none; }

.info .section-title {
    color: #333;
    position: relative;
    z-index: 1;
}

.info-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.info-text {
    color: #333;
}

.info-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #d4af37;
}

.info-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #666;
}

.info-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 1.5rem 0;
    background: white;
}

.faq-subtitle { display: none; }

.faq-container { max-width: 100%; margin: 0; }

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.faq-question { display: flex; align-items: center; padding: 0.75rem 0.9rem; cursor: pointer; background: #f8f9fa; transition: all 0.3s ease; }

.faq-question:hover {
    background: #f1f3f4;
}

.faq-icon {
    font-size: 1.2rem;
    color: #d4af37;
    margin-right: 1rem;
    font-weight: bold;
}

.faq-question h3 { flex: 1; font-size: 0.9rem; font-weight: 600; color: #333; margin: 0; }

.faq-toggle {
    font-size: 1.5rem;
    color: #d4af37;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p { padding: 0 0.9rem 0.9rem; color: #666; line-height: 1.5; margin: 0; font-size: 0.9rem; }

/* Align FAQ left on desktop */
.faq .section-title { text-align: left; }
.faq .container { padding-left: clamp(6px, 1.2vw, 14px); padding-right: clamp(6px, 1.2vw, 14px); }

/* Mobile: center align */
@media (max-width: 768px) {
  .faq { padding: 1.2rem 0; }
  .faq .section-title { text-align: center; }
  .faq-container { max-width: 100%; margin: 0 auto; }
  .faq-question { padding: 0.8rem 1rem; }
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: #d4af37;
    font-size: 1.5rem;
    width: 30px;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    background: #d4af37;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #d4af37;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4af37;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #d4af37;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #b8941f;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fixed header overlap fix */
    body { padding-top: 70px; }
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .lang-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-15px) scale(0.95);
        min-width: 200px;
    }

    .lang-menu.active {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .gallery-nav {
        bottom: 20px;
    }

    .scroll-indicator {
        bottom: 60px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tours-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.8rem;
    }

    .tour-content {
        padding: 0.8rem;
    }

    .tour-image {
        height: 140px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .categories-grid {
        grid-auto-columns: minmax(180px, 1fr);
        gap: 0.8rem;
    }
    .category-image { height: 140px; }

    .category-content {
        padding: 1.5rem;
    }

    .category-content h3 {
        font-size: 1.3rem;
    }

    .category-content p {
        font-size: 0.9rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .gallery-nav {
        gap: 8px;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .tour-content {
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.2rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .testimonials-track {
        gap: 1rem;
    }

    .testimonial-card {
        min-width: calc(50% - 0.5rem);
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    .testimonials-nav {
        gap: 1rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .gallery-item img { height: 140px; }

    .testimonial-card {
        min-width: 100%;
    }

    .testimonials-track {
        gap: 0.5rem;
    }

    .testimonial-content {
        padding: 1.2rem;
    }

    .testimonial-content p {
        font-size: 0.85rem;
    }

    .testimonial-author img {
        width: 40px;
        height: 40px;
    }

    .author-info h4 {
        font-size: 0.9rem;
    }

    .author-info span {
        font-size: 0.8rem;
    }

    .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
    .gallery-item img { height: 160px; }

    .categories-grid { grid-auto-columns: minmax(160px, 80%); gap: 0.8rem; }
    .category-image { height: 130px; }

    .category-content {
        padding: 1.2rem;
    }

    .category-content h3 {
        font-size: 1.2rem;
    }

    .category-content p {
        font-size: 0.85rem;
    }

    .gallery-content {
        padding: 1.5rem;
    }

    .gallery-content h3 {
        font-size: 1.3rem;
    }

    .gallery-content p {
        font-size: 0.9rem;
    }

    .articles-track {
        gap: 1rem;
    }

    .article-card {
        min-width: 280px;
    }

    .article-image {
        height: 160px;
    }

    .article-content {
        padding: 1.2rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }

    .articles-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .info-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .info-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .prev-btn {
        margin-left: -20px;
    }

    .next-btn {
        margin-right: -20px;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-image-container {
        padding: 1rem;
        min-height: auto;
    }

    .modal-info {
        padding: 1rem 0.8rem 0.8rem 0.8rem;
    }

    #modal-image {
        max-height: 60vh;
        max-width: 95vw;
    }

    .modal-info h3 {
        font-size: 1.1rem;
    }

    .modal-info p {
        font-size: 0.8rem;
    }

    .modal-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .prev-nav {
        left: 12px;
    }

    .next-nav {
        right: 12px;
    }

    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        top: 12px;
        right: 12px;
    }

    .thumbnail {
        width: 56px;
        height: 56px;
    }

    .modal-thumbnails {
        padding: 1rem 2rem;
        gap: 0.6rem;
    }

    .thumb-nav {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .thumb-nav-left {
        left: 0.3rem;
    }

    .thumb-nav-right {
        right: 0.3rem;
    }

    .info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .info-text h3 {
        font-size: 1.3rem;
    }

    .info-text p {
        font-size: 0.95rem;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-icon {
        font-size: 1rem;
        margin-right: 0.8rem;
    }

    .faq-toggle {
        font-size: 1.3rem;
    }

    .faq-answer p {
        padding: 0 1.2rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
/* Section backgrounds with Cappadocia pattern */


.categories-carousel {
    background-image: url('../images/Cappadocia-background.png');
    background-repeat: repeat;
    background-size: clamp(500px, 45vw, 900px) auto;
    background-position: center;
    position: relative;
    z-index: 25; /* Hero'dan çok daha yüksek z-index */
}

/* Categories Navigation Arrows */
.categories-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 40;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.categories-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    opacity: 0.8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.categories-arrow:hover {
    background: rgba(212, 175, 55, 0.9);
    border-color: #d4af37;
    color: white;
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.categories-arrow:active {
    transform: scale(0.95);
}

/* Categories Slide Indicators */
.categories-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    gap: 0.6rem;
    pointer-events: none;
}

.categories-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.categories-indicator.active {
    background: #d4af37;
    border-color: #d4af37;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.categories-indicator:hover {
    background: rgba(212, 175, 55, 0.7);
    border-color: #d4af37;
    transform: scale(1.1);
}

/* Mobile Responsive for Categories Navigation */
@media screen and (max-width: 768px) {
    .categories-nav-arrows {
        padding: 0 1rem;
    }
    
    .categories-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .categories-indicators {
        bottom: 10px;
        gap: 0.4rem;
    }
    
    .categories-indicator {
        width: 8px;
        height: 8px;
    }
}

@media screen and (max-width: 480px) {
    .categories-nav-arrows {
        padding: 0 0.5rem;
    }
    
    .categories-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .categories-indicators {
        bottom: 8px;
        gap: 0.3rem;
    }
    
    .categories-indicator {
        width: 6px;
        height: 6px;
    }
}

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

.tour-card {
    animation: fadeInUp 0.6s ease-out;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}
