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

:root {
    --dark: #0f172a;
    --dark-soft: #1e293b;
    --steel: #374151;
    --concrete: #6b7280;
    --light: #f8fafc;
    --accent: #334155;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Arimo", "Segoe UI", sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.75;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 0 24px;
}

/* ==================================================
   HEADER / NAVBAR - MODERN GLASSMORPHISM
================================================== */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: sticky;
    top: 0;
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.header:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    position: relative;
    z-index: 10;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 56px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--dark);
    position: relative;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}

.nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04) 0%, rgba(51, 65, 85, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #0f172a 0%, #334155 100%);
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
    color: var(--dark);
    transform: translateY(-2px);
}

.nav a:hover::before {
    opacity: 1;
}

.nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Active state for current page */
.nav a.active {
    font-weight: 600;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.06) 0%, rgba(51, 65, 85, 0.08) 100%);
}

.nav a.active::after {
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
}

/* ==================================================
   HERO – UPDATED GRID VERSION
================================================== */
.hero {
    position: relative;
    background:
        linear-gradient(rgba(15, 23, 42, .9), rgba(15, 23, 42, .9)),
        url("../images/arkaplan.jpeg") center/cover no-repeat;
    padding: 180px 0 220px;
    color: #ffffff;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background: repeating-linear-gradient(-45deg,
            #1e293b,
            #1e293b 24px,
            #334155 24px,
            #334155 48px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* HERO TEXT */
.hero-text {
    max-width: 620px;
}

.hero-text h1 {
    font-size: 58px;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-text h2 {
    font-size: 30px;
    margin: 22px 0;
    color: #cbd5f5;
}

.hero-text p {
    font-size: 19px;
    color: #e5e7eb;
}

/* HERO BUTTONS */
.btn-group {
    margin-top: 46px;
    display: flex;
    gap: 24px;
}

.stats-section {
    background: #ffffff;
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, .05);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #000;
    letter-spacing: .5px;
}

.stat-item p {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==================================================
   HAMBURGER MENU - MODERN ANIMATED
================================================== */

/* ===============================
   HAMBURGER BUTTON
=============================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 6px;
    cursor: pointer;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2001;
}

.menu-toggle:hover {
    background: rgba(15, 23, 42, 0.05);
}

.menu-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/* ===============================
   MOBILE NAV - GLASSMORPHISM SLIDE
=============================== */
@media (max-width: 992px) {

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 100px 20px 40px;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        overflow-y: auto;
    }

    .nav a {
        padding: 18px 24px;
        margin: 4px 0;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 500;
        color: var(--dark);
        background: transparent;
        border: none;
        transition: all 0.25s ease;
    }

    .nav a::before,
    .nav a::after {
        display: none;
    }

    .nav a:hover {
        background: rgba(15, 23, 42, 0.06);
        transform: translateX(8px);
    }

    .nav.active {
        right: 0;
    }

    /* Overlay when menu is open */
    .nav::before {
        content: "";
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .nav.active::before {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ===============================
   HAMBURGER ANIMATION
=============================== */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* ==================================================
   ABOUT / HAKKIMIZDA
================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: start;
}

/* SOL METİN */
.about-text p {
    font-size: 18px;
    color: var(--steel);
    margin-bottom: 18px;
}

/* HEADER SOLA HİZALI */
.section-header.left {
    text-align: left;
    margin-bottom: 36px;
}

/* SAĞ DEĞERLER */
.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* DEĞER KARTI */
.value-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 34px 28px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
    transition: transform .35s ease, box-shadow .35s ease;
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* İKON */
.value-icon {
    font-size: 34px;
    display: inline-block;
    margin-bottom: 14px;
}

/* BAŞLIK */
.value-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}

/* AÇIKLAMA */
.value-card p {
    font-size: 15px;
    color: var(--steel);
    line-height: 1.6;
}

/* ==================================================
   WHY ENBA PROJE
================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 44px;
}

.why-item {
    background: #ffffff;
    border-left: 5px solid var(--dark);
    padding: 36px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
    transition: transform .35s ease;
}

.why-item:hover {
    transform: translateY(-6px);
}

.why-item h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.why-item p {
    color: var(--steel);
    font-size: 16px;
}


/* RESPONSIVE */
@media(max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        margin-top: 50px;
    }
}

@media(max-width: 576px) {
    .about-values {
        grid-template-columns: 1fr;
    }
}




/* ==================================================
   BUTTONS
================================================== */
.btn {
    padding: 16px 44px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.btn-dark {
    background: var(--dark);
    color: #ffffff;
}

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

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--dark);
}

