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

:root {
  --bg-color: #ffffff;
  --text-color: #2d3748;
  --text-muted: #718096;
  --primary-color: #0c3e66;      /* Kurumsal Lacivert */
  --primary-dark: #072a46;
  --primary-light: #16568c;
  --accent-color: #1d70b8;       /* Canlı Mavi */
  --accent-hover: #15558c;
  --green-accent: #2e7d32;       /* Doctorem Slogan Yeşili */
  --light-gray: #f7fafc;
  --border-color: #e2e8f0;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 10px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-premium: 0 20px 40px rgba(12, 62, 102, 0.12);
  --shadow-pedestal: 0 15px 30px rgba(0, 0, 0, 0.15);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-circle: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 75px;
  object-fit: contain;
  transition: var(--transition-fast);
}

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

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 35px;
}

.nav-link {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-color);
  position: relative;
  padding: 5px 0;
  transition: var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}

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

/* Burger Menu */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 110;
}

.burger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition-normal);
  border-radius: 2px;
}

/* Main Container */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 200px);
}

/* Page Section (SPA View) */
.page-section {
  display: none;
  animation: fadeIn var(--transition-slow);
}

.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home Page Layout */
/* Hero Slider Section */
.hero-slider {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 25px;
  margin-bottom: 50px;
}

/* Left Vertical Banner (Image Link) */
.left-banner-link {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
  min-height: 520px;
  border: 1px solid var(--border-color);
}

.left-banner-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent-color);
}

.left-banner-card {
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Stacked Area */
.right-stacked {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Top Banner */
.right-top-banner {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 220px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.right-top-banner:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.right-top-banner-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--green-accent);
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.right-top-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.right-top-banner-btn:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Bottom Horizontal List */
.right-bottom-list-wrap {
  flex-grow: 1;
}

.right-bottom-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  height: 100%;
}

.slider-product-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.slider-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.slider-product-img-wrap {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.slider-product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-slow);
}

.slider-product-card:hover .slider-product-img {
  transform: scale(1.08);
}

.slider-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: auto;
}

/* Section Divider / Title */
.section-title-wrap {
  text-align: center;
  margin: 50px 0 35px 0;
  position: relative;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
}

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

/* Product Catalog Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent-color);
}

.product-img-wrap {
  width: 100%;
  height: 250px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.product-img-wrap::after {
  content: '\203A'; /* Arrow / Zoom representation or overlay */
  font-size: 30px;
  color: #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(12, 62, 102, 0.4);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .product-img-wrap::after {
  opacity: 1;
}

.product-card-img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  transition: var(--transition-slow);
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #ffffff;
}

.buy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  margin-top: auto;
}

.buy-button:hover {
  background-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(12, 62, 102, 0.2);
}

/* Hakkımızda Sayfası (About Us) */
.about-section {
  max-width: 800px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-title-large {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 10px 0 20px 0;
}

.about-content {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.about-text {
  font-size: 17px;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 25px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-highlight-box {
  background: linear-gradient(135deg, rgba(29, 112, 184, 0.05) 0%, rgba(12, 62, 102, 0.05) 100%);
  border-left: 4px solid var(--accent-color);
  padding: 20px 25px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 25px;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--primary-color);
}

/* İletişim Sayfası (Contact) */
.contact-section {
  max-width: 900px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-intro {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon-wrap {
  width: 45px;
  height: 45px;
  background-color: rgba(29, 112, 184, 0.1);
  color: var(--accent-color);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: bold;
}

.contact-item-details {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}

.contact-item-val a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.contact-visual-block {
  background: linear-gradient(135deg, rgba(29, 112, 184, 0.03) 0%, rgba(12, 62, 102, 0.05) 100%);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--border-color);
}

.contact-badge-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 0.85;
}

.contact-visual-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-visual-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Product Detail Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 26, 43, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 950px;
  max-height: 90vh;
  box-shadow: var(--shadow-premium);
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-slow);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(243, 244, 246, 0.8);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-color);
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.modal-body {
  padding: 40px;
}

/* Modal Inner Layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

/* Pedestal Styling for Image */
.product-visual-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  background-color: var(--light-gray);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  height: 380px;
}

.pedestal-image-wrap {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.pedestal-img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 15px 20px rgba(0,0,0,0.15));
  animation: float 4s ease-in-out infinite;
}

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

.pedestal-base {
  position: absolute;
  bottom: 30px;
  width: 70%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(12,62,102,0.15) 0%, rgba(12,62,102,0.02) 60%, rgba(0,0,0,0) 100%);
  z-index: 1;
  border-radius: var(--radius-circle);
}

.product-info-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-product-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.modal-product-short-desc {
  font-size: 15px;
  color: var(--text-color);
  font-weight: 500;
  background-color: var(--light-gray);
  padding: 12px 18px;
  border-left: 3px solid var(--accent-color);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 25px;
  white-space: pre-line;
}

.ingredients-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin-bottom: 30px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.ingredient-check-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-buy-button-wrap {
  margin-top: auto;
}

.modal-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
}

.modal-buy-btn:hover {
  background-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(12, 62, 102, 0.3);
}

/* Warnings and Full Description Section */
.product-description-pane {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.description-title-box {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.description-content-box {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.7;
  white-space: pre-line;
}

/* Footer Styling */
.main-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--light-gray);
  padding: 25px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-agency-link {
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.footer-agency-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-link:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-slider {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .left-banner-link {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 10px 15px;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .burger-menu {
    display: block;
  }
  
  /* Mobile Menu Drawer */
  .main-nav {
    position: fixed;
    top: 61px; /* Height of header */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 25px;
    display: none;
    z-index: 99;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-slider {
    grid-template-columns: 1fr;
  }
  
  .right-bottom-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .product-img-wrap {
    height: 180px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 30px;
  }
  
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .product-visual-pane {
    height: 280px;
  }
  
  .pedestal-image-wrap {
    height: 200px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-close-btn {
    top: 15px;
    right: 15px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .right-top-banner-title {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Pulsing ring effect to draw attention */
.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-circle);
  background-color: #25d366;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
