/* ============================================ */
/* CREATIVE DARK DESIGN - ENHANCED VERSION     */
/* ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================ */
/* ENHANCED DARK THEME VARIABLES               */
/* ============================================ */

:root {
    /* Primary Purple Palette */
    --primary-color: #8b5cf6;      /* Vibrant Violet */
    --primary-dark: #7c3aed;       /* Deeper Violet */
    --primary-light: #a78bfa;      /* Lighter Violet */
    --secondary-color: #c084fc;    /* Light Purple */
    --accent-color: #f3e8ff;       /* Very Light Purple */
    --accent-bright: #e879f9;      /* Magenta Accent */
    
    /* Dark Theme Colors */
    --dark-900: #0f0f23;           /* Deep Space Blue */
    --dark-800: #1a1a2e;           /* Dark Navy */
    --dark-700: #16213e;           /* Slate Blue */
    --dark-600: #0f3460;           /* Deep Blue */
    --dark-500: #374151;           /* Medium Gray */
    --dark-400: #4b5563;           /* Light Gray */
    --dark-300: #6b7280;           /* Lighter Gray */
    --dark-200: #9ca3af;           /* Very Light Gray */
    
    /* Background Colors */
    --bg-primary: #0f0f23;         /* Main background */
    --bg-secondary: #1a1a2e;       /* Card background */
    --bg-tertiary: #16213e;        /* Section background */
    --bg-accent: rgba(139, 92, 246, 0.1); /* Purple tint */
    
    /* Text Colors */
    --text-primary: #ffffff;       /* Pure white for headings */
    --text-secondary: #e5e7eb;     /* Light gray for body text */
    --text-muted: #9ca3af;         /* Muted text */
    --text-accent: var(--primary-color); /* Purple accent text */
    
    /* Border & Effects */
    --border-color: rgba(139, 92, 246, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    --glow-primary: 0 0 20px rgba(139, 92, 246, 0.3);
    --glow-secondary: 0 0 30px rgba(196, 132, 252, 0.2);
    
    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing & Effects */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-bright), var(--primary-color));
    --gradient-bg: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    --gradient-card: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
    
    /* Animation Curves */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

/* ============================================ */
/* GLOBAL DARK THEME BASE                      */
/* ============================================ */

body {
    background: var(--gradient-bg);
    color: var(--text-secondary);
    font-family: var(--font-body);
    position: relative;
    overflow-x: hidden;
}

/* Animated background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 132, 252, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(232, 121, 249, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundPulse 20s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* ============================================ */
/* ENHANCED TYPOGRAPHY                         */
/* ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
}

h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================ */
/* HEADER & NAVIGATION ENHANCEMENTS           */
/* ============================================ */

.site-header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.top-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.7;
}

.main-nav a {
    color: var(--text-secondary) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    position: relative;
    transition: all 0.3s var(--ease-out-expo);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateY(-50%);
    transition: width 0.3s var(--ease-out-expo);
    border-radius: 2px;
}

.main-nav a:hover {
    color: var(--text-primary);
    transform: translateX(8px);
}

.main-nav a:hover::before {
    width: 6px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out-expo);
    border-radius: 2px;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ============================================ */
/* ENHANCED BUTTONS                            */
/* ============================================ */

.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease-in-out;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border: 2px solid transparent;
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out-expo);
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: var(--text-primary);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* ============================================ */
/* ENHANCED CARDS & COMPONENTS                 */
/* ============================================ */

.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--glow-secondary);
    border-color: var(--primary-color);
}

.card:hover::before {
    opacity: 1;
    height: 2px;
}

/* Service Cards */
.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::after {
    opacity: 0.05;
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* News Cards */
.news-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}

.news-card img {
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.4s ease;
}

.news-card:hover img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

.news-card-content {
    position: relative;
    z-index: 2;
}

.news-card-content h3 {
    color: var(--text-primary);
    font-weight: 700;
}

.news-card-content p {
    color: var(--text-muted);
}

