/* --- gezenbilir (Üçbey Turizm) Design System --- */

:root {
  /* Color Palette - Premium Navy Blue, Crimson Red, Warm Cream */
  --color-primary: hsl(222, 47%, 11%);
  --color-primary-rgb: 15, 23, 42;
  --color-primary-dark: hsl(222, 47%, 8%);
  --color-primary-light: hsl(222, 47%, 20%);
  --color-primary-accent: hsl(210, 100%, 40%);
  
  --color-accent: hsl(350, 85%, 55%);
  --color-accent-rgb: 225, 29, 72;
  --color-accent-light: hsl(350, 90%, 65%);
  --color-accent-dark: hsl(350, 85%, 45%);
  
  --color-bg-light: hsl(35, 30%, 97%);
  --color-bg-card: hsl(0, 0%, 100%);
  --color-text-dark: hsl(180, 20%, 12%);
  --color-text-light: hsl(0, 0%, 96%);
  --color-text-muted: hsl(180, 10%, 45%);
  
  --color-success: hsl(120, 40%, 40%);
  
  /* Layout Tokens */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --box-shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --box-shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --box-shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
  --glass-bg-light: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-dark: rgba(255, 255, 255, 0.08);
  
  /* Animation Timing */
  --transition-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Setup named timelines scope for scrollytelling */
  timeline-scope: --hero-timeline;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul {
  list-style: none;
}

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 5px;
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-accent);
}

/* --- Interactive Custom Cursor --- */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.1s, height 0.1s, background-color 0.1s;
}

.custom-cursor-follower {
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-accent);
  background-color: rgba(225, 29, 72, 0.03);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  backdrop-filter: blur(1px);
}

/* Cursor Hover States (Triggered via JS) */
body.cursor-hover .custom-cursor {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary-accent);
}
body.cursor-hover .custom-cursor-follower {
  width: 50px;
  height: 50px;
  border-color: var(--color-primary-accent);
  background-color: rgba(37, 99, 235, 0.08);
}

@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none;
  }
}

/* --- Button Typography & Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  gap: 10px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-phone {
  background: var(--color-primary-light);
  color: var(--color-accent-light);
  border: 1px solid rgba(225, 29, 72, 0.2);
  padding: 10px 18px;
  font-size: 0.95rem;
}

.btn-phone:hover {
  background: var(--color-primary-accent);
  color: #fff;
  border-color: var(--color-accent-light);
}

.btn-phone .icon {
  width: 16px;
  height: 16px;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 55%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translate(-100%, -100%) rotate(45deg); }
  80% { transform: translate(-100%, -100%) rotate(45deg); }
  100% { transform: translate(100%, 100%) rotate(45deg); }
}

.btn-primary-sm {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  display: inline-block;
  text-align: center;
}

.btn-primary-sm:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 15px;
}

.btn-text svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-text:hover {
  color: var(--color-accent-light);
}

.btn-text:hover svg {
  transform: translateX(5px);
}

/* --- Header Section (Glassmorphism) --- */
#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal);
  padding: 24px 0;
}

#mainHeader.scrolled {
  padding: 12px 0;
  background: var(--glass-bg-dark);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border-dark);
  box-shadow: var(--box-shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo design */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: -1px;
}

.logo-main span {
  color: var(--color-accent);
}

.logo-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
  font-weight: 500;
}

#mainHeader.scrolled .logo-main {
  font-size: 1.6rem;
}

/* Navbar Navigation */
#navbar ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* --- Hero Section with Parallax --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

