/* ========================================
   KEREK1PC - Dark Tech Theme
   ======================================== */

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

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.6);
    --glass-border: rgba(255, 107, 53, 0.15);
    --glass-bg: rgba(17, 24, 39, 0.45);
    --accent: #ff6b35;
    --accent-blue: #ff9a3c;
    --accent-glow: rgba(255, 107, 53, 0.3);
    --accent-blue-glow: rgba(255, 154, 60, 0.3);
    --text-primary: #e8edf5;
    --text-secondary: #8892a4;
    --text-muted: #5a6478;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 50%;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 8px 40px rgba(0, 255, 136, 0.08);
    transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: var(--bg-primary);
    box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 32px var(--accent-glow), 0 0 60px rgba(0, 255, 136, 0.15);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-circle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(10, 14, 23, 0.25);
}

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

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    padding: 10px 0;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    flex-shrink: 0;
}

.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-social-link:hover {
    color: var(--accent);
    background: rgba(255, 107, 53, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 1001;
}

.logo-circle {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}

.logo-text {
    letter-spacing: -0.5px;
}

.accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-links a {
    display: block;
    padding: 8px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: rgba(255, 107, 53, 0.08);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-bg-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.12;
}

.circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite 2s;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .btn {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero illustration */
.hero-illustration {
    position: absolute;
    bottom: 60px;
    right: 5%;
    width: clamp(200px, 22vw, 320px);
    opacity: 0.85;
    animation: fadeInUp 1s ease-out 0.8s both;
    pointer-events: none;
}

.workers-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.1));
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.scroll-circle {
    width: 36px;
    height: 56px;
    border-radius: 100px;
    border: 2px solid var(--text-muted);
    position: relative;
}

.scroll-circle::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--accent);
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* ========================================
   SERVICES
   ======================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.glass-card .card-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 180, 255, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent);
    transition: var(--transition);
}

.glass-card:hover .card-icon-wrap {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.25), rgba(0, 180, 255, 0.25));
    box-shadow: 0 0 30px var(--accent-glow);
}

.glass-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   OFFERS
   ======================================== */
.offers {
    background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.03), transparent);
}

.offer-highlight {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-color: rgba(0, 255, 136, 0.3);
}

.offer-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 180, 255, 0.05));
    pointer-events: none;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: var(--bg-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 4px 30px var(--accent-glow);
    position: relative;
}

.offer-content {
    position: relative;
}

.offer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.offer-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
    background: linear-gradient(180deg, transparent, rgba(0, 180, 255, 0.02), transparent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.portfolio-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-4px);
}

