/* =========================================
   ARBI TURİZM - Ana Stil Dosyası
   Renkler: Logo.jpg'den alınmıştır
   ========================================= */

/* Font Awesome font-display override for faster text rendering */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
    font-style: normal;
    font-weight: 900;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2');
}

:root {
    --primary-red: #fc3242;
    --primary-blue: #1e63ae;
    --accent-yellow: #fed130;
    --accent-orange: #f17e01;
    --white: #ffffff;
    --light-bg: #f8f9fc;
    --dark: #1a1a2e;
    --dark-blue: #0f2d52;
    --text: #4a4a5a;
    --text-light: #7a7a8a;
    --border: #e8e8ef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */

/* Screen Reader Only - SEO hidden headings */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

/* =========================================
   PRELOADER
   ========================================= */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s, visibility 0.3s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border);
    border-top-color: var(--primary-red);
    border-right-color: var(--primary-blue);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(252, 50, 66, 0.1), rgba(30, 99, 174, 0.1));
    color: var(--primary-red);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title span {
    color: var(--primary-red);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

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

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), #e0283a);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(252, 50, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 50, 66, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50px;
}

.btn-sm:hover {
    background: var(--primary-red);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 38px;
    font-size: 1rem;
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-search {
    background: var(--primary-red);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

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

.logo img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#header.scrolled .logo img {
    height: 42px;
    width: 42px;
}

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

.nav-links a {
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-red);
    color: var(--white);
}

#header.scrolled .nav-links a:hover,
#header.scrolled .nav-links a.active {
    background: var(--primary-red);
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-yellow);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-phone:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

#header.scrolled .hamburger span {
    background: var(--dark);
}

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

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

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    will-change: transform;
    transform: translateZ(0);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7), rgba(30, 99, 174, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
    padding-bottom: 120px;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(254, 209, 48, 0.2);
    color: var(--accent-yellow);
    border: 1px solid rgba(254, 209, 48, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    min-height: 4.6em;
    font-size-adjust: 0.52;
}

.hero h1 span {
    color: var(--accent-yellow);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.hero-prev,
.hero-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: scale(1.2);
}

/* Hero Search */
.hero-search {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 10;
}

.search-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid var(--border);
}

.search-item:last-of-type {
    border-right: none;
}

.search-item i {
    font-size: 1.3rem;
    color: var(--primary-red);
}

.search-item label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-item select,
.search-item input {
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    background: transparent;
    width: 100%;
    cursor: pointer;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 40px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-yellow);
    flex-shrink: 0;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    display: inline;
}

.stat-info {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-red), #e0283a);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(252, 50, 66, 0.3);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.3;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    border-radius: var(--radius);
    background: var(--light-bg);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-feature h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 3px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* =========================================
   TOURS SECTION
   ========================================= */
.tours {
    background: var(--light-bg);
}

.tour-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tour-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

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

.tour-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tour-badge.hot {
    background: var(--accent-orange);
}

.tour-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tour-fav {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tour-fav:hover,
.tour-fav.active {
    background: var(--primary-red);
    color: var(--white);
}

.tour-fav.active i {
    font-weight: 900;
}

.tour-info {
    padding: 22px;
}

.tour-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tour-meta span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-meta span i {
    color: var(--primary-red);
    font-size: 0.75rem;
}

.tour-meta span:last-child i {
    color: var(--accent-yellow);
}

.tour-info h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.tour-info>p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.6;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.tour-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.new-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
}

.per-person {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(252, 50, 66, 0.1), rgba(30, 99, 174, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: var(--primary-red);
    gap: 10px;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?w=1600&q=50&fm=webp') center/cover fixed;
    padding: 100px 0;
    position: relative;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(30, 99, 174, 0.75));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery {
    background: var(--light-bg);
    overflow-x: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 0;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.gallery-hidden {
    display: none;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-show-all {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.gallery-show-all button {
    padding: 12px 35px;
    border-radius: 50px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-show-all button:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(252, 50, 66, 0.2);
}

.testimonial-stars {
    margin-bottom: 15px;
}

.testimonial-stars i {
    color: var(--accent-yellow);
    font-size: 1rem;
    margin-right: 2px;
}

.testimonial-card>p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-red);
}

.testimonial-author h4 {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 35px;
}

.test-prev,
.test-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.test-prev:hover,
.test-next:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    background: var(--light-bg);
}

.contact-info-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.contact-social-centered {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.contact-social-centered a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-social-centered a:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.contact-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card h4 {
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-blue);
}

.contact-card a:hover {
    color: var(--primary-red);
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 600;
}

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

.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px 14px 45px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--dark);
    outline: none;
    transition: var(--transition);
    background: var(--light-bg);
}

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

.form-group i {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(252, 50, 66, 0.1);
}

.form-group input:focus+i,
.form-group select:focus+i,
.form-group textarea:focus+i {
    color: var(--primary-red);
}

/* =========================================
   MAP SECTION
   ========================================= */
.map-section {
    line-height: 0;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    filter: grayscale(20%);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.footer-col>p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px !important;
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary-red);
    margin-top: 4px;
}

.footer-badges {
    margin-top: 20px;
}

.tursab-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-yellow);
    border: 1px solid rgba(254, 209, 48, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
}