/* Timeline wrapper declaration */
.hero-section.wrapper {
  view-timeline: --hero-timeline block;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%; /* Taller to allow translating down */
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

/* CSS Native Scroll-Driven Parallax */
@supports ((animation-timeline: view()) and (animation-range: exit)) {
  @keyframes hero-parallax {
    to {
      transform: translateY(20%);
    }
  }
  .hero-bg-layer.layer {
    animation: hero-parallax linear both;
    animation-timeline: --hero-timeline;
    animation-range: exit 0% exit 100%;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.8) 0%,
    rgba(15, 23, 42, 0.6) 40%,
    var(--color-primary-dark) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  text-align: center;
  padding: 0 24px;
  margin-top: 60px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(225, 29, 72, 0.2);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: var(--color-accent-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -2px;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: #fff;
  border-bottom: 2px solid var(--color-accent);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 3;
}

.mouse-icon {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: relative;
}

.mouse-icon .wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

/* --- Section Global Layouts --- */
section {
  padding: 100px 0;
  position: relative;
}

.section-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

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

.text-light {
  color: #fff;
}

.text-muted {
  color: rgba(255, 255, 255, 0.7);
}

.paragraph {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* --- Entry-Exit Scroll Reveal Animations --- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(60px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .scroll-reveal {
      animation: reveal-up auto linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 30%;
    }
  }
}

/* --- Stats Banner Section --- */
.stats-banner {
  background-color: var(--color-primary-dark);
  padding: 50px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: rgba(255,255,255,0.1);
}

@media (max-width: 992px) {
  .stat-divider {
    display: none;
  }
  .stat-item {
    flex: 1 1 40%;
  }
}

/* --- Partnership Section (Hac & Umre cards) --- */
.partnership-section {
  background-color: var(--color-bg-light);
}

.partnership-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 1px solid var(--color-accent);
}

.partnership-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 50px 0;
}

/* 3D Tilt Card Style */
.partner-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-md);
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--box-shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1, 1, 1);
  transition: box-shadow var(--transition-normal), border var(--transition-normal), transform 0.15s ease-out;
}

.partner-card:hover {
  box-shadow: var(--box-shadow-lg);
  border-color: rgba(225, 29, 72, 0.25);
}

/* Mouse cursor glow background */
.partner-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    300px circle at var(--mx, 0px) var(--my, 0px),
    rgba(225, 29, 72, 0.08),
    transparent 80%
  );
  z-index: 0;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  transform: translateZ(30px);
}

.partner-logo .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
}

.partner-logo .logo-text.ikram {
  color: #c92c2c; /* Ikram's corporate red look */
}

.partner-logo .logo-text.ekrem {
  color: #1a5fb4; /* Ekrem's corporate blue look */
}

.partner-logo .logo-subtext {
  font-size: 0.75rem;
  letter-spacing: 5px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

.partner-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--color-primary);
  transform: translateZ(20px);
}

.partner-card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  transform: translateZ(15px);
}

.partner-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
  transform: translateZ(20px);
}

.partner-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-light);
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

.partnership-cta {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .partnership-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- About Us Section --- */
.about-section {
  background-color: var(--color-bg-card);
}

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

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image {
  height: 500px;
  border-radius: var(--border-radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.about-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

.experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius-md);
  padding: 24px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--box-shadow-md);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.experience-badge .years {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 4px;
}

.experience-badge .exp-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-accent);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-text h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

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

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    height: 400px;
  }
}

/* --- Services Concept Section --- */
.services-section {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.services-section .section-title {
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 50px;
}

.service-card {
  height: 420px;
  border-radius: var(--border-radius-md);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--box-shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.service-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.4) 0%,
    rgba(11, 17, 31, 0.85) 70%,
    var(--color-primary-dark) 100%
  );
  z-index: 1;
  transition: opacity var(--transition-normal);
}

.service-card:hover .card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(11, 17, 31, 0.9) 60%,
    var(--color-primary-dark) 100%
  );
}

.service-card .card-content {
  position: relative;
  z-index: 2;
  padding: 40px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--color-accent);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 12px;
}

.highlight-info {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-accent-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-card {
    height: 380px;
  }
}

/* --- Tours Section (Interactive Gallery) --- */
.tours-section {
  background-color: var(--color-bg-light);
}

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

.filter-btn {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--box-shadow-sm);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.tour-card {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale3d(1, 1, 1);
  transition: transform 0.15s ease-out, box-shadow var(--transition-normal), opacity 0.4s ease, scale 0.4s ease;
}

.tour-card.hidden {
  opacity: 0;
  scale: 0.8;
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  border: none;
  padding: 0;
}

.tour-card:hover {
  box-shadow: var(--box-shadow-lg);
}

.tour-image {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.tour-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tour-card:hover .tour-image::after {
  opacity: 1;
}

.tour-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tour-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #fff;
  z-index: 2;
}

