/* ===== PORTFOLIO REDESIGN - Modern Premium Design ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Dark Theme with Purple Accent */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a24;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(99, 102, 241, 0.15);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-bg: radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a0f 50%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: clamp(0.75rem, 1.5vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 2vw, 1rem);
    --font-size-base: clamp(1rem, 2.5vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 3vw, 1.5rem);
    --font-size-xl: clamp(1.5rem, 4vw, 2rem);
    --font-size-2xl: clamp(2rem, 5vw, 3rem);
    --font-size-3xl: clamp(2.5rem, 6vw, 4rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: var(--gradient-bg);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-xs);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.nav-logo {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ===== IMPROVED LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.lang-switcher::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.lang-switcher:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.lang-switcher:hover::before {
    opacity: 0.15;
}

.lang-flag {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.lang-label {
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.lang-arrow {
    font-size: 0.6rem;
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.lang-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    z-index: 1;
}

.hero-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent);
}

.hero-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.hero-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    width: 280px;
    height: 280px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.project-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition-base);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 100%);
}

.project-content {
    padding: var(--space-md);
}

.project-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.project-description {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--accent);
}

.project-link:hover {
    color: var(--accent-hover);
    gap: var(--space-sm);
}

.project-offline {
    color: var(--text-muted);
    cursor: default;
    opacity: 0.7;
}

.project-offline:hover {
    color: var(--text-muted);
    gap: var(--space-xs);
}

/* ===== SKILLS SECTION ===== */
.skills {
    background: var(--bg-secondary);
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.skill-category {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

.skill-category-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.skill-category-title i {
    color: var(--accent);
    font-size: 1.2rem;
}

.skill-category-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-base);
    cursor: default;
}

.skill-tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: scale(1.05);
}

.skill-tag:hover i,
.skill-tag:hover img {
    filter: brightness(2);
}

.skill-tag img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition-base);
}

.skill-tag i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: var(--transition-base);
}

.skill-tag span {
    pointer-events: none;
}

/* ===== ABOUT SERVICES ===== */
.about-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.service-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.service-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.service-item:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* ===== PROJECT TAGS ===== */
.project-tags {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.project-tag {
    padding: 4px 10px;
    background: var(--accent);
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* ===== HERO TAGLINE ===== */
.hero-tagline {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xs);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-description {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-md);
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

/* ===== CONTACT CTA BUTTONS ===== */
.contact-cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.contact-btn {
    min-width: 180px;
    justify-content: center;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition-base);
}

.contact-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.contact-social-link i {
    font-size: 1.3rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-lg) 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-text {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.footer-text span {
    color: var(--accent);
}

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

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== HOLIDAY THEMES ===== */
.holiday-decoration {
    position: fixed;
    top: 90px;
    left: 20px;
    z-index: 999;
    pointer-events: none;
}

.holiday-decoration.active {
    pointer-events: auto;
}

/* Elegant floating card design */
.holiday-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.95) 0%, rgba(26, 26, 36, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 20px var(--accent-glow);
    animation: slideIn 0.5s ease-out, glowPulse 3s ease-in-out infinite;
    max-width: 300px;
}

.holiday-emoji {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.holiday-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.holiday-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.holiday-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.holiday-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    opacity: 0;
}

.holiday-card:hover .holiday-close {
    opacity: 1;
}

.holiday-close:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes glowPulse {

    0%,
    100% {
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 0 20px var(--accent-glow);
    }

    50% {
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 0 35px var(--accent-glow);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Particle Effects Container */
.effect-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.particle {
    position: absolute;
    top: -20px;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Confetti */
.confetti-piece {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    animation: confettiFall linear infinite;
}

@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(720deg);
    }
}

/* ===== HOLIDAY COLOR THEMES ===== */
.holiday-christmas {
    --accent: #c41e3a;
    --accent-hover: #e74c3c;
    --accent-glow: rgba(196, 30, 58, 0.4);
    --gradient-primary: linear-gradient(135deg, #c41e3a 0%, #2e7d32 100%);
}

.holiday-newYear {
    --accent: #ffd700;
    --accent-hover: #ffed4a;
    --accent-glow: rgba(255, 215, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
}

.holiday-easter {
    --accent: #9b59b6;
    --accent-hover: #a569bd;
    --accent-glow: rgba(155, 89, 182, 0.4);
    --gradient-primary: linear-gradient(135deg, #9b59b6 0%, #f8bbd9 100%);
}

.holiday-halloween {
    --accent: #ff6600;
    --accent-hover: #ff8533;
    --accent-glow: rgba(255, 102, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #ff6600 0%, #4a0080 100%);
}

.holiday-valentines {
    --accent: #e91e63;
    --accent-hover: #f06292;
    --accent-glow: rgba(233, 30, 99, 0.4);
    --gradient-primary: linear-gradient(135deg, #e91e63 0%, #ff6b6b 100%);
}

.holiday-stPatricks {
    --accent: #2e7d32;
    --accent-hover: #4caf50;
    --accent-glow: rgba(46, 125, 50, 0.4);
    --gradient-primary: linear-gradient(135deg, #2e7d32 0%, #81c784 100%);
}

.holiday-independence {
    --accent: #009739;
    --accent-hover: #00c04b;
    --accent-glow: rgba(0, 151, 57, 0.4);
    --gradient-primary: linear-gradient(135deg, #009739 0%, #fedf00 100%);
}

.holiday-carnival {
    --accent: #ff1493;
    --accent-hover: #ff69b4;
    --accent-glow: rgba(255, 20, 147, 0.4);
    --gradient-primary: linear-gradient(135deg, #ff1493 0%, #00bfff 50%, #ffd700 100%);
}

.holiday-mothers {
    --accent: #ff69b4;
    --accent-hover: #ff85c1;
    --accent-glow: rgba(255, 105, 180, 0.4);
    --gradient-primary: linear-gradient(135deg, #ff69b4 0%, #ffb6c1 100%);
}

.holiday-fathers {
    --accent: #1e88e5;
    --accent-hover: #42a5f5;
    --accent-glow: rgba(30, 136, 229, 0.4);
    --gradient-primary: linear-gradient(135deg, #1e88e5 0%, #4fc3f7 100%);
}

/* ===== THEME DEBUG PANEL ===== */
.theme-debug-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 0;
    z-index: 10000;
    font-family: var(--font-family);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 280px;
    overflow: hidden;
}

.debug-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
}

.debug-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.debug-toggle:hover {
    transform: scale(1.1);
}

.debug-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    max-height: 400px;
    overflow-y: auto;
    transition: var(--transition-base);
}

.debug-content.collapsed {
    max-height: 0;
    padding: 0 12px;
    overflow: hidden;
}

.debug-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition-base);
    text-align: left;
}

.debug-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.debug-btn-reset {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.debug-btn-reset:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-content {
        padding: 0 var(--space-md);
    }

    .hero {
        padding-top: 120px;
    }

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

    .about-stats {
        justify-content: center;
    }

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

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 280px;
    }

    .btn {
        justify-content: center;
    }

    .holiday-banner {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-sm);
    }

    .theme-debug-panel {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .lang-switcher {
        padding: 6px 10px;
    }

    .lang-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-image {
        width: 120px;
        height: 120px;
    }

    .contact-social {
        flex-direction: column;
    }

    .contact-social-link {
        width: 100%;
        justify-content: center;
    }
}