@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary: #27ae60;      /* Canlı Yeşil */
  --primary-dark: #219653; 
  --secondary: #2980b9;    /* Ferah Gökyüzü Mavisi */
  --secondary-dark: #2471a3;
  --bg-color: #f8fafc;     /* Açık arka plan */
  --text-dark: #334155;    /* Koyu metin */
  --text-light: #64748b;   /* Açık metin */
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.header.header-scrolled {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  padding: 5px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-placeholder {
  width: 150px;
  height: 50px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--white);
  position: relative;
}

.nav-links a:hover {
  color: #e2e8f0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

.header-scrolled .logo-placeholder {
  border-color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover::after {
  width: 100%;
}

.logo-link img {
  mix-blend-mode: multiply;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-color: #cbd5e1; /* Placeholder arkaplan rengi */
  /* GÖRSEL EKLENDİĞİNDE BURAYA BACKGROUND-IMAGE GELECEK */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0; /* Header arka planda kalsın diye */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 2rem;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* Services / Products Section */
.services {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-img-placeholder {
  width: 100%;
  height: 200px;
  background-color: #e2e8f0;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 500;
  border: 1px dashed #cbd5e1;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
}

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

.btn-secondary {
  background-color: var(--secondary);
}

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

/* Dealer Logos (Gübre kartı için) */
.dealers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 1.5rem;
}

.dealer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  height: 70px;
  transition: var(--transition);
}

.dealer-logo-link:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 6px rgba(39, 174, 96, 0.1);
  transform: translateY(-2px);
}

.dealer-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dealer-logo-placeholder {
  height: 50px;
  background-color: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Useful Links Section */
.useful-links {
  background-color: var(--white);
  padding: 5rem 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: var(--bg-color);
  border-radius: 12px;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.link-item:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  color: var(--primary);
  border-color: var(--primary);
}

.link-logo-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  border: 2px dashed #cbd5e1;
  transition: var(--transition);
}

.link-item:hover .link-logo-placeholder {
  border-color: var(--primary);
  background-color: #f0fdf4;
}

/* Footer */
.footer {
  background-color: #1e293b;
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.footer-info {
  margin-bottom: 2rem;
}

.footer-info h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-info p {
  margin-bottom: 0.8rem;
  color: #cbd5e1;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Partners Section (Gübre Sayfası) */
.partners-section {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.partners-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.partners-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--text-dark);
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(39, 174, 96, 0.15);
  border-color: rgba(39, 174, 96, 0.3);
}

.partner-logo-wrapper {
  height: 180px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border-bottom: 1px solid #f1f5f9;
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

.partner-info {
  padding: 1.5rem;
  text-align: center;
  background-color: #f8fafc;
  transition: background-color 0.3s ease;
}

.partner-card:hover .partner-info {
  background-color: #f0fdf4;
}

.partner-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.partner-link-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.partner-link-text .arrow {
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-link-text .arrow {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobil menü ileride eklenebilir, şimdilik gizli */
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
}
