/* =========================================
   MEDAMED DESIGN SYSTEM 2026
   Kirmizi: #E30613 | Mavi: #1E4294 | Acik Mavi: #00AEEF
   ========================================= */

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

:root {
  --red:        #E30613;
  --red-dark:   #BB0510;
  --blue:       #1E4294;
  --blue-mid:   #24509A;
  --blue-light: #00AEEF;
  --white:      #FFFFFF;
  --off-white:  #F5F7FA;
  --gray-100:   #EEF1F6;
  --gray-200:   #D5DCE8;
  --gray-400:   #8A96AA;
  --gray-600:   #4A5568;
  --gray-800:   #1A2540;
  --text:       #1A2540;
  --text-sm:    #58677F;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 8px rgba(30,66,148,0.07);
  --shadow-md:  0 8px 30px rgba(30,66,148,0.12);
  --shadow-lg:  0 24px 64px rgba(30,66,148,0.16);
  --shadow-xl:  0 40px 100px rgba(30,66,148,0.20);

  --transition: 0.32s cubic-bezier(0.4,0,0.2,1);
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-body:  'Inter', sans-serif;

  --navy:     var(--blue);
  --navy-mid: var(--blue-mid);
  --teal:     var(--blue-light);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Layout */
.container { width:100%; max-width:1320px; margin:0 auto; padding:0 48px; }
.section { padding: 110px 0; }
.section--gray { background: var(--off-white); }
.section--dark { background: var(--blue); color: var(--white); }

/* =========================================
   NAVIGATION
   ========================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 20px rgba(30,66,148,0.08);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo img { height: 80px; width: auto; }
.nav-toggle { display: none; }

.nav-menu { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--blue);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--red);
  background: rgba(227,6,19,0.05);
}

.caret { font-size: 0.58rem; opacity: 0.5; transition: transform var(--transition); display: inline-block; }
.nav-menu > li:hover > a .caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(30,66,148,0.14);
  list-style: none;
  padding: 8px 0;
  z-index: 9999;
}
.nav-menu > li:hover .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-600);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.nav-dropdown li a:hover {
  color: var(--red);
  background: rgba(227,6,19,0.04);
  border-left-color: var(--red);
  padding-left: 24px;
}

.nav-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--red);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(227,6,19,0.3);
}

/* =========================================
   HERO TYPOGRAPHIC
   ========================================= */
.hero-typographic {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-typographic::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 120px solid rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero-typographic::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 60px solid rgba(227,6,19,0.12);
  pointer-events: none;
}

.hero-inner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-left { color: var(--white); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.hero-eyebrow .line { width: 32px; height: 2px; background: var(--red); border-radius: 2px; }

.hero-typographic h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--white);
}
.hero-typographic h1 .accent { color: var(--red); }
.hero-typographic h1 .light-accent { color: var(--blue-light); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.60);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.hero-prod-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  display: block;
  color: var(--white);
}
.hero-prod-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(227,6,19,0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.hero-prod-card img {
  width: 100%; height: 110px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: brightness(1.1);
}
.hero-prod-card h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-prod-card p { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* Stats band */
.hero-stats { background: var(--red); padding: 24px 0; }
.hero-stats .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}
.h-stat { text-align: center; color: var(--white); }
.h-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  letter-spacing: -0.5px;
}
.h-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 72px 0;
  color: var(--white);
  border-bottom: 4px solid var(--red);
}
.page-hero-inner { max-width: 680px; }
.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.55); line-height: 1.75; }

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(227,6,19,0.35); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: transparent;
  color: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-blue {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

/* =========================================
   SECTION HEADINGS
   ========================================= */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--red); margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--red); border-radius: 2px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem,3.5vw,3rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.section--dark .section-title { color: var(--white); }
.section-desc { font-size: 1.05rem; color: var(--text-sm); max-width: 560px; line-height: 1.75; }
.section--dark .section-desc { color: rgba(255,255,255,0.55); }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* =========================================
   PRODUCT CARDS
   ========================================= */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: rgba(227,6,19,0.15); }

