/*
 * Azim Lidaş - Premium Corporate Styling
 * Colors: Navy Blue (Lacivert), Gold/Wheat (Altın Sarısı/Buğday), Agricultural Green (Yeşil)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* HSL Color Palette */
  --primary-navy: hsl(222, 47%, 11%);       /* Deep trust navy */
  --navy-medium: hsl(222, 40%, 16%);        /* Medium navy for cards/sections */
  --navy-light: hsl(222, 30%, 25%);         /* Light navy for borders/highlights */
  
  --accent-gold: hsl(78, 55%, 51%);         /* Logo Green #9cc63d */
  --accent-gold-hover: hsl(78, 55%, 43%);   /* Logo Green Hover */
  --accent-gold-rgb: 156, 198, 61;
  
  --accent-green: hsl(142, 70%, 35%);       /* Agricultural success green */
  --accent-green-light: hsl(142, 60%, 45%);
  
  --text-light: hsl(210, 40%, 98%);         /* Light text for dark backgrounds */
  --text-muted-light: hsl(210, 20%, 75%);
  --text-dark: hsl(222, 47%, 15%);          /* Dark text for light backgrounds */
  --text-muted-dark: hsl(220, 15%, 45%);
  
  --bg-light: hsl(220, 30%, 98%);
  --bg-white: hsl(0, 0%, 100%);
  
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.25);
  --shadow-sm-premium: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Base Styles & Typography */
body {
  font-family: var(--font-main);
  background-color: var(--primary-navy);
  color: var(--text-light);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-navy);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Section Common Styling */
section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-dark {
  background-color: var(--primary-navy);
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

/* Navigation Overrides (Glassmorphism Sticky Navbar) */
.navbar-premium {
  padding: 18px 0;
  background: rgba(11, 18, 32, 0.75) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  z-index: 1050;
}

.navbar-premium.scrolled {
  padding: 10px 0;
  background: rgba(11, 18, 32, 0.92) !important;
  border-bottom: 1px solid rgba(156, 198, 61, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  height: 55px;
  transition: var(--transition-smooth);
  filter: brightness(0) invert(1);
}

.navbar-premium.scrolled .navbar-brand img {
  height: 48px;
}

.nav-link-premium {
  color: var(--text-light) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-link-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

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

.nav-link-premium:hover::after,
.nav-link-premium.active::after {
  transform: scaleX(1);
}

/* Custom Buttons */
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--primary-navy) !important;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(156, 198, 61, 0.35);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(156, 198, 61, 0.5);
}

.btn-gold:hover::before {
  opacity: 1;
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold) !important;
  border: 2px solid var(--accent-gold);
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--primary-navy) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(156, 198, 61, 0.3);
}

/* Hero Section */
.hero-slider-container {
  height: 100vh;
  min-height: 700px;
  position: relative;
  background-color: var(--primary-navy);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 18, 32, 0.9) 30%, rgba(11, 18, 32, 0.6) 60%, rgba(11, 18, 32, 0.4) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent-gold) 30%, #fffbdf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted-light);
  margin-bottom: 40px;
  max-width: 650px;
  font-weight: 400;
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 30px;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--accent-gold);
  width: 50px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.slider-nav:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
  border-color: var(--accent-gold);
}

.slider-nav-prev { left: 40px; }
.slider-nav-next { right: 40px; }

/* Section Title Styling */
.section-tag {
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-gold);
  margin-top: 15px;
  border-radius: 2px;
}

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

.section-title-center::after {
  margin: 15px auto 0 auto;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 60px;
}

.section-subtitle.light {
  color: var(--text-muted-light);
}

.section-subtitle.dark {
  color: var(--text-muted-dark);
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 40px 30px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(156, 198, 61, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
}

/* Premium Light Cards */
.premium-card-light {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.premium-card-light:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-color: rgba(156, 198, 61, 0.2);
}

/* Feature Icons */
.icon-box {
  width: 70px;
  height: 70px;
  background: rgba(156, 198, 61, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.glass-card:hover .icon-box,
.premium-card-light:hover .icon-box {
  background: var(--accent-gold);
  color: var(--primary-navy);
  transform: scale(1.1) rotate(5deg);
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--navy-medium) 0%, var(--primary-navy) 100%);
  border-top: 1px solid rgba(156, 198, 61, 0.1);
  border-bottom: 1px solid rgba(156, 198, 61, 0.1);
  padding: 80px 0;
}

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

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 10px;
  font-feature-settings: "tnum";
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 5px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

/* Hakkımızda / About Image Grid */
.about-image-wrapper {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}

.about-img-main {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-img-floating {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  border: 4px solid var(--primary-navy);
}

.about-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: var(--primary-navy);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  text-align: center;
  z-index: 5;
  animation: float 6s ease-in-out infinite;
}

.about-badge-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* How It Works Steps */
.step-card {
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(156, 198, 61, 0.07);
  line-height: 1;
  transition: var(--transition-smooth);
}

.glass-card:hover .step-number {
  color: rgba(156, 198, 61, 0.15);
  transform: scale(1.1);
}

.step-card-arrow {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--accent-gold);
  opacity: 0.5;
}

/* Gallery Hover Grid */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-sm-premium);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 280px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.9) 10%, rgba(11, 18, 32, 0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition-smooth);
}

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

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

.gallery-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 5px;
}

.gallery-info p {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 0;
}

/* News Section Cards */
.news-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.07);
  border-color: rgba(156, 198, 61, 0.2);
}

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

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.news-card:hover .news-img img {
  transform: scale(1.06);
}

.news-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-gold);
  color: var(--primary-navy);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
}

.news-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-title a {
  color: inherit;
  text-decoration: none;
}

.news-title a:hover {
  color: var(--accent-gold-hover);
}

.news-text {
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.news-more {
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.news-more:hover {
  color: var(--accent-gold-hover);
}

/* Contact Section */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 20px;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(156, 198, 61, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-info-text p {
  color: var(--text-muted-light);
  margin-bottom: 0;
}

.contact-info-text a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-info-text a:hover {
  color: var(--accent-gold);
}

.contact-form .form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  padding: 12px 18px;
  transition: var(--transition-smooth);
}

.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(156, 198, 61, 0.2);
  outline: none;
  color: var(--text-light);
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* Map Mock / Embedding styling */
.map-container {
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer Section */
.footer-top {
  background-color: hsl(222, 47%, 7%);
  padding: 80px 0 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo img {
  height: 65px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  color: var(--text-muted-light);
  margin-bottom: 25px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted-light);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

.footer-bottom {
  background-color: hsl(222, 47%, 5%);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-text {
  color: var(--text-muted-light);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Quick Floating Contact Widgets */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  section {
    padding: 70px 0;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .navbar-premium {
    padding: 15px 0;
  }
  .navbar-collapse {
    background: var(--primary-navy);
    margin-top: 15px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(156, 198, 61, 0.1);
  }
  .nav-link-premium::after {
    display: none;
  }
  .about-image-wrapper {
    margin-top: 50px;
    padding-right: 0;
    padding-bottom: 0;
  }
  .step-card-arrow {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1.05rem;
  }
  .btn-gold, .btn-outline-gold {
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
  }
  .stat-number {
    font-size: 2.8rem;
  }
}
