/*
Theme Name: Al Wala Electric Pro
Theme URI: https://www.alwalaelectric.com
Author: Al Wala Electric
Description: Dark kurumsal tema - animasyonlu hizmetler, referans slider, iletişim geliştirmeleri
Version: 1.0
Text Domain: alwala-electric-pro
*/

:root {
    --primary: #ff7a00;
    --primary-dark: #cc5f00;
    --text-light: #f5f5f5;
    --text-muted: #aaaaaa;
    --bg-dark: #050505;
    --bg-section-1: #111111;
    --bg-section-2: #151515;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER + TOPBAR */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* üst bar */
.topbar {
    background: #050505;
    border-bottom: 1px solid #222222;
    font-size: 12px;
    color: #f1f1f1;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.top-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid var(--primary-dark);
    white-space: nowrap;
}

.top-btn i {
    font-size: 13px;
}

.top-btn:hover {
    filter: brightness(0.95);
}

/* ghost / language */
.top-btn.ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.35);
}
.top-btn.ghost:hover {
    background: rgba(255,255,255,0.08);
}

/* ana nav */
.main-nav {
    background: #050505;
    border-bottom: 1px solid #222222;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 0;
}

.logo-img {
    height: 48px;
    margin-left: -4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-top: 2px;
}

.brand-text span:first-child {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 15px;
}

.brand-text span:last-child {
    color: #cccccc;
    font-size: 11px;
}

/* menü */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 22px;
    list-style: none;
    font-size: 13px;
    text-transform: uppercase;
}

.nav-menu li a {
    position: relative;
    color: #f5f5f5;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 8px 2px;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    width: 100%;
}

/* sağ kısım */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 12px;
}

.nav-cta {
    padding: 7px 20px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255,122,0,0.25);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

/* HERO */
.hero {
    background: radial-gradient(circle at 20% 30%, #1b1b1b 0%, #0c0c0c 50%, #000000 100%);
    color: #ffffff;
    padding: 80px 0 90px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.hero h2 {
    font-size: 18px;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 18px;
}

.hero p {
    font-size: 14px;
    color: #d0d0d0;
    max-width: 540px;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,122,0,0.4);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-badges i {
    color: var(--primary);
}

/* HERO CARD */
.hero-card {
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 20px 20px 22px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}

.hero-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 13px;
    color: #e0e0e0;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.metric {
    background: #262626;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 12px;
}

.metric strong {
    display: block;
    font-size: 18px;
}

/* SECTIONS */
section {
    padding: 70px 0;
}

section:nth-of-type(odd) {
    background: var(--bg-section-1);
}

section:nth-of-type(even) {
    background: var(--bg-section-2);
}

.section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* CORPORATE */
.corporate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.corporate-grid h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.corporate-grid p {
    font-size: 14px;
    color: #dddddd;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag {
    font-size: 11px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #1f1f1f;
    border: 1px solid #333333;
}

/* list */
.list {
    list-style: none;
    font-size: 14px;
    color: #dddddd;
}

.list li {
    margin-bottom: 6px;
}

.list li i {
    color: var(--primary);
    margin-right: 6px;
}

/* HİZMETLER - animasyonlu kartlar */
.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    background: #1c1c1c;
    border-radius: 16px;
    padding: 20px 18px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-icon {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 8px;
    transition: transform 0.2s ease;
}

.card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.card p {
    font-size: 13px;
    color: #dddddd;
    margin-bottom: 8px;
}

.card ul {
    list-style: none;
    font-size: 13px;
    color: #cccccc;
}

.card ul li {
    margin-bottom: 4px;
}

.card ul li i {
    color: var(--primary);
    margin-right: 6px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.55);
    border-color: var(--primary);
}

.card:hover .card-icon {
    transform: scale(1.08);
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    background: #1c1c1c;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}

.project-body {
    padding: 14px 16px 16px;
    font-size: 13px;
}

.project-body h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #bbbbbb;
    margin-bottom: 4px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.project-tags span {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #262626;
}

/* DOCUMENTS */
.docs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
}

.doc-list {
    list-style: none;
    font-size: 14px;
    color: #dddddd;
}

.doc-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-list li span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.doc-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #222222;
    color: #f0f0f0;
}

/* REFERENCES - slider */
.references-outer {
    position: relative;
}

.references-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 4px;
    scrollbar-width: thin;
}

.references-slider::-webkit-scrollbar {
    height: 6px;
}

.references-slider::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 999px;
}

.ref-slide {
    scroll-snap-align: center;
    min-width: 150px;
    max-width: 180px;
}

.ref-logo {
    height: 46px;
    border-radius: 10px;
    border: 1px solid #333333;
    background: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #aaaaaa;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ref-logo:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    background: #222222;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* slider arrows */
.ref-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.65);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ref-arrow:hover {
    background: rgba(0,0,0,0.9);
}

.ref-prev {
    left: -6px;
}

.ref-next {
    right: -6px;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
}

.contact-info {
    font-size: 14px;
    color: #dddddd;
}

.info-block {
    margin-bottom: 14px;
}

.info-block strong {
    display: block;
    margin-bottom: 4px;
}

.info-block i {
    color: var(--primary);
    margin-right: 6px;
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
}

.contact-badges span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #1f1f1f;
}

/* form */
form {
    background: #1c1c1c;
    padding: 18px 18px 20px;
    border-radius: 14px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: #e0e0e0;
}

input, textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #3a3a3a;
    background: #111111;
    color: #f5f5f5;
    font-family: inherit;
    font-size: 13px;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

/* Map */
.map-wrapper {
    margin-top: 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}
.map-wrapper iframe {
    width: 100%;
    height: 220px;
    border: 0;
}

/* FOOTER */
footer {
    background: #000000;
    color: #bbbbbb;
    padding: 18px 0;
    font-size: 12px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    z-index: 9999;
}

.whatsapp-float i {
    font-size: 26px;
}

.whatsapp-float:hover {
    background: #1ebe5d;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .hero-inner,
    .corporate-grid,
    .docs-layout,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nav {
        padding: 10px 0;
    }

    .nav-center {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #050505;
        display: none;
        padding: 10px 20px;
        border-top: 1px solid #202020;
    }

    .nav-center.open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 12px;
    }

    .nav-right .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .projects-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .references-slider {
        padding: 6px 24px 4px;
    }

    .ref-prev {
        left: 4px;
    }

    .ref-next {
        right: 4px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 32px;
    }
}