/* ==================================================
   HERO DEALERS (USING EXISTING CARD DESIGN)
================================================== */
.hero-dealers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* ==================================================
   DEALERS / BRANDS
================================================== */
.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.dealer-card {
    background: #ffffff;
    border-radius: 70px;
    padding: 38px 20px;
    height: 140px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform .3s ease, box-shadow .3s ease;
}

.dealer-card img {
    width: auto;
    height: 70px;
    object-fit: contain;
}

.dealer-card span {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: .3px;
}

.dealer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* ==================================================
   SECTION HEADERS
================================================== */
.section {
    padding: 120px 0;
}

.section.dark {
    background: #f1f5f9;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 18px;
}

.section-header p {
    font-size: 18px;
    color: var(--steel);
}

/* ==================================================
   TABLES > BETON KALİTELERİ VE HİZMETLER KISMI
================================================== */
#hizmetler {
    background: #f1f5f9;
}

#hizmetler .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

#hizmetler .service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

#hizmetler .service-card h4 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #0f172a;
}

#hizmetler .service-card p {
    font-size: 16.5px;
    line-height: 1.65;
    color: #374151;
}

#hizmetler .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, .12);
}


#beton {
    background: #f1f5f9;
}

/* TABLO */
#beton .table-wrapper {
    overflow-x: auto;
    margin-bottom: 70px;
}

#beton .concrete-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}


#beton .concrete-table th {
    background: #f8fafc;
    padding: 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

#beton .concrete-table td {
    padding: 16px 18px;
    font-size: 15.5px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

#beton .concrete-table tr:hover td {
    background: #f1f5f9;
}

#beton .table-section-title td {
    background: #f8fafc;
    font-weight: 700;
    text-align: center;
    color: #0f172a;
}

#beton .table-note td {
    background: #f8fafc;
    font-size: 14.5px;
    color: #475569;
    text-align: center;
    padding: 22px;
}


/* TS EN 206 */
#beton .standards-section {
    margin-bottom: 80px;
}

#beton .standards-section h3 {
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
    color: #0f172a;
}

#beton .standards-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

#beton .standards-table th {
    padding: 16px;
    background: #f8fafc;
    color: #334155;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

#beton .standards-table td {
    padding: 16px;
    font-size: 15.5px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}


/* KALİTE KARTLARI */
#beton .quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

#beton .quality-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}

#beton .quality-card h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

#beton .quality-card p {
    font-size: 15.5px;
    color: #64748b;
}

#beton .quality-hover {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .96);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity .35s ease;
}

#beton .quality-hover p {
    font-size: 16px;
    color: #0f172a;
}

#beton .quality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .15);
}

#beton .quality-card:hover .quality-hover {
    opacity: 1;
}


/* İLETİSİM KARTLARI */

/* ================= İLETİŞİM ================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* SOL */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-card {
    display: flex;
    gap: 18px;
    background: #ffffff;
    padding: 26px 28px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.contact-icon {
    font-size: 26px;
    line-height: 1;
    margin-top: 4px;
}

.contact-card h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #0f172a;
}

.contact-card p {
    font-size: 15.5px;
    color: #374151;
    line-height: 1.6;
}

.contact-company {
    margin-top: 20px;
    font-size: 15px;
    color: #475569;
}

/* SAĞ FORM */
.contact-form {
    background: #ffffff;
    padding: 42px 38px;
    border-radius: 18px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .10);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-group label {
    font-size: 14.5px;
    margin-bottom: 6px;
    color: #334155;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0f172a;
}


/* 
-----------------------
REFERANSLAR TABLOSU 
-----------------------
*/

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.reference-card {
    background: #ffffff;
    border-left: 4px solid var(--dark);
    padding: 20px 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
}

.reference-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.reference-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.reference-logo img {
    max-width: 130px;
    max-height: 65px;
    object-fit: contain;
    filter: none;
    /* ❌ siyah-beyaz kaldırıldı */
    transition: transform .25s ease;
}

.reference-card:hover .reference-logo img {
    transform: scale(1.05);
    /* sadece hafif büyüme */
}


.reference-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #222;
    letter-spacing: .2px;
    transition: color .25s ease;
}

.reference-card:hover h4 {
    color: var(--dark);
}

@media (max-width: 1200px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .references-grid {
        grid-template-columns: 1fr;
    }
}



