/* ===================================
   MSE Portfolio - Minimal & Luxury
   Modern Web Standards 2025
   =================================== */

/* ===================================
   CSS Variables - Color Identity
   =================================== */
:root {
    /* Dark & Moody Color Palette */
    --hero-bg-deep: #0a0a0a;
    --hero-bg-dark: #121212;
    --hero-bg-elevated: #1a1a1a;

    /* Luxury Accent Colors */
    --accent-champagne: #d4af37;
    --accent-rose-gold: #b76e79;
    --accent-amber: #ffb84d;
    --accent-warm-white: #faf8f5;

    /* Primary Colors - Dark Green Palette (kept for other sections) */
    --primary-dark: #1a4d2e;
    --primary-base: #2d5a3d;
    --primary-light: #3d6e50;
    --primary-lighter: #4f8264;

    /* Accent Colors - Gold/Copper */
    --accent-gold: #d4af37;
    --accent-copper: #c9a961;
    --accent-light: #e8d8a8;

    /* Neutral Colors */
    --white: #ffffff;
    --cream: #f8f6f3;
    --light-gray: #e5e5e5;
    --gray: #9ca3af;
    --dark-gray: #2c2c2c;
    --black: #0a0a0a;

    /* Semantic Colors */
    --bg-primary: var(--white);
    --bg-secondary: var(--cream);
    --bg-dark: var(--primary-dark);
    --text-primary: var(--dark-gray);
    --text-secondary: var(--gray);
    --text-inverse: var(--white);

    /* Typography - Premium Fonts */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

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

    /* Container */
    --container-max: 1280px;
    --container-padding: 2rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.2);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

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

/* ===================================
   Accessibility - Skip to Content
   =================================== */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-tooltip);
    padding: 1rem 2rem;
    background-color: var(--accent-gold);
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: top var(--transition-base);
}

.skip-to-content:focus {
    top: 1rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: var(--accent-gold);
    color: var(--white);
}

::-moz-selection {
    background-color: var(--accent-gold);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    border-radius: 6px;
    border: 2px solid var(--hero-bg-deep);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-amber) 0%, var(--accent-gold) 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-champagne) var(--hero-bg-deep);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===================================
   Navigation - Ultra Premium Dark
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: var(--space-md) 0;
}

/* Grain texture overlay for navbar */
.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.navbar.scrolled::before {
    opacity: 0.3;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* Logo - Premium Gold */
/* ===================================
   MSE Logo - Minimal Iconic (Nike/Adidas Style)
   =================================== */
.logo {
    position: relative;
    display: inline-block;
    line-height: 1;
}

/* Clean Bold Wordmark */
.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
    color: var(--accent-champagne);
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

/* THE ICONIC S - Signature Element */
.logo-highlight {
    position: relative;
    display: inline-block;
    font-size: 1.9rem;
    color: var(--accent-amber);
    transform: translateY(-2px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slash Accent - Nike Swoosh Inspired */
.logo-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-champagne), var(--accent-amber));
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hover - Minimal Movement */
.logo:hover .logo-text {
    transform: translateY(-1px);
}

.logo:hover .logo-highlight {
    transform: translateY(-3px) scale(1.05);
    color: var(--accent-champagne);
}

.logo:hover .logo-highlight::after {
    width: 28px;
    transform: translateX(-50%) rotate(-15deg) scaleX(1.2);
}

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

/* Navigation Links - Cream to Gold */
.nav-link {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-warm-white);
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-champagne), var(--accent-amber));
    transition: width 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-champagne);
    opacity: 1;
}

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

/* Hamburger Menu Icon - Cream/White */
.nav-toggle {
    display: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    padding: 0;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.nav-toggle:hover {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-warm-white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
    z-index: 1;
}

.nav-toggle span:nth-child(1) {
    top: 6px;
}

.nav-toggle span:nth-child(2) {
    top: 13px;
}

.nav-toggle span:nth-child(3) {
    top: 20px;
}

.nav-toggle.active span {
    background-color: var(--accent-warm-white);
}

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

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

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

/* Mobile Menu Overlay - Not needed for full screen menu */
.menu-overlay {
    display: none;
}

/* Language Switcher - Premium Dark */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
    z-index: 10;
}

.language-switcher {
    display: flex;
    gap: 4px;
    background-color: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.language-switcher:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Hide mobile language switcher on desktop */
.nav-menu .language-switcher {
    display: none;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(250, 248, 245, 0.7);
    background-color: transparent;
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.lang-btn:hover,
.lang-btn:focus {
    color: var(--accent-warm-white);
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
    outline: none;
}

.lang-btn.active,
.lang-btn:focus.active {
    color: var(--hero-bg-deep) !important;
    background: linear-gradient(135deg, var(--accent-champagne), var(--accent-amber)) !important;
    box-shadow:
        0 4px 12px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: none;
}

.lang-btn:focus-visible {
    outline: 2px solid var(--accent-amber);
    outline-offset: 2px;
}

.lang-flag {
    font-size: 1.125rem;
    line-height: 1;
}

.lang-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ===================================
   Hero Section - Ultra Premium Dark
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: var(--hero-bg-deep);
}

/* Background Elements */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.hero-gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(183, 110, 121, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--hero-bg-deep) 0%, var(--hero-bg-dark) 100%);
    animation: meshShift 15s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Geometric Decorations */
