/* ==========================================================================
   WARM & FRIENDLY MEDICAL THEME VARIABLES
   ========================================================================== */
:root {
    --bg-main: #f7f9fa;        /* Πολύ απαλό, καθαρό Warm Off-White (όχι ψυχρό άσπρο) */
    --text-dark: #2b3a4a;      /* Μαλακό Charcoal/Slate Blue για ξεκούραστο διάβασμα */
    --muted-color: #5a6b7d;    /* Δευτερεύον κείμενο */
    --accent-teal: #3a86c8;    /* Ήρεμο Soft Teal/Cyan που προσφέρει ασφάλεια */
    --border-color: #e3e9ed;   
    
    --radius-friendly: 12px;   /* Ελαφρώς στρογγυλεμένες γωνίες (border-radius) */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --container-max: 1200px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}
body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

/* SMOOTH SCROLL REVEAL EFFECT */
.reveal-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 200;
    background-color: rgba(247, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}
.logo span { color: var(--accent-teal); }

/* ==========================================================================
   HEADER IMAGE LOGO STYLES (CAREMED)
   ========================================================================== */
/*.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.logo-img {
  height: 40px; 
  width: auto;  
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img {
  opacity: 0.85;
  transform: scale(1.02);
}*/

/* Responsive για κινητά */
/*@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}*/

.nav-menu { display: flex; align-items: center; }
.nav-links-wrapper { display: flex; gap: 30px; }
.nav-link-item {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link-item:hover { color: var(--accent-teal); }

/* BURGER MENU BUTTON */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 210;
}
.burger-menu span {
    width: 100%; height: 2px;
    background-color: var(--text-dark);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.burger-menu.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* EDITORIAL TAGS & BUTTONS */
.medical-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(58, 134, 200, 0.08);
    color: var(--accent-teal);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
.btn-medical {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--accent-teal);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-friendly);
    transition: background-color 0.2s, transform 0.2s;
}
.btn-medical:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
}

/* SECTION 1: HERO (Background Photo + Content Box) */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    background-image: url('images/pathologos1.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 30px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(43, 58, 74, 0.3); /* Απαλό φιλτράρισμα */
    z-index: 1;
}
.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}
.hero-content-box {
    background-color: #fff;
    padding: 50px;
    max-width: 550px;
    border-radius: var(--radius-friendly); /* Ελαφρώς στρογγυλεμένες γωνίες */
    box-shadow: 0 15px 40px rgba(43, 58, 74, 0.08);
}
.hero-content-box h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-content-box p {
    color: var(--muted-color);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* SECTION 2: ABOUT */
.about-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 100px 30px;
}
.about-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
}
.about-text h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 5px; }
.about-text h3 { font-size: 1.15rem; color: var(--accent-teal); font-weight: 500; margin-bottom: 25px; }
.about-text p { color: var(--muted-color); font-size: 1.05rem; margin-bottom: 20px; }

.about-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius-friendly);
    border: 1px solid var(--border-color);
    text-align: center;
}
.stat-card h4 { font-size: 2.5rem; color: var(--text-dark); font-weight: 700; margin-bottom: 5px; }
.stat-card p { color: var(--muted-color); font-size: 0.95rem; font-weight: 500; }

/* SECTION 3: ZIG-ZAG SECTION (Εναλλαγή Φωτό/Κειμένου) */
.zigzag-section {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 100px 30px;
}
.container-inner { max-width: var(--container-max); margin: 0 auto; }
.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}
.zigzag-row:last-child { margin-bottom: 0; }
.zigzag-row.reverse { direction: rtl; } /* Αντιστρέφει τις στήλες */
.zigzag-row.reverse .zigzag-text { direction: ltr; } /* Επαναφέρει τη ροή του κειμένου */

.zigzag-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-friendly); /* Ίσα ίσα στρογγυλεμένες άκρες */
}
.row-number { font-size: 0.9rem; font-weight: 700; color: var(--accent-teal); display: block; margin-bottom: 10px; }
.zigzag-text h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.zigzag-text p { color: var(--muted-color); font-size: 1.05rem; margin-bottom: 25px; }
.text-cta { text-decoration: none; color: var(--accent-teal); font-weight: 600; transition: color 0.2s; }
.text-cta:hover { color: var(--text-dark); }

/* SECTION 4: ΟΔΗΓΟΣ ΥΓΕΙΑΣ (3-Grid Cards) */
.guide-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 100px 30px;
}
.section-title.centered { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 15px; }
.section-title p { color: var(--muted-color); font-size: 1.05rem; }

