/* styles.css - Shared Styles for Türkiye İş Dünyası Haber Blogu */

/* === CSS RESET & BASE === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Theme: Ocean Depth */
    --bg: #030d1a; /* Deep navy */
    --bg-secondary: #05162a;
    --text: #f1f5f9; /* Pearl-white text */
    --text-muted: #94a3b8;
    --accent: #14b8a6; /* Seafoam/Teal accent */
    --accent-glow: rgba(20, 184, 166, 0.3);
    --gradient-primary: linear-gradient(135deg, #030d1a 0%, #0d9488 100%);

    /* Typography: Fraunces (headings) + Plus Jakarta Sans (body) */
    --font-heading: 'Fraunces', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Layout Constants */
    --container-max: 1200px;
    --column-width: 680px; /* One-Column Storytelling */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 15px; /* High density requirement */
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l30 30-30 30-30-30z' fill='%2314b8a6' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E"); /* Geometric SVG Pattern */
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p { margin-bottom: 1.25rem; }

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === STRUCTURAL BASELINES === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

/* One-Column Storytelling Archetype */
.story-column {
    max-width: var(--column-width);
    margin: 0 auto;
}

section {
    padding: 80px 0; /* Moderate padding */
    position: relative;
}

/* Section Divider: Full-width accent stripe */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent);
    opacity: 0.8;
}

/* === OVERLAY-ONLY NAVIGATION === */
.nav-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--accent);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
    transition: transform 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 13, 26, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-links li {
    margin: 1.5rem 0;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    padding-bottom: 5px;
    border-bottom: 4px solid var(--accent);
}

.nav-socials {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

.nav-socials a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

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

/* Tabbed Top Nav Hint (Internal pages use this in the logo area) */
.brand-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 100;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

/* === BUTTONS === */
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px var(--accent);
    filter: brightness(1.1);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--accent);
    cursor: pointer;
}

.btn-ghost:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0; /* Hero-heavy spacing */
    background: radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.15) 0%, transparent 50%);
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 0 0 55%;
}

.hero-image {
    flex: 0 0 45%;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
}

/* === SECTIONS & GRIDS === */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px; /* High density padding/gap */
}

/* Glass Panel Cards */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px; /* Compact text/padding */
    box-shadow: var(--shadow-glass);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel:hover {
    transform: perspective(1000px) rotateX(1deg) rotateY(1deg) translateY(-5px); /* 3D Card Lift */
    border-color: var(--accent);
}

/* Duotone Gradient Images */
.duotone-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.duotone-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg) 0%, var(--accent) 100%);
    mix-blend-mode: multiply;
    opacity: 0.6;
}

/* Interactive Element: Animated Infographic */
.infographic {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.stat-item {
    text-align: center;
}

.stat-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid var(--glass-border);
    border-top-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-bar-container {
    width: 100%;
    height: 10px;
    background: var(--glass-border);
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    background: var(--accent);
    width: 0;
    transition: width 1.5s ease-out;
}

/* Testimonials: Social Media Style */
.testimonial-card {
    border-left: 4px solid var(--accent);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-meta {
    font-size: 0.9rem;
}

.testimonial-handle {
    color: var(--accent);
    font-weight: 600;
}

/* Gallery Preview */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 184, 166, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.trust-badges:hover {
    opacity: 1;
    filter: grayscale(0);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 900;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s ease;
}

.fab.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* === FOOTER === */
.footer-line {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

/* === MOBILE ADAPTIVITY === */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .hero-image {
        flex: 0 0 100%;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    section {
        padding: 60px 0;
    }
}

/* Utility Classes */
.text-accent { color: var(--accent); }
.mt-2 { margin-top: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.text-center { text-align: center; }

/* Sticky bottom banner */
.sticky-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--accent);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.sticky-banner.active {
    transform: translateY(0);
}