.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, var(--accent-champagne) 50%, transparent 100%);
    opacity: 0.2;
}

.hero-line-1 {
    top: 30%;
    left: 0;
    width: 40%;
    height: 1px;
    animation: lineGlow 4s ease-in-out infinite alternate;
}

.hero-line-2 {
    bottom: 40%;
    right: 0;
    width: 30%;
    height: 1px;
    animation: lineGlow 5s ease-in-out 1s infinite alternate;
}

@keyframes lineGlow {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

.hero-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--accent-champagne);
    opacity: 0.15;
}

.hero-corner-tl {
    top: var(--space-3xl);
    left: var(--space-3xl);
    border-right: none;
    border-bottom: none;
}

.hero-corner-br {
    bottom: var(--space-3xl);
    right: var(--space-3xl);
    border-left: none;
    border-top: none;
}

/* Content Area */
.hero-content {
    position: relative;
    z-index: 5;
    padding: clamp(6rem, 12vh, 8rem) 0 clamp(3rem, 6vh, 4rem);
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.hero-main-card {
    max-width: 800px;
    opacity: 0;
    animation: cardFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
    }
}

/* Profile Image - Side */
.hero-image-side {
    position: relative;
    opacity: 0;
    animation: imageFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes imageFadeIn {
    to {
        opacity: 1;
    }
}

.hero-profile-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.profile-img-side {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 3px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.profile-img-side:hover {
    transform: scale(1.02);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(212, 175, 55, 0.2);
}

.profile-glow-ambient {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, var(--accent-champagne) 0%, transparent 60%);
    opacity: 0.12;
    animation: rotate 25s linear infinite;
    pointer-events: none;
    z-index: 1;
    filter: blur(40px);
}

/* Label */
.hero-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-warm-white);
    opacity: 0.7;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
}

.hero-label-text {
    color: var(--accent-warm-white);
}

.hero-label-divider {
    color: var(--accent-champagne);
    opacity: 0.5;
}

.hero-label-role {
    background: linear-gradient(90deg, var(--accent-champagne), var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Title - Large Dramatic Typography */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--accent-warm-white);
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
    letter-spacing: -0.02em;
    overflow: visible;
}

.hero-title-line {
    display: block;
    opacity: 0;
    overflow: visible;
}

.hero-title-line-1 {
    animation: titleSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.hero-title-line-2 {
    position: relative;
    animation: titleSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.hero-title-line-3 {
    animation: titleSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-accent {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-champagne), var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-glow {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 40px;
    background: radial-gradient(ellipse at center, var(--accent-champagne) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
    z-index: -1;
}

/* Description Card - Glass Morphism */
.hero-description-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(2rem, 4vh, 2.5rem);
    opacity: 0;
    animation: cardSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1.1s forwards;
    overflow: visible;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 2;
    color: rgba(250, 248, 245, 0.8);
    margin: 0;
    font-weight: 300;
    overflow: visible;
    padding: 0.2rem 0;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    opacity: 0;
    animation: buttonsSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1.3s forwards;
}

@keyframes buttonsSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    opacity: 0.6;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-champagne);
    writing-mode: vertical-lr;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--accent-champagne) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--accent-amber);
    animation: scrollDown 2.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(-30px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(60px);
    }
}

/* Cursor Glow Effect */
.hero-cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-champagne) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
    filter: blur(40px);
    mix-blend-mode: screen;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
    position: relative;
    z-index: 2;
}

/* Hero Primary Button - Gold Luxury Style */
.hero .btn-primary {
    background: linear-gradient(135deg, var(--accent-champagne), var(--accent-amber));
    color: var(--hero-bg-deep);
    box-shadow:
        0 4px 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
}

.btn-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero .btn-primary:hover .btn-shine {
    transform: translateX(100%);
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Hero Secondary Button - Ghost Style */
.hero .btn-secondary {
    background-color: transparent;
    color: var(--accent-warm-white);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

/* Default buttons for other sections */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    color: var(--hero-bg-deep);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-champagne);
    border: 2px solid var(--accent-champagne);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    color: var(--hero-bg-deep);
    transform: translateY(-2px);
}

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

.btn:hover svg {
    transform: translateX(4px);
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-champagne);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    display: inline-block;
    position: relative;
    padding: clamp(0.5rem, 1.5vh, 0.75rem) clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(135deg,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(18, 18, 18, 0.5) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transform: skewX(-8deg);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.15);
    overflow: visible;
}

.section-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(212, 175, 55, 0.1) 0%,
        transparent 50%,
        rgba(212, 175, 55, 0.05) 100%);
    pointer-events: none;
}

/* Unskew the text inside */
.section-title > * {
    transform: skewX(8deg);
    display: inline-block;
    background: linear-gradient(135deg,
        var(--accent-champagne) 0%,
        var(--accent-amber) 50%,
        var(--accent-champagne) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--hero-bg-dark);
    position: relative;
    overflow: hidden;
}