.product-card-img {
  height: 240px;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 20px;
}
.product-card-img img { width:100%; height:100%; object-fit:contain; transition: transform 0.5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-body { padding: 28px; flex:1; display:flex; flex-direction:column; }

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(30,66,148,0.08);
  color: var(--blue);
  border-radius: 20px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px;
}
.product-card h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.product-card p { color: var(--text-sm); font-size: 0.9rem; line-height: 1.65; flex:1; margin-bottom: 20px; }
.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 700;
  color: var(--red);
  transition: gap var(--transition);
}
.product-link:hover { gap: 12px; }

/* =========================================
   FEATURES
   ========================================= */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feature-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--blue);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-top-color: var(--red); }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(30,66,148,0.07);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 24px;
}
.feature-card h4 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--blue); }
.feature-card p { font-size: 0.92rem; color: var(--text-sm); line-height: 1.7; }

/* =========================================
   SPLIT LAYOUT
   ========================================= */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--gray-100); }
.split-img img { width:100%; height:520px; object-fit: cover; }
.split-content p { color: var(--text-sm); font-size: 1.03rem; line-height: 1.8; margin-bottom: 18px; }
.highlight-box {
  background: rgba(30,66,148,0.04);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px; margin: 28px 0;
}
.highlight-box p { color: var(--blue); font-style: italic; font-weight: 500; margin: 0; }

/* =========================================
   CONTACT
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-info-card {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  color: var(--white);
  border-top: 5px solid var(--red);
}
.contact-info-card h3 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; margin-bottom: 32px; }
.info-item { margin-bottom: 32px; }
.info-item .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-light); font-weight: 700; margin-bottom: 8px; }
.info-item p, .info-item a { font-size: 1.02rem; color: rgba(255,255,255,0.78); line-height: 1.6; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 52px 44px; border-top: 3px solid var(--blue); }
.contact-form-wrap h3 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; color: var(--blue); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--gray-600); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width:100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--text); background: var(--off-white);
  transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(30,66,148,0.10); }
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
  width:100%; padding: 17px;
  background: var(--red); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
}
.btn-submit:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,6,19,0.3); }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-top: 4px solid var(--red);
  padding: 72px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.50); font-size: 1rem; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: var(--blue); color: var(--white); padding: 88px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 24px; }
.footer-brand p { color: rgba(255,255,255,0.40); font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
.footer-col h5 { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-light); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: rgba(255,255,255,0.28); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.28); font-size: 0.8rem; transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* =========================================
   ANIMATIONS
   ========================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .nav-menu > li > a { padding: 8px 9px; font-size: 0.78rem; }
  .nav-logo img { height: 72px; }
}

@media (max-width: 1100px) {
  .hero-inner-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 991px) {
  .site-nav { height: 80px; }
  .nav-logo img { height: 56px; }
  
  /* Mobile Menu Toggle */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
  }
  .nav-toggle span {
    width: 100%;
    height: 2.5px;
    background-color: var(--blue);
    border-radius: 3px;
    transition: var(--transition);
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Mobile Nav Drawer */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 48px;
    gap: 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 10000;
  }
  .nav-menu.open { left: 0; }
  
  .nav-menu > li { width: 100%; border-bottom: 1px solid var(--gray-100); }
  .nav-menu > li > a {
    padding: 16px 0;
    font-size: 1.1rem;
    width: 100%;
    justify-content: space-between;
  }
  
  /* Mobile Dropdowns */
  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 16px 16px;
    min-width: auto;
    background: var(--off-white);
  }
  .nav-menu > li.active .nav-dropdown { display: block; }
  .nav-dropdown li a { padding: 12px 0; font-size: 0.95rem; }
  .nav-menu > li.active > a .caret { transform: rotate(180deg); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-right { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-typographic { padding: 72px 0 60px; }
}
/* Social Media */
.social-bar {
  background: rgba(0,0,0,0.15);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.social-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0;
}
.social-link svg { width: 16px; height: 16px; fill: currentColor; }
.social-link:hover { background: var(--red); border-color: var(--red); color: white; transform: translateY(-2px); }

/* Footer social */
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.65);
  transition: all 0.3s ease;
  font-size: 0;
}
.footer-social a svg { width: 17px; height: 17px; fill: currentColor; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: white; transform: translateY(-2px); }