/* ============================================================
   Mega Mühendislik Asansör — Premium Website Styles
   ============================================================ */

/* --- Variables --- */
:root {
    --bg-dark: #0A0F1C;
    --bg-light-dark: #121929;
    --gold: #CBA153;
    --gold-hover: #e5b967;
    --text-light: #F4F4F6;
    --text-gray: #A3A8B7;
    --text-dark: #1A1A1A;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-light-dark { background-color: var(--bg-light-dark); }
.w-100 { width: 100%; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.section-subtitle {
    color: var(--gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2.4rem);
    margin-bottom: 30px;
    color: var(--text-light);
}

.section-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 60px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(203, 161, 83, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(203, 161, 83, 0.3);
    transform: translateY(-10px);
}

/* ============================================================
   1. PRELOADER (AmadaTech Exact Match)
   ============================================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    pointer-events: none;
}

.preloader-bg {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #000;
    z-index: 1;
    display: flex;
    align-items: center;
}

.left-bg {
    left: 0;
    justify-content: flex-end;
}

.right-bg {
    right: 0;
    justify-content: flex-start;
}

.metal-door {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2b2b2b 0%, #7b7b7b 20%, #dcdcdc 50%, #7b7b7b 80%, #2b2b2b 100%);
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
    opacity: 0;
    z-index: 0;
}

.left-metal-door {
    left: 0;
    border-right: 4px solid #1a1a1a;
}

.right-metal-door {
    right: 0;
    border-left: 4px solid #1a1a1a;
}

.glow-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.8),
                0 0 40px 15px rgba(255, 255, 255, 0.4),
                0 0 80px 30px rgba(255, 255, 255, 0.2);
    z-index: 2;
    opacity: 0;
}

.preloader-text-left, .preloader-text-right {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 2rem);
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0,0,0,0.9);
    opacity: 0;
    z-index: 1;
}

.preloader-text-left {
    padding-right: 20px;
}

.preloader-text-right {
    padding-left: 20px;
}

.preloader-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;
    opacity: 0;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

/* ============================================================
   2. HEADER / NAVBAR
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled .logo-img {
    height: 60px;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 600;
    letter-spacing: 1px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--gold);
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(0.75rem, 1.5vw, 1.5rem);
    margin-left: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:not(.btn-primary-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-nav):hover::after,
.nav-links a.active:not(.btn-primary-nav)::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.btn-primary-nav {
    border: 1px solid var(--gold);
    padding: 8px 24px;
    border-radius: 4px;
    color: var(--gold);
}

.btn-primary-nav:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 5px;
    transition: var(--transition);
}

/* ============================================================
   3. HERO SECTION
   ============================================================ */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 15, 28, 0.9) 0%, rgba(10, 15, 28, 0.4) 100%);
    z-index: 2;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    opacity: 0;
}

.hero-content-container {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.8vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: var(--gold);
    font-style: italic;
}

.word-rotator {
    display: inline-block;
    min-width: 0;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-line {
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    margin-right: 50px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.arrow-down {
    color: var(--gold);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

.about-image {
    position: relative;
    border-radius: 12px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(203, 161, 83, 0.4);
    border: 10px solid var(--bg-dark);
}

.exp-years {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-top: 5px;
}

.features-list {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-light);
}

/* ============================================================
   5. & 6. PRODUCTS / SERVICES SECTION
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    text-align: center;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(203, 161, 83, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--gold);
    font-size: 1.8rem;
    transition: var(--transition);
    border: 1px solid rgba(203, 161, 83, 0.2);
}

.product-card:hover .card-icon {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(203, 161, 83, 0.5);
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ============================================================
   7. STATS SECTION
   ============================================================ */
.stats {
    position: relative;
    padding: 120px 0;
    background-attachment: fixed;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 28, 0.85);
}

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

.stat-number-wrap {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.8vw, 3rem);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.plus {
    font-size: clamp(1.2rem, 2vw, 2.5rem);
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================================
   8. GALLERY SECTION
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================================
/* ============================================================
   9. REFERENCES SECTION
   ============================================================ */
.references-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.reference-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 140px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    gap: 12px;
}

.reference-logo {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.reference-name {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    opacity: 0.5;
    transition: var(--transition);
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.reference-card:hover .reference-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.reference-card:hover .reference-name {
    opacity: 1;
    color: var(--primary-color);
}

/* ============================================================
   10. CONTACT SECTION
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    margin-bottom: 15px;
    color: var(--gold);
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-list .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(203, 161, 83, 0.1);
    border: 1px solid rgba(203, 161, 83, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.info-text h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    color: var(--text-gray);
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(203, 161, 83, 0.1);
}

.input-group textarea {
    resize: vertical;
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer {
    background-color: #060911;
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    margin-bottom: 20px;
}

.footer-brand h2 span {
    color: var(--gold);
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 1.2rem;
}

.footer-brand p {
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
}

.social-links a:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--bg-dark);
}

.footer-links h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-gray);
}

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

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Logo görsel boyutları */
.logo-img {
    height: 85px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: height 0.3s ease;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .logo-img {
        height: 55px;
    }
    .header.scrolled .logo-img {
        height: 45px;
    }
}

.powered-by {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.6;
}

.powered-by a {
    color: var(--gold);
    opacity: 0.8;
    transition: var(--transition);
}

.powered-by a:hover {
    opacity: 1;
}

/* ============================================================
   12. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* iOS'ta background-attachment:fixed çalışmaz */
@media (hover: none) and (pointer: coarse) {
    .stats-bg {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 1200px) {
    .cards-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 45px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: 30px;
    }

    .about-image {
        padding-bottom: 50px;
    }

    .experience-badge {
        width: 110px;
        height: 110px;
        bottom: 0;
        right: 20px;
    }

    .exp-years { font-size: 1.8rem; }

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

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

@media screen and (max-width: 768px) {
    .section {
        padding: 65px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .hero-line { display: none; }


    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        transition: right 0.5s ease;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
    }

    .hamburger {
        display: block;
    }

    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .hamburger.toggle .line2 {
        opacity: 0;
    }

    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    .gallery-grid,
    .cards-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-item {
        height: 270px;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .features-list { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; text-align: center; }

    .glass-card {
        padding: 25px 20px;
    }

    .about-image {
        padding-bottom: 60px;
    }

    .experience-badge {
        width: 95px;
        height: 95px;
        bottom: 5px;
        right: 15px;
        border-width: 6px;
    }

    .exp-years { font-size: 1.5rem; }
    .exp-text { font-size: 0.7rem; }

    .gallery-item {
        height: 220px;
    }

    .stats {
        padding: 60px 0;
    }
}

@media screen and (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section-subtitle {
        letter-spacing: 1px;
        font-size: 0.85rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .glass-card {
        padding: 20px 15px;
    }
}

/* =========================================
   LIGHTBOX STYLES
   ========================================= */
.lightbox {
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 15, 26, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-content-wrapper {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}
#lightbox-caption {
    margin-top: 15px;
    color: var(--light-text);
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
}
#lightbox-counter {
    margin-top: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    z-index: 10000;
    backdrop-filter: blur(5px);
}
.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.lightbox-prev {
    left: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
    color: #fff;
}
@keyframes zoomIn {
    from {transform:scale(0.9); opacity:0;}
    to {transform:scale(1); opacity:1;}
}
@media screen and (max-width: 768px) {
    .lightbox-content-wrapper {
        max-width: 95%;
    }
    .lightbox-prev, .lightbox-next {
        font-size: 20px;
        padding: 10px;
    }
    .lightbox-content {
        max-height: 60vh;
    }
}