/* Grain texture overlay - matches hero section */
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Top accent line */
.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-champagne) 50%, transparent 100%);
    opacity: 0.5;
    z-index: 1;
}

/* Decorative geometric elements - now using common styles from "Common Section Decorations" */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-warm-white);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.about-text p {
    color: rgba(250, 248, 245, 0.8);
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 2rem 1.25rem;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 1.25rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    will-change: transform;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--accent-champagne) 0%,
        var(--accent-amber) 50%,
        var(--accent-champagne) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle,
        rgba(212, 175, 55, 0.25) 0%,
        transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    pointer-events: none;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.stat-item:nth-child(1) {
    background: linear-gradient(145deg,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(18, 18, 18, 0.5) 50%,
        rgba(212, 175, 55, 0.08) 100%);
    backdrop-filter: blur(20px);
}

.stat-item:nth-child(2) {
    background: linear-gradient(145deg,
        rgba(212, 175, 55, 0.1) 0%,
        rgba(18, 18, 18, 0.5) 50%,
        rgba(26, 26, 26, 0.6) 100%);
    backdrop-filter: blur(20px);
    animation-delay: 0.1s;
}

.stat-item:nth-child(3) {
    background: linear-gradient(145deg,
        rgba(18, 18, 18, 0.5) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(212, 175, 55, 0.08) 100%);
    backdrop-filter: blur(20px);
    animation-delay: 0.2s;
}

.stat-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(212, 175, 55, 0.2),
        0 0 0 1px rgba(212, 175, 55, 0.5);
    border-color: var(--accent-champagne);
    background: linear-gradient(145deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(18, 18, 18, 0.7) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .stat-item:hover {
        transform: translateY(-6px) scale(1.01);
    }
}

.stat-number {
    font-size: clamp(2.25rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg,
        var(--accent-champagne) 0%,
        var(--accent-amber) 50%,
        var(--accent-champagne) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
    animation: fadeInScale 0.6s ease-out backwards;
    white-space: nowrap;
    overflow: visible;
}

.stat-item:nth-child(1) .stat-number {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) .stat-number {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) .stat-number {
    animation-delay: 0.3s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    color: rgba(250, 248, 245, 0.7);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.skills {
    position: relative;
    padding: var(--space-xl);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.skills-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    color: var(--accent-warm-white);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.skill-item {
    background: rgba(18, 18, 18, 0.6);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
    will-change: transform;
}

.skill-item:hover {
    transform: translateX(8px);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    border-color: var(--accent-champagne);
}

@media (prefers-reduced-motion: reduce) {
    .skill-item:hover {
        transform: translateX(4px);
    }
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.skill-name {
    font-weight: 600;
    color: var(--accent-warm-white);
    font-size: 0.95rem;
}

.skill-percent {
    font-size: 0.875rem;
    color: var(--accent-champagne);
    font-weight: 700;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    border-radius: 6px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.6);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===================================
   Services Section
   =================================== */
.services {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hero-bg-deep) 0%, var(--hero-bg-dark) 100%);
}

/* Grain texture overlay */
.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Top accent line */
.services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-champagne) 50%, transparent 100%);
    opacity: 0.5;
    z-index: 1;
}

/* Decorative geometric elements - now using common styles from "Common Section Decorations" */

.section-description {
    max-width: 600px;
    margin: var(--space-md) auto 0;
    font-size: 1.125rem;
    color: rgba(250, 248, 245, 0.7);
    line-height: 1.7;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.service-card {
    position: relative;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--accent-champagne) 0%,
        var(--accent-amber) 50%,
        var(--accent-champagne) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
        rgba(212, 175, 55, 0.2) 0%,
        transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(26, 26, 26, 0.8);
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(212, 175, 55, 0.2),
        0 0 0 1px rgba(212, 175, 55, 0.5);
    border-color: var(--accent-champagne);
}

/* Featured Service */
.service-featured {
    background: linear-gradient(145deg,
        rgba(212, 175, 55, 0.1) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(18, 18, 18, 0.5) 100%);
    backdrop-filter: blur(20px);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-copper) 100%);
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    z-index: 2;
}

.service-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        var(--accent-champagne) 0%,
        var(--accent-amber) 100%);
    border-radius: 1.125rem;
    color: var(--hero-bg-deep);
    margin-bottom: var(--space-xl);
    box-shadow:
        0 8px 24px rgba(212, 175, 55, 0.4),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 12px 32px rgba(212, 175, 55, 0.6),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-title {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--accent-warm-white);
    letter-spacing: -0.01em;
}

.service-description {
    position: relative;
    z-index: 1;
    color: rgba(250, 248, 245, 0.7);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    font-size: 0.975rem;
}

.service-features {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.service-features li {
    position: relative;
    padding-left: 1.75rem;
    color: rgba(250, 248, 245, 0.8);
    font-size: 0.925rem;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.service-features li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 0.3rem;
    color: var(--hero-bg-deep);
    font-weight: 700;
    font-size: 0.7rem;
}

.service-card:hover .service-features li {
    padding-left: 2rem;
}

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    position: relative;
    background: linear-gradient(135deg, var(--hero-bg-deep) 0%, var(--hero-bg-dark) 100%);
    overflow: hidden;
}

