/* Lossi Home - Custom Styles */
/* Tailwind CDN ile birlikte kullanılacak özel stiller */

/* ===== Root Variables ===== */
:root {
  --lossi-dark: #03311b;
  --lossi-mid: #0c4c2c;
  --lossi-cream: #fbf6e0;
  --lossi-white: #ffffff;
}

/* ===== Custom Font Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== Base Styles ===== */
body {
  font-family: 'Inter', sans-serif;
  color: var(--lossi-dark);
}

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

/* ===== Header Styles ===== */
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--lossi-dark);
  transition: all 0.3s ease;
}

.header-fixed.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-link {
  position: relative;
  color: var(--lossi-cream);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--lossi-cream);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--lossi-dark);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 2rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Hero Slider ===== */
.hero-slider {
  height: calc(100vh - 80px);
  margin-top: 80px;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(3, 49, 27, 0.8) 0%, rgba(3, 49, 27, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* ===== Section Styles ===== */
.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--lossi-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--lossi-mid);
}

.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Feature Cards ===== */
.feature-card {
  background: var(--lossi-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(3, 49, 27, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(3, 49, 27, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(3, 49, 27, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--lossi-dark) 0%, var(--lossi-mid) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--lossi-cream);
}

/* ===== Product Category Cards ===== */
.category-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(3, 49, 27, 0.9) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  transition: all 0.3s ease;
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(3, 49, 27, 0.95) 0%, rgba(3, 49, 27, 0.3) 100%);
  padding-bottom: 2rem;
}

.category-card-title {
  color: var(--lossi-cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--lossi-dark) 0%, var(--lossi-mid) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(251, 246, 224, 0.03);
  border-radius: 50%;
}

/* ===== Footer Styles ===== */
.footer {
  background-color: var(--lossi-dark);
  color: var(--lossi-cream);
}

.footer-link {
  color: rgba(251, 246, 224, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--lossi-cream);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(251, 246, 224, 0.1);
}

/* ===== Button Styles ===== */
.btn-primary {
  background-color: var(--lossi-dark);
  color: var(--lossi-cream);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid var(--lossi-dark);
}

.btn-primary:hover {
  background-color: var(--lossi-mid);
  border-color: var(--lossi-mid);
}

.btn-secondary {
  background-color: transparent;
  color: var(--lossi-cream);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid var(--lossi-cream);
}

.btn-secondary:hover {
  background-color: var(--lossi-cream);
  color: var(--lossi-dark);
}

/* ===== Form Styles ===== */
.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(3, 49, 27, 0.1);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--lossi-white);
}

.form-input:focus {
  outline: none;
  border-color: var(--lossi-mid);
  box-shadow: 0 0 0 3px rgba(12, 76, 44, 0.1);
}

.form-input::placeholder {
  color: rgba(3, 49, 27, 0.4);
}

/* ===== Language Switcher ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  color: rgba(251, 246, 224, 0.6);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--lossi-cream);
  background-color: rgba(251, 246, 224, 0.1);
}

/* ===== Page Hero ===== */
.page-hero {
  background-color: var(--lossi-dark);
  padding: 8rem 0 4rem;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(251, 246, 224, 0.02);
  border-radius: 50%;
}

.page-hero-title {
  color: var(--lossi-cream);
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

.page-hero-subtitle {
  color: rgba(251, 246, 224, 0.8);
  font-size: 1.125rem;
  margin-top: 1rem;
}

/* ===== About Page ===== */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--lossi-dark);
  border-radius: 50%;
  border: 3px solid var(--lossi-mid);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  width: 2px;
  height: calc(100% - 20px);
  background-color: rgba(3, 49, 27, 0.2);
}

.timeline-item:last-child::after {
  display: none;
}

/* ===== Stats Counter ===== */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--lossi-dark);
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--lossi-mid);
  margin-top: 0.5rem;
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== Swiper Custom ===== */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(251, 246, 224, 0.4);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--lossi-cream);
  width: 32px;
  border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--lossi-cream);
  background-color: rgba(3, 49, 27, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--lossi-dark);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.25rem;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hero-slider {
    height: calc(100vh - 70px);
    margin-top: 70px;
  }
  
  .page-hero {
    margin-top: 70px;
    padding: 6rem 0 3rem;
  }
  
  .page-hero-title {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