.portfolio-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.portfolio-images img:only-child {
    grid-column: 1 / -1;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-img:hover {
    opacity: 0.8;
    transform: scale(1.03);
}

.portfolio-info {
    padding: 24px 28px;
}

.portfolio-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-inner img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ========================================
   REFERENCES
   ======================================== */
.refs-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ref-card {
    text-align: left;
}

.ref-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.ref-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.ref-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ref-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.ref-author strong {
    display: block;
    font-size: 0.95rem;
}

.ref-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    background: linear-gradient(180deg, transparent, rgba(0, 180, 255, 0.03), transparent);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(0, 255, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.map-container {
    padding: 8px;
}

/* Form */
.contact-form-card {
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

.form-error {
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff6b6b;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-copy {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 12px var(--accent-glow); }
    50% { box-shadow: 0 0 24px var(--accent-glow), 0 0 48px rgba(0, 255, 136, 0.15); }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(18px); opacity: 0.3; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-illustration {
        display: none;
    }

    .hamburger {
        display: flex;
        order: 4;
    }

    .nav-social {
        order: 3;
        margin-left: 0;
        margin-right: 4px;
        gap: 2px;
    }

    .nav-social-link {
        width: 28px;
        height: 28px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 16px 32px;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .cards-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .countdown {
        gap: 10px;
    }

    .countdown-number {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }

    .section-desc {
        margin-bottom: 40px;
    }

    .glass-card {
        padding: 24px;
    }

    .contact-form-card {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .countdown-number {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        border-radius: var(--radius-sm);
    }

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

/* ========================================
   HERO LOGO & BUTTONS
   ======================================== */
.hero-logo-img {
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(255, 107, 53, 0.15);
    transition: var(--transition);
}

.main-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 50px rgba(255, 107, 53, 0.25);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(255, 107, 53, 0.15);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ========================================
   PAGE HEADER (Gallery, About)
   ======================================== */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--accent);
    background: rgba(255, 107, 53, 0.08);
    transform: translateX(-4px);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-page {
    padding-top: 140px;
    min-height: 100vh;
}

.gallery-slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-slideshow {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-slide {
    display: none;
    animation: fadeInSlide 0.5s ease-out;
}

.gallery-slide.active {
    display: block;
}

.gallery-image-wrapper {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-image:hover {
    transform: scale(1.02);
}

.gallery-caption {
    text-align: center;
    padding: 32px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-top: -4px;
}

.gallery-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.gallery-caption p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: -70px;
}

.gallery-nav.next {
    right: -70px;
}

.gallery-counter {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.gallery-dot:hover {
    background: rgba(255, 107, 53, 0.5);
}

.gallery-dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: scale(1.1);
}

/* Fullscreen Gallery */
.fullscreen-gallery {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
}

.fullscreen-gallery.active {
    display: flex;
}

.fullscreen-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
}

.fullscreen-close {
    position: fixed;
    top: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(10, 14, 23, 0.9);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.fullscreen-close:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: scale(1.1) rotate(90deg);
}

.fullscreen-nav {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(10, 14, 23, 0.9);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.fullscreen-nav:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.1);
}

.fullscreen-nav.prev {
    left: -80px;
}

.fullscreen-nav.next {
    right: -80px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-state svg {
    margin: 0 auto 24px;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-page {
    padding-top: 140px;
    min-height: 100vh;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
    padding: 48px;
}

.about-text-section {
    order: 1;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.about-image-section {
    order: 2;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(255, 107, 53, 0.15);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.image-frame {
    position: absolute;
    inset: 12px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-image-placeholder {
    aspect-ratio: 4/3;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.highlight-card {
    text-align: center;
    padding: 32px 24px;
}

.highlight-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 154, 60, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.highlight-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.about-cta {
    text-align: center;
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 154, 60, 0.05));
    border-color: rgba(255, 107, 53, 0.25);
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.about-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE UPDATES
   ======================================== */
@media (max-width: 1100px) {
    .gallery-nav.prev {
        left: 16px;
    }

    .gallery-nav.next {
        right: 16px;
    }

    .fullscreen-nav.prev {
        left: 16px;
    }

    .fullscreen-nav.next {
        right: 16px;
    }
}

@media (max-width: 768px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .about-text-section {
        order: 2;
    }

    .about-image-section {
        order: 1;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .main-logo {
        max-width: 150px;
    }

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

    .gallery-nav,
    .fullscreen-nav {
        width: 40px;
        height: 40px;
    }

    .fullscreen-close {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ========================================
   PORTFOLIO SLIDESHOW
   ======================================== */
.portfolio-slideshow {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    height: 250px;
    overflow: hidden;
}

.portfolio-slide {
    display: none;
    height: 100%;
}

.portfolio-slide.active {
    display: block;
    height: 100%;
}

.portfolio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.portfolio-nav:hover {
    background: rgba(255, 107, 53, 0.3);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}

.portfolio-nav.prev {
    left: 10px;
}

.portfolio-nav.next {
    right: 10px;
}

.portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.portfolio-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.portfolio-dot:hover {
    background: rgba(255, 107, 53, 0.6);
}

.portfolio-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 5px;
}

/* Gallery section adjustments */
.gallery-section {
    background: linear-gradient(180deg, transparent, rgba(255, 107, 53, 0.02), transparent);
}

/* About section adjustments */
.about-section {
    background: linear-gradient(180deg, transparent, rgba(255, 154, 60, 0.02), transparent);
}

/* ========================================
   ENHANCED MOBILE OPTIMIZATION
   ======================================== */
@media (max-width: 480px) {
    .portfolio-nav {
        width: 35px;
        height: 35px;
    }

    .portfolio-nav.prev {
        left: 5px;
    }

    .portfolio-nav.next {
        right: 5px;
    }

    .gallery-nav {
        width: 35px;
        height: 35px;
    }

    .gallery-nav.prev,
    .fullscreen-nav.prev {
        left: 8px;
    }

    .gallery-nav.next,
    .fullscreen-nav.next {
        right: 8px;
    }

    .about-content-wrapper {
        padding: 24px;
    }

    .about-highlights {
        gap: 16px;
    }

    .highlight-card {
        padding: 24px 16px;
    }

    .gallery-caption {
        padding: 20px 16px;
    }

    .gallery-counter {
        font-size: 0.9rem;
        margin-top: 16px;
    }

    .gallery-dots {
        margin-top: 12px;
        gap: 6px;
    }

    .gallery-dot {
        width: 10px;
        height: 10px;
    }

    .gallery-dot.active {
        width: 20px;
    }

}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .portfolio-nav,
    .gallery-nav {
        opacity: 0.9;
    }

    .glass-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Landscape mobile optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 24px 60px;
    }

    .gallery-image-wrapper {
        max-height: 60vh;
    }

    .gallery-image {
        max-height: 60vh;
    }

    .about-content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CALL BUTTON (navbar desktop + floating mobile)
   ============================================================ */
@keyframes pulse-call {
    0%, 100% { box-shadow: 0 3px 16px rgba(255,107,53,0.45); }
    50%       { box-shadow: 0 3px 28px rgba(255,107,53,0.75); }
}

/* Desktop: in-navbar button */
.nav-call-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    box-shadow: 0 3px 14px rgba(255,107,53,0.4);
    animation: pulse-call 2.5s ease-in-out infinite;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;  /* vizuális elválasztás a social ikonoktól */
}
.nav-call-btn:hover { transform: scale(1.05); }

/* Mobile: circle icon between logo and social */
@media (max-width: 768px) {
    .nav-call-btn {
        position: static !important;
        order: 2;
        width: 36px;
        height: 36px;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center;
        gap: 0;
        margin-left: auto;
        margin-right: auto;
        flex-shrink: 0;
    }
    .nav-call-btn .nav-call-label,
    .nav-call-btn span.nav-call-label {
        display: none !important;
    }
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid rgba(255,107,53,0.15);
    border-bottom: 1px solid rgba(255,107,53,0.15);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.stat-item { padding: 1.25rem 0.5rem; }
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
    font-family: 'Inter', sans-serif;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .stats-section { padding: 36px 0; }
    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0;
    }
    .stat-item {
        padding: 1.1rem 0.75rem;
        border: 1px solid rgba(255,107,53,0.1);
    }
    .stat-number { font-size: 2.4rem; }
    .stat-label { font-size: 0.8rem; }
}
@media (max-width: 380px) {
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.75rem; }
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--bg-primary);
}
.faq-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: gap 0.2s;
}
.faq-back-btn:hover { gap: 12px; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--accent); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
    white-space: pre-line;
}
