/*
Theme Name: Agrolink Landing Theme
Theme URI: https://agrolinkfresh.com
Author: Antigravity AI
Author URI: https://agrolinkfresh.com
Description: Agrolink için %100 SEO uyumlu, mobil dostu, hızlı ve modern kurumsal iletişim açılış sayfası WordPress teması.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agrolink
Tags: one-column, custom-logo, landing-page, custom-colors, translation-ready
*/

:root {
  /* Brand Colors */
  --brand-blue: #102694;
  --brand-blue-hover: #0a1a6b;
  --brand-blue-light: #eef2ff;

  --brand-green: #246630;
  --brand-green-accent: #388e3c;
  --brand-green-bright: #4caf50;
  --brand-green-light: #eaf5ec;

  --whatsapp-green: #25d366;
  --whatsapp-hover: #1da851;

  /* Dark Green Background Theme */
  --bg-gradient: linear-gradient(145deg, #041209 0%, #092012 35%, #0e2d19 70%, #06190c 100%);
  
  /* White Card Box Colors */
  --text-primary: #0f291e;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 1);
  --card-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.65), 0 10px 30px -5px rgba(36, 102, 48, 0.25);

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  color: var(--text-primary);
  background: #041209;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px;
  position: relative;
}

/* Ambient Background Blobs & Grid - Dark Green Theme */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-gradient);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  animation: floatBlob 16s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1b5e20 0%, rgba(27, 94, 32, 0) 70%);
}

.blob-2 {
  bottom: -15%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #2e7d32 0%, rgba(46, 125, 50, 0) 70%);
  animation-delay: -5s;
}

.blob-3 {
  top: 35%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #102694 0%, rgba(16, 38, 148, 0) 70%);
  opacity: 0.35;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(76, 175, 80, 0.14) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.6;
}

/* Container & White Glass Card Box */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.card-wrapper {
  perspective: 1000px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 44px 36px;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  animation: cardFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header & Logo */
.logo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.logo-box {
  width: 100%;
  max-width: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.brand-logo {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-normal);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.tagline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-green);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0.9;
}

/* Divider */
.divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(36, 102, 48, 0.25) 30%, rgba(16, 38, 148, 0.25) 70%, transparent 100%);
  margin: 28px 0 36px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider-leaf {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(36, 102, 48, 0.15);
  padding: 0 10px;
  font-size: 14px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Contact Cards Inside White Box */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #f8faf8;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 12px 24px -6px rgba(16, 38, 148, 0.09);
}

.email-card:hover {
  border-color: rgba(16, 38, 148, 0.3);
}

.phone-card:hover {
  border-color: rgba(36, 102, 48, 0.3);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.email-card .icon-wrapper {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
}

.phone-card .icon-wrapper {
  background-color: var(--brand-green-light);
  color: var(--brand-green);
}

.contact-icon {
  width: 24px;
  height: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-details .label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.contact-details .value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast);
  word-break: break-all;
}

.link-email {
  color: var(--brand-blue);
}

.link-email:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.link-phone {
  color: var(--brand-green);
}

.link-phone:hover {
  color: var(--brand-green-accent);
  text-decoration: underline;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 38, 148, 0.2);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  box-shadow: 0 6px 16px rgba(16, 38, 148, 0.3);
  transform: translateY(-1px);
}

.phone-card .btn-primary {
  background: var(--brand-green);
  box-shadow: 0 4px 12px rgba(36, 102, 48, 0.2);
}

.phone-card .btn-primary:hover {
  background: #1b4d24;
  box-shadow: 0 6px 16px rgba(36, 102, 48, 0.3);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-primary);
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Footer Notice */
.card-footer {
  margin-top: 36px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Toast Popup */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.toast-content {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-green-bright);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .glass-card {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .logo-box {
    max-width: 260px;
  }

  .tagline {
    font-size: 0.85rem;
    letter-spacing: 1.8px;
  }

  .contact-details .value {
    font-size: 1.05rem;
  }

  .action-buttons {
    width: 100%;
  }

  .btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}