.news-card-content .read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.news-card-content .read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.news-card-content .read-more:hover {
    color: var(--secondary-color);
}

.news-card-content .read-more:hover::after {
    transform: translateX(4px);
}

/* ============================================ */
/* ENHANCED SECTIONS                           */
/* ============================================ */

.section {
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: var(--glow-primary);
}

.section-title.text-left::after {
    left: 0;
    transform: translateX(0);
}

/* Hero/Slideshow Section */
.slideshow {
    position: relative;
    overflow: hidden;
}

.slide {
    background: var(--gradient-bg);
    position: relative;
}

.slide-overlay {
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.9), 
        rgba(26, 26, 46, 0.8), 
        rgba(139, 92, 246, 0.1));
    backdrop-filter: blur(1px);
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 1.5rem;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-intro-section {
    background: var(--bg-tertiary);
    position: relative;
}

.about-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(196, 132, 252, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.feature-box {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.feature-box h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-secondary);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.3"/><circle cx="80" cy="40" r="0.8" fill="white" opacity="0.2"/><circle cx="40" cy="70" r="1.2" fill="white" opacity="0.4"/><circle cx="90" cy="90" r="0.6" fill="white" opacity="0.25"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: starField 30s linear infinite;
}

@keyframes starField {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================ */
/* FOOTER ENHANCEMENTS                         */
/* ============================================ */

.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.footer-widget h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    position: relative;
    margin-bottom: 1.5rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-widget a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.footer-widget a:hover {
    color: var(--primary-color);
    transform: translateX(6px);
}

.social-links a {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease-out-expo);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--glow-primary);
}

/* ============================================ */
/* PAGE SPECIFIC OVERRIDES                    */
/* ============================================ */

.page-header {
    background: var(--gradient-bg);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Sidebar Enhancements */
.sidebar-widget {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.sidebar-widget h3 {
    color: var(--text-primary);
    border-bottom-color: var(--primary-color);
}

.cta-widget {
    background: var(--gradient-primary) !important;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cta-widget .container {
    position: relative;
    z-index: 2;
}

.cta-widget h4 {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* ============================================ */
/* FORM ENHANCEMENTS                          */
/* ============================================ */

.contact-form-container,
.contact-details-container {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
}

.contact-form-container h3,
.contact-details-container h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.form-group input,
.form-group textarea {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: var(--bg-tertiary);
}

.form-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================ */
/* RESPONSIVE DARK THEME ADJUSTMENTS          */
/* ============================================ */

@media (max-width: 768px) {
    .main-nav {
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-light);
    }
    
    .main-nav a {
        color: var(--text-secondary);
        font-size: 1.1rem;
    }
    
    .main-nav a:hover {
        color: var(--primary-color);
    }
}

/* ============================================ */
/* LOADING & ANIMATION ENHANCEMENTS           */
/* ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Spinner */
.spinner {
    border: 4px solid var(--bg-secondary);
    border-top: 4px solid var(--primary-color);
    border-right: 4px solid var(--secondary-color);
    box-shadow: var(--glow-primary);
}

.spinner::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent-bright);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

/* ============================================ */
/* CUSTOM SCROLLBAR FOR DARK THEME            */
/* ============================================ */

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
    box-shadow: var(--glow-primary);
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-primary);
}

/* ============================================ */
/* ACCESSIBILITY & HIGH CONTRAST              */
/* ============================================ */

@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #f0f0f0;
        --text-muted: #d0d0d0;
        --border-light: rgba(255, 255, 255, 0.3);
        --primary-color: #a78bfa;
        --secondary-color: #c084fc;
    }
    
    .card,
    .service-card,
    .news-card {
        border: 2px solid var(--primary-color);
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    .cta-section::before,
    .cta-widget::before {
        animation: none !important;
    }
}

/* ============================================ */
/* FINAL DARK THEME TOUCHES                   */
/* ============================================ */