/* Grain texture overlay */
.portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Top accent line */
.portfolio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-champagne) 50%, transparent 100%);
    opacity: 0.5;
    z-index: 1;
}

/* Decorative geometric elements - now using common styles from "Common Section Decorations" */

.portfolio .container {
    position: relative;
    z-index: 2;
}

/* Portfolio Filters - REMOVED */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    transition: all 0.3s ease;
}

.portfolio-item {
    position: relative;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

/* Portfolio Filter States - REMOVED */

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-champagne) 0%, var(--accent-amber) 50%, var(--accent-champagne) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.portfolio-item:hover::before {
    transform: scaleX(1);
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4), 0 8px 24px rgba(0, 0, 0, 0.6);
    border-color: var(--accent-champagne);
}

/* Featured Portfolio Item */
.portfolio-featured {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 26, 26, 0.6) 50%, rgba(18, 18, 18, 0.5) 100%);
    backdrop-filter: blur(20px);
}

.portfolio-image-wrapper {
    position: relative;
    overflow: visible;
}

.portfolio-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    color: var(--hero-bg-deep);
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.portfolio-badge-featured {
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

.portfolio-item:hover .portfolio-badge {
    transform: scale(1.1);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hero-bg-dark) 0%, var(--hero-bg-elevated) 100%);
    border-radius: 12px;
}

/* Portfolio Mockup Grid */
.portfolio-mockup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    padding: 1.25rem;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    align-items: stretch;
}

/* 2-column variant for 2 mobile images */
.portfolio-mockup-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    align-items: stretch;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover .mockup-img {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mockup-1 { animation-delay: 0.1s; }
.mockup-2 { animation-delay: 0.2s; }
.mockup-3 { animation-delay: 0.3s; }
.mockup-4 { animation-delay: 0.4s; }

/* Portfolio Web Grid - For desktop/web screenshots */
.portfolio-web-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(18, 18, 18, 0.5) 100%);
    align-items: stretch;
}

/* 3-column variant for 3 images */
.portfolio-web-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 1.25rem;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(18, 18, 18, 0.5) 100%);
    align-items: stretch;
}

.web-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.portfolio-item:hover .web-img {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

.web-1 { animation-delay: 0.1s; }
.web-2 { animation-delay: 0.2s; }
.web-3 { animation-delay: 0.3s; }

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        var(--primary-dark) 0%,
        var(--primary-base) 50%,
        var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.placeholder-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.placeholder-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
    opacity: 0.9;
}

.placeholder-text {
    position: relative;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.8;
    letter-spacing: 0.02em;
    z-index: 1;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(18, 18, 18, 0.95) 100%);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 3.5rem 1rem 1rem 1rem;
    max-width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    color: var(--hero-bg-deep);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-link:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.portfolio-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.portfolio-link:hover svg {
    transform: translateX(4px);
}

.portfolio-info {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    position: relative;
    z-index: 1;
}

.portfolio-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-warm-white);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.portfolio-description {
    font-size: 0.925rem;
    color: rgba(250, 248, 245, 0.7);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.portfolio-description .privacy-note {
    display: block;
    font-size: 0.8rem;
    color: rgba(250, 248, 245, 0.5);
    font-style: italic;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.portfolio-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(250, 248, 245, 0.8);
    background: rgba(18, 18, 18, 0.6);
    border-radius: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.portfolio-item:hover .portfolio-tag {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-champagne);
    color: var(--accent-warm-white);
    transform: translateY(-2px);
}

/* Other Projects List */
.other-projects {
    margin-top: var(--space-3xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.other-projects-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-warm-white);
    margin-bottom: var(--space-2xl);
    text-align: center;
    letter-spacing: -0.01em;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.other-project-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.other-project-item:hover {
    background: rgba(26, 26, 26, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(8px);
}

.other-project-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-champagne);
    transition: all 0.3s ease;
}

.other-project-item:hover .other-project-icon {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-amber);
    transform: scale(1.1);
}

.other-project-icon svg {
    width: 24px;
    height: 24px;
}

.other-project-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-warm-white);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.other-project-info p {
    font-size: 0.875rem;
    color: rgba(250, 248, 245, 0.6);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.other-project-tech {
    display: inline-block;
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Portfolio Note */
.portfolio-note {
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.portfolio-note p {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(250, 248, 245, 0.7);
    margin: 0;
}

.portfolio-note svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent-champagne);
}

.portfolio-note-link {
    color: var(--accent-champagne);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-gold);
    text-underline-offset: 3px;
    transition: var(--transition-base);
}

.portfolio-note-link:hover {
    color: var(--accent-gold);
    text-decoration-color: var(--accent-champagne);
}

/* ===================================
   Common Section Decorations
   =================================== */
.about-decorations,
.services-decorations,
.portfolio-decorations,
.contact-decorations {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.about-line,
.services-line,
.portfolio-line,
.contact-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
    height: 1px;
}

