/* Custom App Styles - Turkey Tours */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --primary: #c05621;
  --primary-dark: #9c4419;
  --secondary: #2c5282;
  --bg-main: #fdfbf7;
  --bg-alt: #f3f0e9;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #a0aec0;
  --border: #e2e8f0;
  --star: #f6ad55;
}

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

body {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-main);
  color: var(--text-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
}

/* Glass header */
.glass-header {
  background: rgba(253, 251, 247, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );
}

/* Tour card hover */
.tour-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.tour-card:hover .tour-image {
  transform: scale(1.05);
}
.tour-image {
  transition: transform 0.5s ease;
}

/* Section spacing */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Marquee animations */
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.animate-marquee-left {
  animation: marquee-left 20s linear infinite;
  will-change: transform;
}
.animate-marquee-right {
  animation: marquee-right 20s linear infinite;
  will-change: transform;
}
.animate-marquee-left:hover,
.animate-marquee-right:hover {
  animation-play-state: paused;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}
.animate-fade-in-delay-1 {
  animation: fadeIn 0.6s ease-out 0.1s forwards;
  opacity: 0;
}
.animate-fade-in-delay-2 {
  animation: fadeIn 0.6s ease-out 0.2s forwards;
  opacity: 0;
}
.animate-fade-in-delay-3 {
  animation: fadeIn 0.6s ease-out 0.3s forwards;
  opacity: 0;
}
.animate-fade-in-delay-4 {
  animation: fadeIn 0.6s ease-out 0.4s forwards;
  opacity: 0;
}

/* Bounce animation for scroll indicator */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}
.animate-bounce-custom {
  animation: bounce 2s infinite;
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #c05621 !important;
  box-shadow: 0 0 0 3px rgba(192, 86, 33, 0.1);
}

/* Blog Content Styles */
.blog-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
}
.blog-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a202c;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #c05621;
}
.blog-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #1a202c;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.blog-content h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c5282;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.blog-content p {
  margin-bottom: 1.25rem;
}
.blog-content strong {
  color: #1a202c;
  font-weight: 600;
}
.blog-content ul,
.blog-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.blog-content ul {
  list-style-type: disc;
}
.blog-content ol {
  list-style-type: decimal;
}
.blog-content li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}
.blog-content li strong {
  color: #c05621;
}
.blog-content blockquote {
  border-left: 4px solid #c05621;
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #1a202c;
  background-color: #f3f0e9;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-primary);
}

/* Itinerary collapsible */
.itinerary-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}
.itinerary-content.open {
  max-height: 500px;
  padding-bottom: 1rem;
}

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.open {
  max-height: 400px;
}