/* Selection styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Focus styling */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Image overlays for better integration */
img {
    filter: brightness(0.9) contrast(1.1) saturate(0.9);
    transition: filter 0.3s ease;
}

.card:hover img,
.service-card:hover img,
.news-card:hover img {
    filter: brightness(1) contrast(1.2) saturate(1);
}


/* Ensure consistent dark theme across all components */
.main-article-content {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.main-article-content h1,
.main-article-content h2,
.main-article-content h3,
.main-article-content h4 {
    color: var(--text-primary);
}

.article-meta {
    color: var(--text-muted);
    border-bottom-color: var(--border-light);
}

.article-content h2::before {
    background: var(--gradient-primary);
}

.category-tag {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border: 1px solid var(--border-light);
}

.category-tag:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

/* ============================================ */
/* ENHANCED MENU SECTION                       */
/* ============================================ */

.menu-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item-header h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.menu-item-dots {
    border-bottom-color: var(--border-light);
}

.menu-item-price {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.menu-item-description {
    color: var(--text-muted);
}

.menu-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-secondary);
}

/* ============================================ */
/* ENHANCED GALLERY SECTION                    */
/* ============================================ */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 0.1;
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    color: white;
    z-index: 3;
    transition: transform 0.3s var(--ease-out-expo);
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.1);
}

/* ============================================ */
/* ENHANCED PORTFOLIO SECTION                  */
/* ============================================ */

.portfolio-item {
    border-radius: 20px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 0.8;
}

.portfolio-item-overlay {
    background: linear-gradient(to top, 
        rgba(15, 15, 35, 0.95), 
        rgba(139, 92, 246, 0.3),
        transparent);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.portfolio-item-overlay h3 {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-item-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.portfolio-item img {
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.15);
}

/* ============================================ */
/* ENHANCED TEAM SECTION                       */
/* ============================================ */

.team-member-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover::before {
    opacity: 1;
}

.team-member-card img {
    border: 4px solid var(--border-light);
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.4s ease;
}

.team-member-card:hover img {
    border-color: var(--primary-color);
    filter: brightness(1) contrast(1.2);
    box-shadow: var(--glow-primary);
}

.team-member-card h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.team-member-title {
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.team-member-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-secondary);
}

/* ============================================ */
/* ENHANCED DESIGNS SHOWCASE                   */
/* ============================================ */

.design-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.design-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.design-card-image {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.design-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.design-card:hover .design-card-image::after {
    opacity: 0.1;
}

.design-card-image img {
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.4s ease;
}

.design-card:hover .design-card-image img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

.design-card-content h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

.design-card-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.design-price {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-family: var(--font-heading);
}

.design-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-secondary);
}

/* ============================================ */
/* ENHANCED ONBOARDING FORMS                   */
/* ============================================ */

.onboarding-layout-grid {
    gap: 3rem;
}

.onboard-form {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
}

.onboard-form fieldset {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.onboard-form fieldset:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.onboard-form legend {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.onboard-form .form-group input,
.onboard-form .form-group textarea,
.onboard-form .form-group select {
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
}

.onboard-form .form-group input::placeholder,
.onboard-form .form-group textarea::placeholder {
    color: var(--text-muted);
}

.onboard-form .form-group input:focus,
.onboard-form .form-group textarea:focus,
.onboard-form .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: var(--bg-secondary);
}

.onboard-form .form-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

.order-summary-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.order-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.order-summary-card h3,
.order-summary-card h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.summary-price {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-heading);
}

.order-summary-card hr {
    border-top-color: var(--border-light);
}

.order-summary-card li {
    color: var(--text-muted);
}

.order-summary-card li::before {
    color: var(--primary-color);
}

.progress-step {
    background: var(--bg-secondary);
    color: var(--text-muted);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out-expo);
}

.progress-step.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.progress-step.completed {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-color);
}

.form-section-heading {
    color: var(--text-primary);
    border-bottom-color: var(--primary-color);
    font-family: var(--font-heading);
}

.form-section-heading::after {
    background: var(--secondary-color);
}