/* Top decorative line for each section */
.about-line-1,
.services-line-1,
.portfolio-line-1,
.contact-line-1 {
    top: 0;
    left: 0;
    right: 0;
}

/* Secondary decorative line */
.about-line-2,
.services-line-2,
.portfolio-line-2,
.contact-line-2 {
    bottom: 30%;
    left: 0;
    right: 0;
    opacity: 0.5;
}

.about-corner,
.services-corner,
.portfolio-corner,
.contact-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.about-corner-tl,
.services-corner-tl,
.portfolio-corner-tl,
.contact-corner-tl {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}

.about-corner-br,
.services-corner-br,
.portfolio-corner-br,
.contact-corner-br {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    position: relative;
    background: linear-gradient(135deg, var(--hero-bg-deep) 0%, var(--hero-bg-dark) 100%);
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

/* Grain texture overlay */
.faq-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Decorative lines */
.faq-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.faq-line {
    position: absolute;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-champagne) 50%,
        transparent 100%);
    opacity: 0.15;
}

.faq-line-1 {
    top: 15%;
    left: 0;
    right: 0;
    height: 1px;
}

.faq-line-2 {
    bottom: 20%;
    left: 0;
    right: 0;
    height: 1px;
}

.faq .container {
    position: relative;
    z-index: 2;
}

.faq .section-label,
.faq-label {
    color: var(--accent-champagne);
}

.faq .section-title,
.faq-title {
    color: var(--accent-warm-white);
}

.faq .section-description,
.faq-description {
    color: rgba(250, 248, 245, 0.7);
}

.faq-container {
    max-width: 900px;
    margin: var(--space-xl) auto 0;
}

.faq-item {
    position: relative;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(26, 26, 26, 0.8);
    transform: translateX(4px);
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--accent-champagne) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.faq-item:hover::before,
.faq-item.active::before {
    opacity: 1;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-base);
}

.faq-question-text {
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-warm-white);
    line-height: 1.6;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent-champagne);
    transition: transform var(--transition-base);
}

.faq-icon-horizontal {
    transition: transform 0.3s ease;
    transform-origin: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(250, 248, 245, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: var(--space-md);
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 var(--space-md) var(--space-md);
        font-size: 0.9375rem;
    }

    .faq-item:hover {
        transform: none;
    }
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    position: relative;
    background: linear-gradient(135deg, var(--hero-bg-deep) 0%, var(--hero-bg-dark) 100%);
    overflow: hidden;
}

/* Grain texture overlay */
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Decorative geometric elements - now using common styles from "Common Section Decorations" */

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    color: var(--accent-warm-white);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-info-text {
    color: rgba(250, 248, 245, 0.7);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-detail-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    background: rgba(26, 26, 26, 0.6);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(8px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-champagne);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-icon {
    color: var(--accent-amber);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.contact-detail-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--accent-champagne);
    letter-spacing: 0.02em;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.7);
    margin: 0;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--accent-warm-white);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    color: rgba(250, 248, 245, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-link:hover {
    color: var(--hero-bg-deep);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    border-color: var(--accent-champagne);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-champagne);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.02em;
}

.form-group label .required-text {
    color: #ef4444;
    margin-left: 0.25rem;
    font-weight: 600;
    font-size: 0.85em;
    opacity: 0.9;
}

.form-group label .optional {
    opacity: 0.6;
    font-size: 0.875em;
    font-weight: 400;
    margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent-warm-white);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(250, 248, 245, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-champagne);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), 0 4px 12px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    color: var(--hero-bg-deep);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

/* ===================================
   Footer
   =================================== */
.footer {
    position: relative;
    background: linear-gradient(135deg, var(--hero-bg-deep) 0%, var(--hero-bg-dark) 100%);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
    overflow: hidden;
}

/* Grain texture overlay */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Top decorative border */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-champagne) 20%, var(--accent-amber) 50%, var(--accent-champagne) 80%, transparent 100%);
    z-index: 1;
}

.footer > * {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--accent-champagne);
    margin-bottom: var(--space-md);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* Footer Iconic S */
.footer-logo-highlight {
    position: relative;
    display: inline-block;
    font-size: 1.9rem;
    color: var(--accent-amber);
    transform: translateY(-2px);
}

/* Footer S Slash Accent */
.footer-logo-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-champagne), var(--accent-amber));
    border-radius: 2px;
}

.footer-tagline {
    color: rgba(250, 248, 245, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 1rem;
    color: var(--accent-champagne);
    margin-bottom: var(--space-md);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column a {
    color: rgba(250, 248, 245, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-warm-white);
    transform: translateX(var(--space-xs));
}

.footer-column a:hover::before {
    width: 100%;
}

.footer-column li {
    color: rgba(250, 248, 245, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-bottom p {
    color: rgba(250, 248, 245, 0.6);
    margin: 0;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: rgba(250, 248, 245, 0.6);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--accent-champagne);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-champagne);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-champagne) 0%, var(--accent-amber) 100%);
    color: var(--hero-bg-deep);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-fixed);
    cursor: pointer;
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-gold) 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   Responsive Design
   =================================== */