.whatsapp-float i {
    font-size: 1.4rem;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    background: #128C7E;
}

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), #e0283a);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(252, 50, 66, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 50, 66, 0.4);
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1200px) {
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 5px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--dark) !important;
        padding: 12px 20px;
        border-radius: var(--radius);
        font-size: 1rem;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-red);
        color: var(--white) !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-phone span {
        display: none;
    }

    .nav-phone {
        padding: 10px;
        border-radius: 50%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .search-box {
        flex-direction: column;
        gap: 15px;
    }

    .search-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 10px 0;
        width: 100%;
    }

    .search-item:last-of-type {
        border-bottom: none;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .testimonial-card {
        min-width: calc(50% - 15px);
    }

    .contact-info-full {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-controls {
        bottom: 30px;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .contact-info-full {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 8px;
    }

    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .testimonial-card {
        min-width: calc(100% - 0px);
    }

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

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

    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}

/* =========================================
   BLOG SECTION
   ========================================= */
.blog {
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary-red);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-body h3 a:hover {
    color: var(--primary-red);
}

.blog-card-excerpt {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-link:hover {
    color: var(--primary-red);
    gap: 10px;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: 40px;
    font-size: 1.05rem;
}

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

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   DESIGN CONTROLS - THEME VARIANTS
   ========================================= */

/* ── Color Themes ── */
body.theme-dark {
    --light-bg: #1a1a2e;
    --dark: #f0f0f5;
    --white: #16213e;
    --text: #c8c8d8;
    --text-light: #9a9ab0;
    --border: #2a2a4a;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: #0f0f23;
    color: #c8c8d8;
}

body.theme-dark .header {
    background: #16213e;
}

body.theme-dark .header.scrolled {
    background: #16213e;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

body.theme-dark .nav-links a {
    color: #c8c8d8;
}

body.theme-dark .footer {
    background: #0a0a1a;
}

body.theme-dark .service-card,
body.theme-dark .blog-card,
body.theme-dark .contact-card {
    background: #16213e;
}

body.theme-pastel {
    --primary-red: #e8788a;
    --primary-blue: #6b9fd4;
    --accent-yellow: #f5d87a;
    --accent-orange: #e8a86b;
    --light-bg: #faf5f0;
    --dark: #3d3d4e;
    --text: #5a5a6a;
}

/* ── Border Radius ── */
body.radius-sharp {
    --radius: 0px;
    --radius-lg: 4px;
}

body.radius-round {
    --radius: 25px;
    --radius-lg: 35px;
}

/* ── Font Size ── */
body.font-small {
    font-size: 14px;
}

body.font-large {
    font-size: 18px;
}

/* ── WhatsApp Position ── */
body.whatsapp-left .whatsapp-float {
    left: 25px;
    right: auto;
}

/* ── Navbar Solid ── */
body.navbar-solid .header {
    background: var(--white);
    box-shadow: var(--shadow);
}

body.navbar-solid .header .nav-links a {
    color: var(--dark);
}

body.navbar-solid .header .logo img {
    filter: none;
}

/* ── Hero Text Align ── */
.hero-align-center .hero-content {
    text-align: center;
    align-items: center;
}

.hero-align-center .hero-buttons {
    justify-content: center;
}

.hero-align-right .hero-content {
    text-align: right;
    align-items: flex-end;
}

.hero-align-right .hero-buttons {
    justify-content: flex-end;
}

/* ── Hero Overlay ── */
.hero-overlay-light .hero-overlay {
    background: linear-gradient(135deg, rgba(15, 45, 82, 0.3) 0%, rgba(26, 26, 46, 0.2) 100%);
}

.hero-overlay-dark .hero-overlay {
    background: linear-gradient(135deg, rgba(15, 45, 82, 0.85) 0%, rgba(26, 26, 46, 0.8) 100%);
}

/* ── Services Grid ── */
.services-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.services-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .services-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .services-grid.grid-2,
    .services-grid.grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ── Services Card Style ── */
.services-grid.style-bordered .service-card {
    box-shadow: none;
    border: 2px solid var(--border);
}

.services-grid.style-bordered .service-card:hover {
    border-color: var(--primary-blue);
    box-shadow: none;
}

.services-grid.style-flat .service-card {
    box-shadow: none;
    background: transparent;
    border: none;
}

.services-grid.style-flat .service-card:hover {
    background: var(--light-bg);
    box-shadow: none;
    transform: none;
}

/* ── Services Icon Color ── */
.services-grid.icon-blue .service-icon {
    background: linear-gradient(135deg, var(--primary-blue), #3a7fd5);
}

.services-grid.icon-orange .service-icon {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
}

.services-grid.icon-yellow .service-icon {
    background: linear-gradient(135deg, var(--accent-yellow), #ffe066);
}

/* ── Gallery Columns ── */
.gallery-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .gallery-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Gallery Shape ── */
.gallery-grid.shape-square .gallery-item {
    aspect-ratio: 1/1;
}

.gallery-grid.shape-square .gallery-item img {
    height: 100%;
}

.gallery-grid.shape-landscape .gallery-item {
    aspect-ratio: 16/9;
}

.gallery-grid.shape-landscape .gallery-item img {
    height: 100%;
}

/* ── Gallery Hover ── */
.gallery-grid.hover-darken .gallery-item:hover img {
    transform: none;
    filter: brightness(0.5);
}

.gallery-grid.hover-darken .gallery-item img {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery-grid.hover-slide .gallery-item {
    overflow: hidden;
}

.gallery-grid.hover-slide .gallery-item:hover img {
    transform: translateY(-10px) scale(1.02);
}

/* ── Contact Grid ── */
.contact-info-full.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* ── Map Hidden ── */
.map-section.hidden {
    display: none;
}

/* ── No Animations ── */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
    animation: none !important;
    transition: none !important;
}

body.no-animations .fade-up {
    opacity: 1;
    transform: none;
}

/* ── Blog Featured Card ── */
.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-card.featured .blog-card-img {
    height: 100%;
    min-height: 300px;
}

.blog-card.featured .blog-card-body h3 {
    font-size: 1.6rem;
}

@media (max-width: 768px) {
    .blog-card.featured {
        grid-template-columns: 1fr;
    }

    .blog-card.featured .blog-card-img {
        height: 250px;
    }
}