/* ==========================================================================
   ELBAMAK - Main Stylesheet (Clean Stripe Aesthetic - Light Theme)
   Pure Vanilla CSS - Zero Framework Dependencies
   ========================================================================== */

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    padding-bottom: 72px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* --------------------------------------------------------------------------
   Containers & Spacing
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }
}

.section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
    position: relative;
}

@media (min-width: 1024px) {
    .section {
        padding-top: var(--space-20);
        padding-bottom: var(--space-20);
    }
}

.section-subtle {
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-secondary);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    width: fit-content;
}

.badge-yellow {
    background-color: #FECD14 !important;
    color: #1A1918 !important;
    border: none !important;
    font-weight: 800 !important;
}

.badge-dark {
    background-color: var(--secondary-light);
    color: var(--secondary);
    border: none;
}

.badge-red {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-12);
}

.section-header .badge {
    margin-bottom: var(--space-3);
}

.section-header h2 {
    margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75rem 1.6rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-outline:hover {
    background-color: var(--bg-muted);
    border-color: var(--text-primary);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Top Bar & Header (Açık Gri Bar & İkinci Menü Alanı)
   -------------------------------------------------------------------------- */
:root {
    --top-bar-height: 0px;
}

@media (min-width: 992px) {
    :root {
        --top-bar-height: 40px;
    }
}

.top-bar {
    display: none;
    max-width: 1760px;
    width: 96.5%;
    margin: 0 auto;
    background-color: var(--primary, #FECD14); /* Kurumsal Kadmiyum Sarı */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.16);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 0.8125rem;
    color: #2D2C2B;
    height: var(--top-bar-height);
    position: relative;
    z-index: 1001;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .top-bar {
        display: flex;
        align-items: center;
    }

    .top-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        width: 100%;
        padding: 0 clamp(3rem, 5.5vw, 6rem);
    }

    .top-bar-info {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .top-bar-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #2D2C2B;
        font-weight: 600;
        font-size: 0.8125rem;
    }

    .top-bar-item svg {
        color: #2D2C2B;
        flex-shrink: 0;
    }

    .top-bar-phone a {
        color: #2D2C2B;
        font-weight: 700;
        text-decoration: none;
        transition: opacity 0.15s ease;
    }

    .top-bar-phone a:hover {
        opacity: 0.75;
    }

    .top-bar-secondary-menu {
        display: flex;
        align-items: center;
        gap: 1.75rem;
    }

    .top-secondary-nav {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .top-nav-link {
        color: #2D2C2B;
        font-weight: 600;
        font-size: 0.8125rem;
        text-decoration: none;
        transition: opacity 0.15s ease;
    }

    .top-nav-link:hover {
        opacity: 0.7;
    }

    /* Top Bar Social Icons */
    .top-bar-socials {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .top-social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        border-radius: 6px;
        color: #2D2C2B;
        background: rgba(45, 44, 43, 0.08);
        border: 1px solid rgba(45, 44, 43, 0.14);
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        text-decoration: none;
    }

    .top-social-link:hover {
        background: #2D2C2B;
        color: #FECD14;
        border-color: #2D2C2B;
        transform: translateY(-1px);
    }

    .top-social-link svg {
        flex-shrink: 0;
    }

    .top-bar-divider {
        width: 1px;
        height: 16px;
        background: rgba(45, 44, 43, 0.22);
    }

    /* Dil Seçici (TR / EN) */
    .top-bar-lang {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.14);
        border-radius: 4px;
        padding: 2px 7px;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .top-bar-lang .lang-btn {
        color: #4A4947;
        text-decoration: none;
        cursor: pointer;
        transition: color 0.15s ease;
    }

    .top-bar-lang .lang-btn.active {
        color: #1A1918;
        font-weight: 800;
    }

    .top-bar-lang .lang-btn:not(.active):hover {
        color: #000000;
    }

    .top-bar-lang .lang-sep {
        color: rgba(0, 0, 0, 0.25);
        font-size: 0.7rem;
    }
}

.header {
    position: absolute;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    transition: top 0.2s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(26, 25, 24, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    gap: var(--space-4);
    max-width: 1760px;
    width: 96.5%;
    margin: 0 auto;
    padding: 0 clamp(3rem, 5.5vw, 6rem);
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-fast);
}

.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: clamp(1.2rem, 1.8vw, 2.2rem);
        white-space: nowrap;
        margin-left: auto;
    }
    .nav-link {
        font-size: 0.9375rem;
        font-weight: 600;
        color: #FFFFFF;
        transition: color var(--transition-fast);
        padding: 8px 2px;
        position: relative;
    }
    .nav-link:last-child {
        padding-right: 0;
    }
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        border-radius: 2px;
        transition: width var(--transition-base);
    }
    .nav-link:hover {
        color: var(--primary);
    }
    .nav-link:hover::after {
        width: 100%;
    }

    .header-actions {
        display: none;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.header-phone-pill {
    display: none;
}

@media (min-width: 960px) {
    .header-phone-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0.55rem 1.15rem;
        background-color: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.24);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: var(--radius-full);
        font-size: 0.8125rem;
        font-weight: 700;
        color: #FFFFFF;
        white-space: nowrap;
        transition: var(--transition-fast);
    }
    .header-phone-pill:hover {
        background-color: rgba(255, 255, 255, 0.22);
        border-color: #FFFFFF;
        color: #FFFFFF;
    }
}

.btn-header-cta {
    padding: 0.65rem 1.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.mobile-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--bg-muted);
    border: 1px solid var(--border-color);
}

@media (min-width: 1024px) {
    .mobile-toggle-btn {
        display: none;
    }
}

.mobile-toggle-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
    margin: 2px 0;
}

.mobile-toggle-btn.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-toggle-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle-btn.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: var(--bg-main);
    z-index: 999;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mobile-nav-links a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-contacts {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bottom Bar
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 var(--space-2);
}

@media (min-width: 768px) {
    .mobile-bottom-bar {
        display: none;
    }
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-secondary);
    flex: 1;
    padding: 6px 0;
}

.mobile-bottom-item.active-action {
    color: #128C7E;
}

.mobile-bottom-item svg {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding-top: var(--space-16);
    padding-bottom: var(--space-10);
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
        gap: var(--space-8);
    }
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: var(--space-4);
    margin-bottom: var(--space-6);
    font-size: 0.9375rem;
    max-width: 320px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom a {
    color: var(--text-muted);
}

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