.partner-badge-sm {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--color-primary-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.tour-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.tour-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  margin-bottom: 20px;
}

.tour-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.tour-meta span svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.tour-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

/* --- Contact & Request Section (Glassmorphism) --- */
.contact-section {
  background-color: var(--color-primary-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.04) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-detail-item .icon-box {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-detail-item:hover .icon-box {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.contact-detail-item .icon-box svg {
  width: 20px;
  height: 20px;
}

.contact-detail-item .text-box span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.contact-detail-item .text-box a, .contact-detail-item .text-box p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 2px;
}

.contact-detail-item .text-box a:hover {
  color: var(--color-accent-light);
}

/* Glassmorphism Form Card */
.contact-form-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--box-shadow-lg);
  position: relative;
}

.form-title {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

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

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-sm);
  padding: 14px 16px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-control:focus {
  border-color: rgba(225, 29, 72, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background-color: var(--color-primary-dark);
  color: #fff;
}

/* Floating Input animation */
.floating-input-group {
  position: relative;
}

.floating-input-group label {
  position: absolute;
  left: 16px;
  top: 15px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.25s var(--transition-smooth);
  pointer-events: none;
  font-size: 0.95rem;
  background-color: transparent;
}

.floating-input-group input:focus ~ label,
.floating-input-group input:not(:placeholder-shown) ~ label,
.floating-input-group textarea:focus ~ label,
.floating-input-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  color: var(--color-accent-light);
  background: var(--color-primary-dark);
  padding: 0 6px;
  border-radius: 4px;
}

.input-focus-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: all var(--transition-normal);
}

.form-control:focus ~ .input-focus-line {
  left: 0;
  width: 100%;
}

.send-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .send-icon {
  transform: translate(3px, -3px);
}

/* Form Success State */
.form-success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary-dark);
  border-radius: var(--border-radius-md);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 5;
}

.form-success-message.active {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}

.success-icon-box {
  width: 72px;
  height: 72px;
  background-color: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.success-icon-box svg {
  width: 36px;
  height: 36px;
}

.form-success-message h4 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.form-success-message p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Footer Section --- */
#mainFooter {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

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

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-links-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.footer-acente-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

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

.tursab-disclaimer {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

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

/* --- Mobile Menu Styles (Toggled via JS) --- */
@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: flex;
  }

  #navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-primary-dark);
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    padding: 100px 40px;
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  #navbar.active {
    right: 0;
  }

  #navbar ul {
    flex-direction: column;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .header-actions {
    display: none; /* Hide button in mobile header */
  }

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

/* Fallback styles if no support for view timeline (e.g. Firefox) */
@supports not ((animation-timeline: view()) and (animation-range: entry)) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Premium Brand Logo SVG Styles --- */
.brand-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-svg-container {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo-wrapper:hover .brand-svg-container {
  transform: scale(1.1) rotate(5deg);
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.brand-red {
  color: var(--color-accent);
}

.brand-navy {
  color: var(--color-primary);
}

.brand-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  letter-spacing: 0.5px;
}

.brand-cursive {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: var(--color-accent);
  margin-left: 2px;
}

#mainHeader.scrolled .brand-navy {
  color: #fff;
}
#mainHeader.scrolled .brand-subtitle {
  color: rgba(255,255,255,0.8);
}
#mainHeader:not(.scrolled) .brand-navy {
  color: #fff;
}
#mainHeader:not(.scrolled) .brand-subtitle {
  color: rgba(255,255,255,0.9);
}

.footer-logo .brand-navy {
  color: #fff;
}
.footer-logo .brand-subtitle {
  color: rgba(255,255,255,0.7);
}


/* --- 3D Uploaded Logo Styles --- */
.premium-3d-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)) drop-shadow(0 1px 3px rgba(0,0,0,0.2));
  transform: perspective(500px) translateZ(0);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  padding: 4px;
}

.brand-logo-wrapper:hover .premium-3d-logo {
  transform: perspective(500px) translateZ(15px) rotateX(4deg) rotateY(-4deg);
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2)) drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.footer-logo .premium-3d-logo {
  height: 80px;
}
