/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Typography */
    --font-primary: 'Candara', Calibri, 'Segoe UI', sans-serif;
    
    /* Color Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* CMYK Digital Accents */
    --cmyk-cyan: #0ea5e9;
    --cmyk-magenta: #d946ef;
    --cmyk-yellow: #f59e0b;
    
    /* Brand Colors */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #e0e7ff;
    --border-color: #e2e8f0;
    --border-focus: #cbd5e1;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    --grad-cmyk: linear-gradient(135deg, #0ea5e9 0%, #d946ef 50%, #f59e0b 100%);
    --grad-cyan: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --grad-magenta: linear-gradient(135deg, #d946ef 0%, #c084fc 100%);
    --grad-yellow: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.03);
    --shadow-glow-cyan: 0 20px 30px -10px rgba(14, 165, 233, 0.25);
    --shadow-glow-magenta: 0 20px 30px -10px rgba(217, 70, 239, 0.25);
    --shadow-glow-yellow: 0 20px 30px -10px rgba(245, 158, 11, 0.25);
    --shadow-glow-primary: 0 20px 30px -10px rgba(79, 70, 229, 0.2);

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* ==========================================================================
   LAYOUT REUSABLES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

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

/* Section Common Headers */
.section-title-wrapper {
    margin-bottom: 56px;
    position: relative;
}

.section-title-wrapper.text-center {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--grad-cmyk);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    gap: 8px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(79, 70, 229, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--grad-cmyk);
    display: inline-block;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.5);
    transition: all var(--transition-fast);
}

.main-header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height var(--transition-fast);
}

.main-header.scrolled .header-container {
    height: 64px;
}

/* Logo Design */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.logo-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
}

.logo-dot.cyan { background-color: var(--cmyk-cyan); }
.logo-dot.magenta { background-color: var(--cmyk-magenta); }
.logo-dot.yellow { background-color: var(--cmyk-yellow); }

.logo-text {
    margin-left: 4px;
    font-family: var(--font-primary);
    letter-spacing: -0.02em;
}

.logo-text .bold {
    font-weight: 800;
}

/* Navigation List */
.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-cmyk);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 110;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--grad-cmyk);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.feature-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Hero Visual Box */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.main-visual-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    overflow: visible;
}

.dots-pattern {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(var(--border-color) 2px, transparent 2px);
    background-size: 16px 16px;
    z-index: 1;
}

.visual-badge {
    position: absolute;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.visual-badge.cyan-blur {
    background: var(--grad-cyan);
    top: 40px;
    left: -20px;
    box-shadow: var(--shadow-glow-cyan);
    animation-delay: 0s;
}

.visual-badge.magenta-blur {
    background: var(--grad-magenta);
    bottom: 80px;
    right: -20px;
    box-shadow: var(--shadow-glow-magenta);
    animation-delay: 2s;
}

.visual-badge.yellow-blur {
    background: var(--grad-yellow);
    top: -15px;
    right: 60px;
    box-shadow: var(--shadow-glow-yellow);
    animation-delay: 4s;
}

.showcase-image-container {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-lg) - 4px);
    overflow: hidden;
    background-color: var(--bg-tertiary);
    position: relative;
}

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

.main-visual-card:hover .hero-img {
    transform: scale(1.05);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 20px;
}

.about-text-column p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 20px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 900;
    display: block;
    margin-bottom: 4px;
}

.gradient-text-cyan {
    background: var(--grad-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-magenta {
    background: var(--grad-magenta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-yellow {
    background: var(--grad-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image-column {
    display: flex;
    justify-content: center;
}

.about-card-decorative {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px;
}

.about-dots {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--border-color) 2px, transparent 2px);
    background-size: 12px 12px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 4px);
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: -24px;
    background: var(--text-main);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.exp-years {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-top: 4px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

/* Updated auto-fit services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Highlight borders & icons by category */
.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all var(--transition-fast);
}

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

/* Cyan customizations */
.service-cyan .service-icon-wrapper {
    background-color: rgba(14, 165, 233, 0.08);
    color: var(--cmyk-cyan);
}
.service-cyan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-cyan);
}

/* Magenta customizations */
.service-magenta .service-icon-wrapper {
    background-color: rgba(217, 70, 239, 0.08);
    color: var(--cmyk-magenta);
}
.service-magenta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-magenta);
}

/* Yellow customizations */
.service-yellow .service-icon-wrapper {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--cmyk-yellow);
}
.service-yellow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-yellow);
}

