/*
Theme Name: Tatil Zamanı Turizm
Description: Premium Nature & Tourism Theme
Colors: Dark Green, Cream, Gold
Fonts: Playfair Display, Inter
*/

:root {
  /* Colors */
  --primary-dark: #1B4332;
  --primary: #2D6A4F;
  --primary-light: #40916C;
  --bg-light: #FEFAE0;
  --bg-medium: #F5F0E1;
  --accent: #D4A373;
  --accent-dark: #C8944A;
  
  --text-dark: #2C2C2C;
  --text-medium: #5A5A5A;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-hover: #128C7E;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Shadows & Borders */
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.05);
  --shadow-md: 0 8px 24px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 16px 32px rgba(27, 67, 50, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-medium);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background-color: var(--primary);
  color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent);
}

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

ul {
  list-style: none;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-xl) 0;
}

.section-bg {
  background-color: var(--bg-medium);
}

.grid {
  display: grid;
  gap: var(--space-md);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

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

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

/* Section Headings */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}
.section-subtitle {
  color: var(--primary-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
  display: block;
}

/* Tour Cards */
.tour-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}
.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.tour-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.tour-card:hover .tour-img img {
  transform: scale(1.05);
}
.tour-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}
.tour-content {
  padding: var(--space-sm);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.tour-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}
.tour-title a {
  color: var(--text-dark);
}
.tour-title a:hover {
  color: var(--primary);
}
.tour-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--bg-medium);
}
.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.tour-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: background-color var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal);
  background-color: transparent;
}
.navbar.scrolled {
  background-color: var(--white);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar.scrolled .logo {
  color: var(--primary-dark);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-link {
  color: var(--white);
  font-weight: 500;
  position: relative;
}
.navbar.scrolled .nav-link {
  color: var(--text-dark);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.lang-switch {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 4px 8px;
  color: var(--white);
  font-size: 0.875rem;
}
.navbar.scrolled .lang-switch {
  background: var(--bg-medium);
  color: var(--text-dark);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  margin: 5px 0;
  transition: var(--transition-normal);
}
.navbar.scrolled .hamburger span {
  background-color: var(--text-dark);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero-slider {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-dark);
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(27, 67, 50, 0.4), rgba(27, 67, 50, 0.7));
  z-index: 2;
}
.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 var(--space-sm);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s ease 0.3s;
}
.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}
.slide-title {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.slide-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  font-weight: 300;
}
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dot.active {
  background-color: var(--accent);
  transform: scale(1.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: var(--space-xl) 0 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  display: block;
}
.footer-about {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-sm);
}
.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
}
.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}
.footer-contact i {
  color: var(--accent);
  margin-top: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-sm) 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* ==========================================================================
   Floating Widgets
   ========================================================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  animation: pulse 2s infinite;
  transition: transform var(--transition-fast);
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Categories Section */
.cat-card {
  text-align: center;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--primary);
}
.cat-card:hover * { color: var(--white) !important; }
.cat-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* Breadcrumbs & Page Header */
.page-header {
  padding: 120px 0 60px;
  background-color: var(--primary-dark);
  color: var(--white);
  text-align: center;
}
.page-title {
  color: var(--white);
  font-size: 3rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.breadcrumb a {
  color: var(--accent);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
