/*
Theme Name: MediTechCorp One Page
Theme URI: https://meditechcorp-tr.com/
Author: ATALOMA EOOD
Description: Custom one-page WordPress theme for MediTechCorp. Design and development by ATALOMA EOOD.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: meditechcorp-onepage
*/

:root {
    --gold: #B8935A;
    --gold-light: #D4A96A;
    --gold-dark: #8B6B3D;
    --deep: #0D1F17;
    --deep-mid: #132A1D;
    --green-dark: #1A3D28;
    --green-mid: #2A5C3F;
    --green-light: #3D7A57;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D0;
    --text-light: #F0EBE0;
    --text-muted: #9BAF9A;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    background: var(--deep);
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
  }

  .lang-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 2rem;
    height: 48px;
    background: rgba(13,31,23,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184,147,90,0.2);
  }

  .lang-btn {
    background: none;
    border: 1px solid rgba(184,147,90,0.4);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4px 14px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
    margin-left: 6px;
  }
  .lang-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--deep);
  }
  .lang-btn:hover:not(.active) {
    border-color: var(--gold);
    color: var(--gold);
  }

  /* ─── LANG SWITCHER ─── */
/* ─── NAV ─── */
  nav {
    position: fixed;
    top: 48px; left: 0; right: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    height: 72px;
    background: rgba(13,31,23,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184,147,90,0.15);
  }

  .nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }
  .nav-logo-main {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
    line-height: 1.1;
  }
  .nav-logo-sub {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    transition: opacity 0.2s, color 0.2s;
  }
  .nav-links a:hover { opacity: 1; color: var(--gold-light); }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 160px 3rem 6rem;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 70% at 80% 50%, rgba(42,92,63,0.25) 0%, transparent 60%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(184,147,90,0.08) 0%, transparent 50%),
      var(--deep);
  }

  .hero-ornament {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    opacity: 0.04;
    pointer-events: none;
  }

  .hero-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero-tag::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
  }

  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--cream);
    max-width: 750px;
    margin-bottom: 1.5rem;
    position: relative;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--gold-light);
  }

  .hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
    position: relative;
  }

  .hero-brand {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    margin-bottom: 3rem;
  }
  .hero-brand span { color: var(--gold-light); }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--deep);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    border: none;
    cursor: pointer;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    border: 1px solid rgba(184,147,90,0.4);
    transition: all 0.2s;
    cursor: pointer;
  }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

  .hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
  }

  /* ─── SECTIONS ─── */
  section {
    padding: 6rem 3rem;
    position: relative;
  }

  .section-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold);
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 1.5rem;
  }
  .section-title em {
    font-style: italic;
    color: var(--gold-light);
  }

  .section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
  }

  /* ─── DIVIDER ─── */
  .divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184,147,90,0.3), transparent);
    margin: 0 auto;
  }

  /* ─── ABOUT ─── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .about-visual {
    position: relative;
  }

  .about-quote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    color: var(--cream);
    line-height: 1.4;
    border-left: 2px solid var(--gold);
    padding-left: 2rem;
    margin-bottom: 2rem;
  }

  .about-stat-row {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
  }

  .about-stat {
    display: flex;
    flex-direction: column;
  }
  .about-stat-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
  }
  .about-stat-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 4px;
  }

  .plant-card {
    background: linear-gradient(135deg, rgba(26,61,40,0.5), rgba(13,31,23,0.8));
    border: 1px solid rgba(184,147,90,0.2);
    border-radius: 4px;
    padding: 2rem;
  }

  .plant-list {
    list-style: none;
  }
  .plant-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(184,147,90,0.1);
  }
  .plant-list li:last-child { border-bottom: none; }

  .plant-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 8px;
    flex-shrink: 0;
  }

  .plant-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold-light);
  }
  .plant-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 2px;
  }

  /* ─── STANDARDS ─── */
  .standards-bg {
    background: var(--deep-mid);
  }

  .standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .standard-card {
    background: rgba(13,31,23,0.6);
    border: 1px solid rgba(184,147,90,0.15);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
  }
  .standard-card:hover { border-color: rgba(184,147,90,0.4); }
  .standard-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
  }

  .standard-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
    opacity: 0.9;
  }

  .standard-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.75rem;
  }

  .standard-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
  }

  /* ─── FORMULAS ─── */
  .formulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .formula-card {
    background: linear-gradient(160deg, rgba(26,61,40,0.4), rgba(13,31,23,0.7));
    border: 1px solid rgba(184,147,90,0.2);
    border-radius: 4px;
    padding: 2rem 1.75rem;
    transition: transform 0.3s, border-color 0.3s;
    cursor: default;
  }
  .formula-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184,147,90,0.5);
  }

  .formula-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: rgba(184,147,90,0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .formula-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.75rem;
  }

  .formula-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .formula-badge {
    display: inline-block;
    margin-top: 1rem;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(184,147,90,0.3);
    padding: 3px 10px;
    border-radius: 2px;
  }

  /* ─── PRINCIPLES ─── */
  .principles-bg { background: var(--deep-mid); }

  .principles-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .principle-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(184,147,90,0.1);
    align-items: flex-start;
  }
  .principle-item:last-child { border-bottom: none; }

  .principle-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    color: rgba(184,147,90,0.2);
    line-height: 1;
    text-align: right;
  }

  .principle-body {}
  .principle-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.75rem;
  }
  .principle-text {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 650px;
  }

  /* ─── PARTNER ─── */
  .partner-box {
    background: linear-gradient(135deg, rgba(42,92,63,0.25), rgba(13,31,23,0.5));
    border: 1px solid rgba(184,147,90,0.25);
    border-radius: 4px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
  }

  .partner-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .partner-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
  }

  .partner-highlight {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .highlight-line {
    width: 2px;
    height: 100%;
    min-height: 50px;
    background: var(--gold);
    flex-shrink: 0;
  }
  .highlight-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
  .highlight-text strong { color: var(--cream); font-weight: 500; }

  /* ─── CONTACT ─── */
  .contact-bg {
    background: var(--deep);
    border-top: 1px solid rgba(184,147,90,0.15);
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
  }

  .contact-info {}
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 1.5rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(184,147,90,0.1);
    border: 1px solid rgba(184,147,90,0.2);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
  }
  .contact-value {
    font-size: 0.95rem;
    color: var(--cream);
  }
  .contact-value a {
    color: var(--cream);
    text-decoration: none;
  }
  .contact-value a:hover { color: var(--gold-light); }

  .contact-form-area {
    background: rgba(26,61,40,0.15);
    border: 1px solid rgba(184,147,90,0.15);
    border-radius: 4px;
    padding: 2.5rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }
  .form-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
  }
  .form-input {
    width: 100%;
    background: rgba(13,31,23,0.6);
    border: 1px solid rgba(184,147,90,0.2);
    border-radius: 2px;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
  }
  .form-input:focus { border-color: rgba(184,147,90,0.5); }
  .form-input::placeholder { color: rgba(155,175,154,0.5); }
  textarea.form-input { min-height: 100px; resize: vertical; }

  /* ─── FOOTER ─── */
  footer {
    background: rgba(5,14,10,0.95);
    border-top: 1px solid rgba(184,147,90,0.1);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
  }

  .footer-domain {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.1em;
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero > * { animation: fadeUp 0.8s ease both; }
  .hero .hero-tag { animation-delay: 0.1s; }
  .hero h1 { animation-delay: 0.25s; }
  .hero .hero-tagline { animation-delay: 0.4s; }
  .hero .hero-brand { animation-delay: 0.5s; }
  .hero .hero-ctas { animation-delay: 0.6s; }

  /* ─── LANGUAGE TOGGLE ─── */
/* Inline bilingual elements */
/* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    section { padding: 4rem 1.5rem; }
    .hero { padding: 140px 1.5rem 4rem; }
    .about-grid, .partner-box, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    footer { padding: 1.5rem; }
  }
  @media (max-width: 600px) {
    .about-stat-row { flex-direction: column; gap: 1rem; }
    .principle-item { grid-template-columns: 50px 1fr; gap: 1rem; }
  }

  /* GMP badge */
  .gmp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184,147,90,0.08);
    border: 1px solid rgba(184,147,90,0.3);
    border-radius: 2px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 1.5rem;
    margin-right: 8px;
  }

  /* ─── IMAGES ─── */
  .img-hero-banner {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    border-radius: 4px;
    border: 1px solid rgba(184,147,90,0.18);
  }

  .img-plant {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 60%;
    border-radius: 4px;
    border: 1px solid rgba(184,147,90,0.2);
    display: block;
    margin-bottom: 1rem;
  }

  .img-mountain {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center 40%;
    border-radius: 4px;
    border: 1px solid rgba(184,147,90,0.2);
    display: block;
  }

  .img-caption {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
  }

  .img-overlay-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
  }
  .img-overlay-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,31,23,0.5) 0%, transparent 50%);
    pointer-events: none;
  }

  .fitness-banner {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(184,147,90,0.18);
  }
  .fitness-banner img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .fitness-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,31,23,0.75) 0%, rgba(13,31,23,0.2) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 2rem 3rem;
  }
  .fitness-banner-text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    color: var(--cream);
    line-height: 1.3;
    max-width: 400px;
  }