/* Primary (Web) customizations */
.service-primary .service-icon-wrapper {
    background-color: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}
.service-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.service-summary {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 28px;
}

.service-list {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.check-icon {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
}
.service-cyan .check-icon { color: var(--cmyk-cyan); }
.service-magenta .check-icon { color: var(--cmyk-magenta); }
.service-yellow .check-icon { color: var(--cmyk-yellow); }
.service-primary .check-icon { color: var(--primary); }

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.service-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background-color: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.link-cyan { color: var(--cmyk-cyan); }
.link-magenta { color: var(--cmyk-magenta); }
.link-yellow { color: var(--cmyk-yellow); }
.link-primary { color: var(--primary); }

/* Hover effects */
.service-card:hover {
    transform: translateY(-8px);
}

.service-cyan:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-glow-cyan);
}
.service-cyan:hover .service-icon-wrapper {
    background-color: var(--cmyk-cyan);
    color: white;
}

.service-magenta:hover {
    border-color: rgba(217, 70, 239, 0.3);
    box-shadow: var(--shadow-glow-magenta);
}
.service-magenta:hover .service-icon-wrapper {
    background-color: var(--cmyk-magenta);
    color: white;
}

.service-yellow:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: var(--shadow-glow-yellow);
}
.service-yellow:hover .service-icon-wrapper {
    background-color: var(--cmyk-yellow);
    color: white;
}

.service-primary:hover {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--shadow-glow-primary);
}
.service-primary:hover .service-icon-wrapper {
    background-color: var(--primary);
    color: white;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Filter controls */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

.filter-btn.active {
    background-color: var(--text-main);
    border-color: var(--text-main);
    color: white;
}

/* Grid layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.portfolio-item {
    transition: all var(--transition-normal);
}

.portfolio-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    position: relative;
}

.portfolio-img-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

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

.portfolio-info {
    padding: 24px;
    flex-grow: 1;
}

.item-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.tag-cyan { background-color: rgba(14, 165, 233, 0.08); color: var(--cmyk-cyan); }
.tag-magenta { background-color: rgba(217, 70, 239, 0.08); color: var(--cmyk-magenta); }
.tag-yellow { background-color: rgba(245, 158, 11, 0.08); color: var(--cmyk-yellow); }
.tag-primary { background-color: rgba(79, 70, 229, 0.08); color: var(--primary); }

.portfolio-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Card hover animations */
.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-focus);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}

/* Admin Overlay on cards */
.portfolio-item-admin-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

/* Always visible if in admin view */
.admin-mode-active .portfolio-item-admin-overlay {
    opacity: 1;
}

.admin-card-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.admin-card-btn.edit {
    background-color: white;
    color: var(--primary);
}
.admin-card-btn.edit:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.admin-card-btn.delete {
    background-color: white;
    color: #ef4444;
}
.admin-card-btn.delete:hover {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
}

.admin-card-btn svg {
    width: 14px;
    height: 14px;
}

/* Catalog Callout Box */
.catalog-callout {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.catalog-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--grad-cmyk);
}

.callout-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.callout-content p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 680px;
}

.callout-action {
    flex-shrink: 0;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-text-desc {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-bottom: 40px;
}

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

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail-item:hover .detail-icon {
    background-color: var(--text-main);
    color: white;
    border-color: var(--text-main);
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-link, .detail-text {
    font-size: 1.0625rem;
    font-weight: 600;
}

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

/* Form Styles */
.form-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, 
.form-group textarea,
.form-group select {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 0.9375rem;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Custom Select Design */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    cursor: pointer;
    padding-right: 40px;
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-color: var(--text-muted);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    pointer-events: none;
}

.send-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .send-icon {
    transform: translate(2px, -2px);
}

/* Form Feedback States */
.form-feedback {
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 12px;
    border-radius: var(--radius-md);
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.form-feedback.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

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

.main-footer .logo {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 0.75fr);
    gap: 64px;
    padding-bottom: 56px;
}

.footer-desc {
    color: #94a3b8;
    margin-top: 20px;
    margin-bottom: 24px;
    font-size: 0.9375rem;
    max-width: 320px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all var(--transition-fast);
}

.social-links a svg {
    width: 18px;
    height: 18px;
}

.social-links a:hover {
    background-color: white;
    color: #0b0f19;
    border-color: white;
    transform: translateY(-2px);
}

.footer-links-group h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-group a {
    font-size: 0.9375rem;
    color: #94a3b8;
}

.footer-links-group a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
    font-size: 0.8125rem;
    color: #64748b;
}

/* ==========================================================================
   MOBILE MENUS & OVERLAY
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ==========================================================================
   FLOATING ADMIN BUTTON & MODAL
   ========================================================================== */
.admin-float-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    cursor: pointer;
    z-index: 100;
    transition: all var(--transition-fast);
}

