/* =====================================================
   GREENX ALTYAPI INSAAT TURIZM SANAYI ELEKTRİK - Site CSS
   ===================================================== */

:root {
    --primary: #0096b7;
    --primary-dark: #007a96;
    --primary-light: #48cae4;
    --dark: #f5f7fa; /* Ana arka plan → açık gri-beyaz */
    --dark-2: #eef1f6; /* Alternatif bölümler → biraz daha koyu beyaz */
    --dark-3: #ffffff; /* Kartlar → saf beyaz */
    --dark-4: #e8ecf2; /* Input arka planları */
    --text-light: #1e293b; /* Ana metin → koyu lacivert */
    --textwhite: #ffffff; /* Ana metin → koyu lacivert */
    --text-muted: #64748b; /* İkincil metin → orta gri */
    --white: #1e293b; /* "white" değişkeni → başlıklar için koyu renk */
    --accent: #f4a261;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-blue: 0 4px 20px rgba(0, 150, 183, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    position: relative;
}

    .section-title span {
        color: var(--primary);
    }

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 3.5rem;
}

    .section-header.center {
        text-align: center;
    }

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 1rem 0;
    border-radius: 2px;
}

    .divider.center {
        margin: 1rem auto;
    }

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    padding: 5rem 0;
    background-color: var(--dark-2);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: transparent;
    transition: var(--transition);
}

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    transition: var(--transition);
}

.navbar.scrolled .navbar-inner {
    padding: 0.8rem 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--textwhite);
    letter-spacing: 1px;
    line-height: 1;
}

    .brand-name span {
        color: var(--primary);
    }

.brand-name-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
    line-height: 1;
}

    .brand-name-logo span {
        color: var(--primary);
    }

.brand-tagline {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 800;
    box-shadow: var(--shadow-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: rgba(30, 41, 59, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: var(--transition);
    }

    .nav-link:hover, .nav-link.active {
        color: var(--primary);
    }

        .nav-link:hover::after, .nav-link.active::after {
            width: 80%;
        }

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
}

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

    .nav-cta:hover {
        background: var(--primary-dark);
        color: var(--white) !important;
        transform: translateY(-1px);
        box-shadow: var(--shadow-blue);
    }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-light);
        border-radius: 2px;
        transition: var(--transition);
    }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,247,250,0.88) 0%, rgba(0,180,216,0.08) 100%), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(245,247,250,0.95) 40%, rgba(245,247,250,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 2rem;
    padding-top: 8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

    .hero-title .highlight {
        color: var(--primary);
        display: block;
    }

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% {
        opacity: 1;
        transform: scaleY(1);
    }

    100% {
        opacity: 0;
        transform: scaleY(0.5) translateY(20px);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-blue);
        color: var(--white);
    }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.82rem;
}

/* ===== CARDS ===== */
.card {
    background: var(--dark-3);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

    .card:hover {
        border-color: rgba(0, 150, 183, 0.3);
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--dark-3);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 0;
        background: var(--primary);
        transition: var(--transition);
    }

    .service-card:hover::before {
        height: 100%;
    }

    .service-card:hover {
        border-color: rgba(0, 150, 183, 0.35);
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card h3 {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.about-img-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--dark-4), var(--dark-2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 1px solid rgba(0, 150, 183, 0.15);
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    min-width: 130px;
    box-shadow: var(--shadow-blue);
}

.about-badge-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 0.3rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.feature-text strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.feature-text span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--dark-3);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .project-card:hover {
        border-color: rgba(0, 150, 183, 0.4);
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

.project-img {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--dark-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

    .project-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-body {
    padding: 1.5rem;
}

.project-tag {
    display: inline-block;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.project-body h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== REFERENCES ===== */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.ref-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--dark-3);
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

    .ref-item:hover {
        border-color: rgba(0, 150, 183, 0.3);
        background: var(--dark-4);
    }

.ref-num {
    min-width: 32px;
    height: 32px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.ref-text {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== VISION MISSION ===== */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    background: var(--dark-3);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

    .vm-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
    }

    .vm-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

.vm-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.vm-card h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.vm-card p {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

    .contact-info-item a:hover {
        color: var(--primary);
    }

/* ===== FORM ===== */
.contact-form {
    background: var(--dark-3);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

    .contact-form h3 {
        color: var(--text-light);
        font-size: 1.3rem;
        margin-bottom: 1.8rem;
    }

.form-group {
    margin-bottom: 1.3rem;
}

    .form-group label {
        display: block;
        color: var(--text-muted);
        font-size: 0.82rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

.form-control {
    width: 100%;
    background: var(--dark-4);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    color: var(--text-light);
    padding: 0.8rem 1rem;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
    }

    .form-control::placeholder {
        color: var(--text-muted);
        opacity: 0.6;
    }

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ===== COUNTER SECTION ===== */
.counters-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0096b7, #00b4d8);
    border-top: none;
    border-bottom: none;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.counter-item {
    padding: 2rem 1rem;
    position: relative;
}

    .counter-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 60%;
        width: 1px;
        background: rgba(255, 255, 255, 0.25);
    }

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
    padding: 9rem 0 5rem;
    background: linear-gradient(135deg, #eef1f6 0%, rgba(0, 180, 216, 0.1) 100%);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

    .page-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="%2300b4d8" opacity="0.15"/></svg>') repeat;
        background-size: 40px 40px;
        opacity: 0.3;
    }

.page-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

        .breadcrumb a:hover {
            color: var(--primary);
        }

.breadcrumb-sep {
    color: rgba(0,0,0,0.2);
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1rem;
}

    .page-hero h1 span {
        color: var(--primary);
    }

.page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
    background: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background: var(--primary);
    }

.footer-links li {
    margin-bottom: 0.6rem;
}

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

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

.footer-contact-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

    .footer-contact-item span:first-child {
        color: var(--primary);
        flex-shrink: 0;
    }

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

    .social-link:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .footer-bottom p {
        color: var(--text-muted);
        font-size: 0.82rem;
    }

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

/* ===== ALERT / VALIDATION ===== */
.alert {
    padding: 1rem 1.2rem;
    border-radius: 4px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.alert-success {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
    color: #2ecc71;
}

.alert-danger {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: var(--shadow-blue);
    }

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
        border-left: 1px solid rgba(0,0,0,0.08);
    }

        .nav-menu.open {
            right: 0;
        }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 0;
    }

    .about-grid,
    .vm-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-badge {
        right: 0;
    }

    .hero-stats-inner {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .counter-item::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

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

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

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

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