.guide-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.guide-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-friendly);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}
.guide-card:hover { transform: translateY(-3px); } /* Απαλό φιλικό lifting */
.card-icon { font-size: 2rem; margin-bottom: 20px; }
.guide-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 15px; }
.guide-card p { color: var(--muted-color); font-size: 0.95rem; }

/* SECTION 5: Η ΔΙΑΔΡΟΜΗ ΤΟΥ ΑΣΘΕΝΗ (Steps) */
.journey-section {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 100px 30px;
}
.journey-steps-row {
    max-width: var(--container-max);
    margin: 40px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.step-box { position: relative; }
.step-number { font-size: 3.5rem; font-weight: 700; color: rgba(5a, 134, 200, 0.1); line-height: 1; margin-bottom: 10px; }
.step-box h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; color: var(--text-dark); }
.step-box p { color: var(--muted-color); font-size: 0.95rem; }

/* SECTION 6: CONTACT FORM */
.contact-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 100px 30px;
}
.contact-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-friendly);
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-box h2 { font-size: 2.4rem; text-align: center; margin-bottom: 15px; }
.contact-box p { color: var(--muted-color); text-align: center; margin-bottom: 40px; }

.medical-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.medical-form input, .medical-form textarea {
    width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: var(--radius-friendly);
    background-color: var(--bg-main); font-family: var(--font-primary); font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.medical-form input:focus, .medical-form textarea:focus { border-color: var(--accent-teal); background-color: #fff; }
.btn-submit-med {
    padding: 16px; background-color: var(--accent-teal); color: #fff; border: none;
    border-radius: var(--radius-friendly); font-family: var(--font-primary); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s;
}
.btn-submit-med:hover { background-color: var(--text-dark); }
.form-status { text-align: center; font-weight: 600; margin-top: 10px; }

/* SECTION 7: FOOTER */
.main-footer {
    background-color: var(--text-dark);
    color: #fff;
    padding: 80px 30px 40px 30px;
}
.footer-grid {
    max-width: var(--container-max);
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.1fr 0.8fr;
    gap: 40px;
}
.logo-footer { font-size: 1.5rem; font-weight: 700; text-decoration: none; color: #fff; letter-spacing: -0.5px; }
.logo-footer span { color: var(--accent-teal); }
.footer-text { color: #a1b0cb; font-size: 0.9rem; margin-top: 15px; line-height: 1.5; max-width: 250px; }

.footer-col h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-teal); margin-bottom: 20px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; text-decoration: none; color: #a1b0cb; font-size: 0.95rem; margin-bottom: 12px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
    max-width: var(--container-max); margin: 0 auto; border-top: 1px solid #3d4f63; padding-top: 30px;
    display: flex; justify-content: space-between; color: #a1b0cb; font-size: 0.85rem;
}
.footer-legal a { text-decoration: none; color: #a1b0cb; margin-left: 20px; }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   FOOTER IMAGE LOGO STYLES (CAREMED)
   ========================================================================== */
/*.logo-footer {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 15px; 
}

.logo-footer-img {
  height: 40px; 
  width: auto;  
  display: block;
  transition: opacity 0.3s ease;
}

.logo-footer:hover .logo-footer-img {
  opacity: 0.85;
}*/

/* Responsive για κινητά */
/*@media (max-width: 768px) {
  .logo-footer-img {
    height: 32px;
  }
}*/

/* RESPONSIVE SYSTEM */
@media (max-width: 1024px) {
    .guide-grid-3, .journey-steps-row, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container, .zigzag-row { grid-template-columns: 1fr; gap: 50px; }
    .zigzag-row.reverse { direction: ltr; }
}
@media (max-width: 768px) {
    .burger-menu { display: flex; }
    .nav-menu {
        position: fixed; top: -100vh; left: 0; width: 100%; height: 100vh;
        background-color: var(--bg-main); padding: 120px 30px;
        transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 190;
    }
    .nav-menu.open { top: 0; }
    .nav-links-wrapper { flex-direction: column; gap: 30px; align-items: flex-start; }
    .nav-link-item { font-size: 1.6rem; }
    
    .hero-section { height: auto; padding: 140px 20px 60px 20px; }
    .hero-content-box { padding: 30px 20px; max-width: 100%; }
    .hero-content-box h1 { font-size: 2.2rem; }
    
    .guide-grid-3, .journey-steps-row, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .section-title h2, .about-text h2, .zigzag-text h2, .contact-box h2 { font-size: 1.8rem; }
    .zigzag-image img { height: 280px; }
    .contact-box { padding: 30px 20px; }
    .footer-bottom { flex-direction: column; gap: 15px; }
    .footer-legal a { margin-left: 0; margin-right: 20px; }
}