/* ============================================ */
/* ENHANCED PAGINATION                          */
/* ============================================ */

.pagination a,
.pagination span {
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out-expo);
}

.pagination a:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--glow-primary);
}

.pagination span.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

/* ============================================ */
/* ENHANCED ARTICLE LIST                       */
/* ============================================ */

.article-list-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.article-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.article-list-item:hover::before {
    width: 4px;
}

.article-list-content h3 a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.article-list-content h3 a:hover {
    color: var(--primary-color);
}

.article-list-content p {
    color: var(--text-muted);
}

.article-list-content .article-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-list-image img {
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.4s ease;
}

.article-list-item:hover .article-list-image img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

/* ============================================ */
/* TEXT-IMAGE GRID ENHANCEMENTS                */
/* ============================================ */

.text-image-grid .image-content::before {
    background: var(--gradient-primary);
}

.text-image-grid .text-content h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.text-image-grid .text-content p {
    color: var(--text-muted);
}

.text-image-grid .image-content img {
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.4s ease;
}

.text-image-grid:hover .image-content img {
    filter: brightness(1) contrast(1.2);
}

/* ============================================ */
/* ALERT & STATUS ENHANCEMENTS                 */
/* ============================================ */

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-info {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--primary-color);
}

/* ============================================ */
/* SIDEBAR NAVIGATION ENHANCEMENTS             */
/* ============================================ */

.sidebar-nav-menu a {
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.3s var(--ease-out-expo);
}

.sidebar-nav-menu a::before {
    background: var(--gradient-primary);
}

.sidebar-nav-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.sidebar-nav-menu li.active a {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-primary);
}

/* ============================================ */
/* MOBILE RESPONSIVE ENHANCEMENTS              */
/* ============================================ */

@media (max-width: 768px) {
    /* Mobile specific dark theme adjustments */
    .about-intro-grid-two-col {
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
        background: linear-gradient(135deg, #ffffff, var(--primary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .feature-boxes-grid {
        gap: 1.5rem;
    }
    
    .article-list-item {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .article-list-image img {
        height: 200px;
    }
    
    .text-image-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Mobile navigation specific */
    #hamburger-btn .line {
        background: var(--text-primary);
    }
    
    .main-nav ul {
        gap: 1.5rem;
    }
    
    .main-nav a {
        font-size: 1.1rem;
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .main-nav a:hover {
        background: var(--bg-secondary);
        color: var(--primary-color);
    }
}

@media (max-width: 576px) {
    /* Small mobile adjustments */
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .card-body,
    .contact-form-container,
    .contact-details-container {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .main-nav {
        width: 95%;
        max-width: none;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

/* ============================================ */
/* PERFORMANCE OPTIMIZATIONS                   */
/* ============================================ */

/* Hardware acceleration for smooth animations */
.card,
.service-card,
.news-card,
.portfolio-item,
.team-member-card,
.design-card,
.gallery-item,
.menu-item,
.btn {
    will-change: transform;
    transform: translateZ(0);
}

/* Optimize background animations */
@media (prefers-reduced-motion: reduce) {
    body::before,
    .cta-section::before,
    .cta-widget::before {
        animation: none !important;
    }
    
    * {
        transition-duration: 0.01ms !important;
    }
}

/* ============================================ */
/* FINAL DARK THEME POLISH                     */
/* ============================================ */

/* Ensure all text is properly contrasted */
.text-muted {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* Override any remaining light backgrounds */
.bg-light,
.section-alt {
    background: var(--bg-tertiary) !important;
}

.bg-white {
    background: var(--bg-secondary) !important;
}

/* Ensure proper contrast for all interactive elements */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

/* Final touch: subtle glow effects for key elements */
.logo,
.section-title,
.cta-section h2 {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

/* Ensure consistent border radius */
* {
    --border-radius: 12px;
}

.card,
.btn,
.form-group input,
.form-group textarea {
    border-radius: var(--border-radius);
}


/* END OF CREATIVE DARK THEME */