.admin-float-btn:hover {
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.6);
}

.admin-float-btn svg {
    width: 24px;
    height: 24px;
}

/* Admin Modal Overlay */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.admin-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Modal Content Box */
.admin-modal {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 900px;
    height: 90%;
    max-height: 720px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform var(--transition-normal);
}

.admin-modal-overlay.active .admin-modal {
    transform: translateY(0);
}

/* Modal Header */
.admin-modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.close-admin-modal {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.close-admin-modal:hover {
    color: var(--text-main);
}

/* Tabs */
.admin-tabs {
    display: flex;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}

.admin-tab-btn {
    padding: 16px 24px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-tab-btn:hover {
    color: var(--text-main);
}

.admin-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Tab Content */
.admin-modal-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 32px;
}

.admin-tab-pane {
    display: none;
}

.admin-tab-pane.active {
    display: block;
}

/* Form Styling */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.admin-form-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 28px;
}

.admin-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.admin-form-section h4 {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.admin-form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-secondary);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.admin-help-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: -8px;
    margin-bottom: 16px;
}

/* Image Upload Layout */
.admin-image-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.admin-image-upload-wrapper.mini {
    gap: 16px;
}

.admin-image-preview {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.admin-image-preview.mini {
    width: 80px;
    height: 80px;
}

.preview-placeholder {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
}

.admin-file-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.admin-file-input .file-name {
    font-size: 0.8125rem;
    color: var(--text-muted);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Gallery CRUD Split Layout */
.admin-gallery-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.admin-gallery-form-side {
    position: sticky;
    top: 0;
    background-color: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.admin-gallery-form-side h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.admin-gallery-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.admin-gallery-buttons .btn {
    flex-grow: 1;
}

/* Gallery List Side */
.admin-gallery-list-side h4 {
    margin-bottom: 16px;
}

.admin-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 8px;
}

.admin-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-primary);
    gap: 16px;
    transition: all var(--transition-fast);
}

.admin-item-row:hover {
    border-color: var(--border-focus);
    background-color: var(--bg-secondary);
}

.admin-item-row-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-item-row-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-item-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-item-row-details {
    min-width: 0;
}

.admin-item-row-details h5 {
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-item-row-details span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-item-row-actions {
    display: flex;
    gap: 6px;
}

.admin-row-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.admin-row-btn.edit {
    color: var(--primary);
}
.admin-row-btn.edit:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.admin-row-btn.delete {
    color: #ef4444;
}
.admin-row-btn.delete:hover {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
}

.admin-row-btn.up {
    color: #10b981;
}
.admin-row-btn.up:hover {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
}

.admin-row-btn.down {
    color: #f59e0b;
}
.admin-row-btn.down:hover {
    background-color: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

.admin-row-btn svg {
    width: 12px;
    height: 12px;
}

/* Shake Animation for incorrect password */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.shake-error {
    animation: shake 0.4s ease-in-out;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        max-width: 600px;
    }
    
    .hero-visual {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-column {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-callout {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .admin-gallery-split {
        grid-template-columns: 1fr;
    }
    .admin-gallery-form-side {
        position: relative;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    /* Navigation Menu Toggle */
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-primary);
        z-index: 99;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        padding: 100px 40px 40px;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.125rem;
        display: block;
    }
    
    /* Hamburger Active State */
    .menu-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .header-actions .btn-sm {
        display: none; /* Hide top CTA in mobile header to save space, relies on nav instead */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Admin specific */
    .admin-modal {
        height: 95%;
        max-height: none;
        border-radius: var(--radius-md);
    }
    .admin-modal-content {
        padding: 20px;
    }
    .admin-image-upload-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .main-visual-card {
        aspect-ratio: 1;
    }
    
    .visual-badge {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .visual-badge.cyan-blur {
        left: -10px;
    }
    
    .visual-badge.magenta-blur {
        right: -10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .experience-badge {
        right: 0;
        bottom: -16px;
        padding: 12px 18px;
    }

    .admin-float-btn {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}