/* ===================================
   Tablet Optimization (769px - 1024px)
   =================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --container-padding: 2rem;
        --space-3xl: 4.5rem;
        --space-2xl: 3rem;
        --space-xl: 2rem;
        --space-lg: 1.5rem;
    }

    .container {
        max-width: 95%;
        padding: 0 var(--container-padding);
    }

    /* Navbar - Keep desktop style but slightly smaller */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-wrapper {
        gap: 1rem;
    }

    .logo-text {
        font-size: 1.4rem;
        white-space: nowrap;
    }

    .logo-highlight {
        font-size: 1.55rem;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        gap: 0.75rem;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        align-items: center;
        justify-content: flex-end;
        overflow: visible;
        z-index: auto;
        flex-wrap: nowrap;
    }

    .nav-link {
        position: relative;
        font-family: var(--font-body);
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--accent-warm-white) !important;
        opacity: 0.9;
        letter-spacing: normal;
        text-decoration: none;
        padding: 0.5rem 0.6rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-champagne), var(--accent-amber));
        transition: width 0.4s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-champagne) !important;
        opacity: 1;
    }

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

    .nav-toggle {
        display: none;
    }

    .nav-actions .language-switcher {
        display: flex;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .language-switcher button {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
        white-space: nowrap;
    }

    /* Hero Section */
    .hero {
        display: flex !important;
        min-height: auto;
        padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl) 0;
    }

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

    .hero-image {
        order: -1;
        max-width: 380px;
        margin: 0 auto var(--space-lg);
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
    }

    .hero-profile {
        width: 100% !important;
        max-width: 350px;
        margin: 0 auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        aspect-ratio: 1;
        height: auto;
        min-height: 280px;
    }

    .profile-glow {
        display: block !important;
    }

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

    .hero-greeting {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 5vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-title-accent::after {
        width: 50%;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .hero-buttons {
        justify-content: center;
        margin-top: var(--space-lg);
        gap: 1rem;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        display: none !important;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-text {
        max-width: 100%;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.25rem 1rem;
    }

    .stat-number {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .skills {
        padding: 1.5rem;
    }

    .skill-item {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }

    /* Services - 2 columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.75rem 1.25rem;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    .service-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Portfolio - 2 columns */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .portfolio-item {
        border-radius: 1rem;
    }

    .portfolio-item:hover {
        transform: translateY(-6px) scale(1.005);
    }

    .portfolio-badge {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
    }

    .portfolio-info {
        padding: 1.25rem 1rem 1rem;
    }

    .portfolio-title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .portfolio-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.875rem;
    }

    .portfolio-tags {
        gap: 0.4rem;
    }

    .portfolio-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    /* Testimonials Section */
    .testimonial-card {
        padding: 1.75rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    .testimonial-author p {
        font-size: 0.85rem;
    }

    /* FAQ Section */
    .faq-grid {
        gap: 1rem;
    }

    .faq-question {
        padding: 1.25rem;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact-info-title {
        font-size: 1.5rem;
    }

    .contact-details {
        gap: 1rem;
    }

    .contact-detail-item {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.75rem 1.5rem;
    }

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

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-column a,
    .footer-column li {
        font-size: 0.85rem;
    }

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

    .footer-bottom-links {
        gap: 1.25rem;
    }
}

/* ===================================
   Narrow Tablet Optimization (769px - 820px)
   =================================== */
@media (min-width: 769px) and (max-width: 820px) {
    .logo-text {
        font-size: 1.3rem !important;
    }

    .logo-highlight {
        font-size: 1.45rem !important;
    }

    .nav-menu {
        gap: 0.5rem !important;
    }

    .nav-link {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.5rem !important;
    }

    .language-switcher button {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.5rem !important;
    }
}

/* ===================================
   Small Tablet & Large Mobile (max-width: 1024px)
   =================================== */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
        --space-3xl: 4rem;
    }
}

/* ===================================
   Mobile Optimization (max-width: 768px)
   =================================== */
@media (max-width: 768px) {
    /* Portfolio Mockup Grid - Mobile */
    .portfolio-mockup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        padding: 0.75rem;
    }

    /* Mobile Navbar - Dark Moody */
    .navbar {
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }

    /* Hide language switcher from navbar on mobile */
    .nav-actions .language-switcher {
        display: none;
    }

    /* Full Screen Premium Mobile Menu - Dark Moody */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--hero-bg-deep) 0%, var(--hero-bg-dark) 100%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: var(--space-2xl) var(--space-lg);
        gap: 0;
        z-index: 1500;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    /* Grain texture for mobile menu */
    .nav-menu::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
        opacity: 0.4;
        pointer-events: none;
    }

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

    .nav-menu li {
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        margin: 1rem 0;
    }

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

    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }

    /* Mobile Menu Links - Cream to Gold */
    .nav-link {
        font-family: var(--font-display);
        font-size: 1.75rem;
        font-weight: 600;
        color: var(--accent-warm-white);
        letter-spacing: -0.02em;
        text-decoration: none;
        transition: all 0.4s ease;
        position: relative;
        padding: 0.5rem 0;
    }

    .nav-link::after {
        display: none !important;
        content: none !important;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-champagne);
        text-decoration: none;
        transform: translateX(10px);
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        display: none !important;
    }

    /* Show language switcher inside mobile menu - Dark Premium */
    .nav-menu .language-switcher {
        display: flex !important;
        width: auto;
        order: 999;
        margin-top: 2rem;
        background-color: rgba(26, 26, 26, 0.5);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(212, 175, 55, 0.2);
        gap: var(--space-sm);
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        transition-delay: 0s;
        padding: 4px;
    }

    .nav-menu.active .language-switcher {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.35s;
    }

    .nav-menu .language-switcher .lang-btn {
        padding: 10px 18px;
        font-size: 0.875rem;
        color: rgba(250, 248, 245, 0.7);
        border-radius: var(--radius-md);
        transition: all 0.4s ease;
    }

    .nav-menu .language-switcher .lang-btn:hover {
        background-color: rgba(212, 175, 55, 0.1);
        color: var(--accent-warm-white);
    }

    .nav-menu .language-switcher .lang-btn.active {
        background: linear-gradient(135deg, var(--accent-champagne), var(--accent-amber));
        color: var(--hero-bg-deep);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }

    .nav-menu .language-switcher .lang-flag {
        font-size: 1.1rem;
    }

    .nav-menu .language-switcher .lang-text {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 2100;
    }

    .nav-actions {
        position: relative;
        z-index: 2100;
    }

    /* Hamburger X transform - ensure it shows */
    .nav-toggle.active span {
        background-color: var(--accent-warm-white);
    }

    .nav-toggle.active span:nth-child(1) {
        top: 13px;
        transform: rotate(45deg);
        background-color: var(--accent-warm-white);
    }

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

    .nav-toggle.active span:nth-child(3) {
        top: 13px;
        transform: rotate(-45deg);
        background-color: var(--accent-warm-white);
    }

    /* Minimal Iconic Logo - Mobile Responsive */
    .logo-text {
        font-size: 1.5rem;
    }

    .logo-highlight {
        font-size: 1.65rem;
    }

    .logo-highlight::after {
        width: 16px;
        height: 2px;
    }

    /* Hero Section - Mobile */
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .hero-content {
        padding: clamp(3rem, 10vh, 5rem) 0 clamp(2rem, 5vh, 3rem);
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-main-card {
        order: 2;
        max-width: 100%;
    }

    /* Profile Image - Show on top on mobile */
    .hero-image-side {
        order: 1;
    }

    .hero-profile-frame {
        max-width: 300px;
    }

    /* Hide decorative elements on mobile */
    .hero-decorations {
        display: none;
    }

    .hero-corner {
        display: none;
    }

    .hero-line {
        display: none;
    }

    /* Label */
    .hero-label {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.65rem;
        margin-bottom: 2rem;
    }

    .hero-label-divider {
        display: none;
    }

    /* Title */
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 2rem;
    }

    /* Description Card */
    .hero-description-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    /* Scroll Indicator */
    .scroll-indicator {
        display: none;
    }

    /* Cursor Glow - Disable on mobile */
    .hero-cursor-glow {
        display: none;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-text {
        text-align: left;
    }

    .about-lead {
        font-size: 1.1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }

    .stat-item {
        padding: 1.75rem 1.25rem;
    }

    .stat-item:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .stat-number {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .skills {
        margin-top: var(--space-xl);
        padding: var(--space-lg);
    }

    .skill-item:hover {
        transform: translateX(4px);
    }

    .skill-name {
        font-size: 0.9rem;
    }

    .skill-list {
        gap: var(--space-lg);
    }

    /* Hide decorative corners on mobile */
    .about-corner {
        display: none;
    }

    /* Services Section */
    .section-description {
        font-size: 1rem;
        padding: 0 var(--space-sm);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        margin-top: var(--space-2xl);
    }

    .service-card {
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .service-card:hover {
        transform: translateY(-6px) scale(1.01);
    }

    .service-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto var(--space-lg);
    }

    .service-icon svg {
        width: 32px;
        height: 32px;
    }

    .service-title {
        font-size: 1.35rem;
    }

    .service-description {
        font-size: 0.925rem;
    }

    /* Hide decorative corners on mobile */
    .services-corner {
        display: none;
    }

    /* Hide decorative corners on mobile */
    .portfolio-corner,
    .contact-corner {
        display: none;
    }

    .service-features {
        text-align: left;
        margin: 0 auto;
        max-width: 100%;
    }

    .service-features li {
        font-size: 0.875rem;
    }

    /* Portfolio Section */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .portfolio-item {
        border-radius: 1.25rem;
    }

    .portfolio-item:hover {
        transform: translateY(-6px) scale(1.01);
    }

    .portfolio-badge {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.65rem;
    }

    /* Portfolio filters - REMOVED */

    /* Other Projects - Mobile */
    .other-projects-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .other-project-item:hover {
        transform: translateY(-4px);
    }

    .placeholder-icon {
        width: 56px;
        height: 56px;
    }

    .placeholder-icon svg {
        width: 28px;
        height: 28px;
    }

    .placeholder-text {
        font-size: 0.8rem;
    }

    .portfolio-info {
        padding: var(--space-lg) var(--space-md) var(--space-md);
    }

    .portfolio-title {
        font-size: 1.25rem;
    }

    .portfolio-description {
        font-size: 0.875rem;
    }

    .portfolio-tags {
        gap: var(--space-xs);
    }

    .portfolio-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .portfolio-link {
        padding: 0.875rem 1.75rem;
        font-size: 0.875rem;
    }

    .portfolio-link svg {
        width: 18px;
        height: 18px;
    }

    /* Portfolio Note */
    .portfolio-note {
        margin-top: var(--space-lg);
        padding: var(--space-xs) var(--space-sm);
    }

    .portfolio-note p {
        flex-direction: row;
        align-items: center;
        gap: var(--space-xs);
        font-size: 0.75rem;
        text-align: left;
    }

    .portfolio-note svg {
        width: 14px;
        height: 14px;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact-info {
        text-align: center;
    }

    .contact-details {
        gap: var(--space-lg);
    }

    .contact-detail-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
        align-items: center;
    }

    .contact-detail-item:hover {
        transform: translateY(-4px);
    }

    .contact-detail-item div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .contact-form {
        padding: var(--space-lg);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-column ul {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-decoration: none !important;
        justify-content: center;
    }

    .btn::after,
    .btn::before {
        display: none !important;
    }

    /* Section Headers */
    .section-header {
        text-align: center;
        margin-bottom: var(--space-2xl);
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        transform: skewX(-5deg);
        padding: clamp(0.5rem, 1.2vh, 0.65rem) clamp(1.25rem, 2.5vw, 1.75rem);
    }

    .section-title > * {
        transform: skewX(5deg);
    }

    /* Back to Top Button */
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    /* Portfolio Note - Tablet */
    .portfolio-note {
        padding: var(--space-sm) var(--space-md);
    }

    .portfolio-note p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --space-2xl: 2.5rem;
        --space-3xl: 3rem;
    }

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

    .portfolio-note {
        padding: var(--space-sm);
        margin-top: var(--space-md);
    }

    .portfolio-note p {
        font-size: 0.875rem;
        line-height: 1.5;
        gap: 0.5rem;
    }

    .portfolio-note svg {
        width: 16px;
        height: 16px;
    }

    /* Extra small screens - further reduce menu items */
    .nav-link {
        font-size: 1.5rem !important;
        padding: 0.4rem 0 !important;
    }

    .nav-menu li {
        margin: 0.75rem 0 !important;
    }

    .nav-menu .language-switcher {
        margin-top: 1.5rem !important;
    }

    .nav-menu .language-switcher .lang-btn {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
    }

    .nav-menu .language-switcher .lang-flag {
        font-size: 1rem !important;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .navbar,
    .back-to-top,
    .hero-buttons,
    .contact-form {
        display: none;
    }
}

/* ===================================
   Accessibility
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

/* ===================================
   Portfolio Modal Gallery
   =================================== */

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.portfolio-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.portfolio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.portfolio-modal-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 2rem;
    z-index: 1;
}

.portfolio-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.portfolio-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.portfolio-modal-close svg {
    width: 24px;
    height: 24px;
}

.portfolio-modal-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
}