/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}



/* ==================================================
   FOOTER – CORPORATE (LACİVERT TEMA)
================================================== */
.footer-main {
    position: relative;
    background: #1e293b;
    /* dark-soft */
    color: #cbd5e1;
    padding: 80px 0 40px;
    font-size: 14px;
}

/* ÜST GRADIENT ÇİZGİ */
.footer-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            #334155,
            #64748b,
            #334155,
            transparent);
    box-shadow: 0 0 10px rgba(100, 116, 139, .35);
}

/* ÜST GRID */
.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 60px;
}

/* KOLONLAR */
.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 14px;
}

/* LİNKLER */
.footer-col a {
    position: relative;
    display: inline-block;
    color: #e5e7eb;
    text-decoration: none;
    padding-bottom: 4px;
    transition: color .3s ease;
}

/* UNDERLINE */
.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #64748b;
    /* slate vurgu */
    transition: width .35s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-col a:hover::after {
    width: 100%;
}

/* STAGGER (Kademeli hover hissi) */
.footer-col li:nth-child(1) a {
    transition-delay: .02s;
}

.footer-col li:nth-child(2) a {
    transition-delay: .04s;
}

.footer-col li:nth-child(3) a {
    transition-delay: .06s;
}

.footer-col li:nth-child(4) a {
    transition-delay: .08s;
}

.footer-col li:nth-child(5) a {
    transition-delay: .10s;
}

/* ROZET / ETİKET */
.footer-badge {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    margin-bottom: 18px;
    letter-spacing: .4px;
}

/* ROZET ALT BOŞLUK */
.mt-badge {
    margin-top: 34px;
}

/* SAĞ TARAF / İLETİŞİM */
.footer-contact h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #cbd5e1;
}

/* AYIRICI */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .12);
    margin: 50px 0 40px;
}

/* ALT BAR */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 72px;
    /* ideal büyük kurumsal ölçü */
    width: auto;
    max-width: 220px;
    /* taşmayı engeller */
    object-fit: contain;
}


.footer-copy {
    text-align: right;
    color: #94a3b8;
    font-size: 13px;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media(max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }
}



/* ==================================================
   RESPONSIVE
================================================== */
@media(max-width: 992px) {


    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: auto;
    }

    .hero-dealers {
        margin-top: 60px;
    }

    .btn-group {
        justify-content: center;
    }
}

@media(max-width: 576px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 22px;
    }

    .hero-dealers {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 576px) {
    .footer-logo img {
        height: 52px;
    }
}

/* Quality Grid Responsive */
@media (max-width: 1024px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .quality-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stat-item h3 {
        font-size: 40px;
    }
}

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

    .stat-item h3 {
        font-size: 36px;
    }
}

/* ==================================================
   MODERN CONTACT SECTION - REDESIGNED
================================================== */
.contact-section {
    padding: 100px 0 140px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    min-height: 640px;
}

/* LEFT PANEL */
.contact-info-panel {
    flex: 0.45;
    background: #0f172a;
    color: #ffffff;
    padding: 60px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

/* Gradient Overlay */
.contact-info-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 60%);
    pointer-events: none;
}

.info-header .subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.info-header h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-header p {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
}

.info-items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item .icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.15);
}

.info-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #f8fafc;
}

.info-item p,
.info-item a {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.5;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.info-item a:hover {
    color: #ffffff;
}

.info-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-footer strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.info-footer p {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Deco Circles */
.circle-deco {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 20px;
}


/* RIGHT PANEL (FORM) */
.contact-form-panel {
    flex: 0.55;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-form {
    width: 100%;
}

.modern-form h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 35px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #0f172a;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Floating Label Logic via :placeholder-shown */
.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 13px;
    color: #0f172a;
    font-weight: 600;
}

.input-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0f172a;
    transition: width 0.3s ease;
}

.input-group input:focus~.line,
.input-group textarea:focus~.line {
    width: 100%;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
}


/* BUTTON */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    color: #ffffff;
    padding: 16px 48px;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover {
    background: #334155;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.btn-submit:hover svg {
    transform: translateX(4px) rotate(-10deg);
}

.btn-submit:active {
    transform: translateY(0);
}


/* SUCCESS MESSAGE */
.form-success {
    display: none;
    /* hidden by default */
    margin-top: 30px;
    padding: 20px;
    border-radius: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info-panel,
    .contact-form-panel {
        flex: 1;
        padding: 50px 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}