/*
Theme Name: Tsatiris
Theme URI: https://tsatiris.gr
Author: Dimitris Tsatiris
Author URI: https://tsatiris.gr
Description: Tsatiris Consulting Services – clean, professional single-page site.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tsatiris
*/

/* =============================================
   RESET & BASE
   ============================================= */

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

:root {
    --navy:         #0d1b2a;
    --navy-mid:     #1b2d42;
    --navy-light:   #243447;
    --white:        #ffffff;
    --off-white:    #f0f4f8;
    --light-grey:   #f4f6f9;
    --accent:       #4a90d9;
    --accent-dark:  #2e6db4;
    --text-dark:    #0d1b2a;
    --text-body:    #4a5568;
    --text-muted:   #8fa8c0;
    --text-muted-dk:#718096;
    --border-dark:  rgba(255,255,255,0.08);
    --border-light: #e2e8f0;
    --font:         'Inter', 'Helvetica Neue', Arial, sans-serif;
    --max-w:        1100px;
    --nav-h:        64px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--navy);
    color: var(--white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: var(--accent-dark); }

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }

p { font-size: 1rem; }

/* =============================================
   LAYOUT
   ============================================= */

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

section { padding: 100px 0; }

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

/* =============================================
   NAV
   ============================================= */

.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.nav-logo img {
    height: 54px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 2px;
}

.lang-sep {
    font-size: 0.75rem;
    color: #cbd5e0;
    user-select: none;
    padding: 0 2px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 4px 7px;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #718096;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.lang-btn:hover { color: var(--navy); }

.lang-btn.active {
    color: var(--accent);
    background: rgba(74,144,217,0.1);
}

.nav-linkedin {
    display: flex;
    align-items: center;
    color: #374151;
    transition: color 0.2s;
}

.nav-linkedin:hover { color: var(--accent); }

/* =============================================
   HERO
   ============================================= */

#hero {
    background: var(--navy);
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(74,144,217,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: center;
}

.hero-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    height: 300px;
    width: auto;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.hero-eyebrow span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-title {
    color: var(--white);
    margin-bottom: 14px;
}

.hero-title .line2 {
    display: block;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-credibility {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(143,168,192,0.65);
    letter-spacing: 0.01em;
    max-width: 55ch;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(74,144,217,0.3);
}

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
}

/* =============================================
   ABOUT — white
   ============================================= */

#about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 64px;
    align-items: start;
}

.about-heading h2 { color: var(--text-dark); }

.about-body p {
    color: var(--text-body);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-body p:last-of-type { margin-bottom: 0; }

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted-dk);
}

/* =============================================
   EXPERTISE — light grey
   ============================================= */

#expertise {
    background: var(--light-grey);
}

.expertise-header { margin-bottom: 48px; }
.expertise-header h2 { color: var(--text-dark); }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.expertise-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.expertise-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.expertise-card-icon {
    color: var(--accent);
    margin-bottom: 14px;
}

.expertise-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.expertise-card-desc {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.65;
    max-width: none;
}

/* =============================================
   SERVICES — white
   ============================================= */

#services {
    background: var(--white);
}

.services-header { margin-bottom: 48px; }
.services-header h2 { color: var(--text-dark); margin-bottom: 12px; }

.services-intro {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 58ch;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(74,144,217,0.1);
    border: 1px solid rgba(74,144,217,0.2);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.8;
    max-width: none;
}

.services-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: rgba(74,144,217,0.05);
    border: 2px solid rgba(74,144,217,0.25);
    border-radius: 10px;
    margin-top: 8px;
}

.services-cta-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    max-width: none;
}

.services-cta-text strong { color: var(--text-dark); }

/* =============================================
   EXPERIENCE — light grey
   ============================================= */

#experience {
    background: var(--light-grey);
}

.experience-header { margin-bottom: 48px; }
.experience-header h2 { color: var(--text-dark); }

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0   rgba(74,144,217,0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(74,144,217,0); }
    100% { box-shadow: 0 0 0 0   rgba(74,144,217,0); }
}

.timeline {
    position: relative;
    padding-left: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(74,144,217,0.1));
}

.timeline-item { position: relative; }

.timeline-dot {
    position: absolute;
    left: -27px;
    top: 22px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--light-grey);
    z-index: 1;
}

.timeline-dot.current {
    animation: pulse-ring 2s ease-out infinite;
}

.timeline-entry {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.timeline-date {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.timeline-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted-dk);
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.75;
    max-width: 60ch;
}

/* =============================================
   CONTACT — dark navy
   ============================================= */

#contact {
    background: var(--navy);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left h2 { color: var(--white); margin-bottom: 14px; }

.contact-left > p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-link:hover { color: var(--white); }

.contact-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--navy-light);
    border: 1px solid var(--border-dark);
    color: var(--accent);
    flex-shrink: 0;
    transition: background 0.2s;
}

.contact-link:hover .contact-link-icon {
    background: rgba(74,144,217,0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: var(--navy-light);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(143,168,192,0.45);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74,144,217,0.15);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-submit { align-self: flex-start; }

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    background: var(--navy);
    border-top: 1px solid var(--border-dark);
    padding: 28px 0;
    text-align: center;
}

.site-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: none;
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--white); }

/* =============================================
   RESPONSIVE
   ============================================= */

/* ── Burger Button ───────────────────────────────────────────────────────── */

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu Drawer ───────────────────────────────────────────────────── */

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 199;
    padding: 16px 0 24px;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s, background 0.2s;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
    color: var(--accent);
    background: var(--light-grey);
}

@media (max-width: 900px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .container { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-burger { display: flex; }

    #hero {
        padding-top: calc(var(--nav-h) + 24px);
        padding-bottom: 48px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .hero-logo {
        height: 100px;
        width: auto;
        margin: 0 auto;
    }

    .hero-text-col { align-items: center; }
    .hero-eyebrow { justify-content: center; }
    .hero-cta { justify-content: center; flex-direction: column; }
    .hero-credibility { text-align: center; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid { grid-template-columns: 1fr; }

    .services-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stats-row { gap: 24px; }
    .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .expertise-grid { grid-template-columns: 1fr; }
    .stats-row { flex-wrap: wrap; }
}