.portfolio-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.portfolio-modal-counter {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.portfolio-modal-counter .current-slide {
    color: white;
    font-weight: 700;
}

.portfolio-modal-gallery {
    position: relative;
    margin-bottom: 1.5rem;
}

.modal-gallery-wrapper {
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.modal-gallery-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.modal-gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-gallery-slide img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-nav svg {
    width: 24px;
    height: 24px;
}

.modal-nav-prev {
    left: 1rem;
}

.modal-nav-next {
    right: 1rem;
}

.modal-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.modal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.modal-dot.active {
    background: white;
    width: 32px;
    border-radius: 5px;
}

.portfolio-modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--hero-bg-dark) 0%, var(--hero-bg-elevated) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.modal-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.modal-visit-btn:active {
    transform: translateY(0);
}

.modal-visit-btn svg {
    width: 20px;
    height: 20px;
}

.portfolio-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--hero-bg-deep);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.portfolio-preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.portfolio-preview-btn svg {
    width: 18px;
    height: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-modal-container {
        padding: 1rem;
    }

    .portfolio-modal-content {
        padding: 1rem;
    }

    .portfolio-modal-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .portfolio-modal-title {
        font-size: 1.25rem;
    }

    .portfolio-modal-counter {
        font-size: 1rem;
    }

    .modal-gallery-slide {
        padding: 1rem;
    }

    .modal-gallery-slide img {
        max-height: 50vh;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
    }

    .modal-nav-prev {
        left: 0.5rem;
    }

    .modal-nav-next {
        right: 0.5rem;
    }

    .modal-visit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .portfolio-preview-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .portfolio-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
    }

    .modal-dots {
        gap: 0.5rem;
    }

    .modal-dot {
        width: 8px;
        height: 8px;
    }

    .modal-dot.active {
        width: 24px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
