@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette - Premium slate/champagne/gold hybrid */
    --primary: #0f172a;        /* Deep Premium Slate */
    --primary-light: #1e293b;  /* Mid Slate */
    --accent: #d97706;         /* Gold/Amber branding */
    --accent-light: #fef3c7;   /* Soft Gold Background */
    --accent-hover: #b45309;   /* Hover gold */
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;        /* Soft Cool Gray */
    --text-dark: #0f172a;      /* Slate black */
    --text-muted: #475569;     /* Charcoal slate */
    --text-light: #94a3b8;     /* Light slate */
    --border-color: #e2e8f0;   /* Muted border */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(16px);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Transition */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

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

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Utility Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.6rem;
    position: relative;
    padding-bottom: 18px;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

.section-title p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-top: 15px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2.1rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-hover);
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::after {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(217, 119, 6, 0.15);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px;
    transition: var(--transition);
}

.header.scrolled .nav-wrapper {
    height: 75px;
}

.logo-link {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    padding: 8px 0;
    position: relative;
}

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

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

.nav-cta {
    display: inline-block;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -15px 0 35px rgba(15, 23, 42, 0.15);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition);
        z-index: 1050;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.05) 0%, #f8fafc 60%, #e2e8f0 100%);
    padding-top: 100px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background-color: var(--accent-light);
    color: var(--accent-hover);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.hero-title span {
    color: var(--accent);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 580px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease;
}

.hero-img-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 10px solid var(--bg-white);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-img-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.hero-img-frame:hover img {
    transform: scale(1.08);
}

.hero-experience-badge {
    position: absolute;
    bottom: -15px;
    left: -25px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 26px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    border-left: 6px solid var(--accent);
    transform: rotate(-2deg);
}

.experience-years {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}

.experience-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
    font-weight: 700;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-img-container {
        margin-top: 20px;
    }
    
    .hero-img-frame {
        max-width: 380px;
        transform: rotate(0);
    }
    
    .hero-experience-badge {
        left: 0;
        bottom: -20px;
    }
}

/* About/Intro Section */
.about-section {
    background-color: var(--bg-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
    transition: var(--transition);
}

.about-img-frame:hover {
    transform: scale(1.01);
}

.about-content h3 {
    font-size: 2.3rem;
    margin-bottom: 24px;
}

.about-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.signature {
    margin-top: 35px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.signature-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.signature-title {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* USP Cards */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.usp-card {
    background-color: var(--bg-soft);
    padding: 45px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.usp-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.08), 0 5px 15px rgba(0, 0, 0, 0.02);
    border-color: rgba(217, 119, 6, 0.35);
}

.usp-icon {
    width: 65px;
    height: 65px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 28px;
    transition: var(--transition);
}

.usp-card:hover .usp-icon {
    transform: rotate(10deg) scale(1.05);
}

.usp-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-weight: 600;
}

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

@media (max-width: 992px) {
    .usp-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(217, 119, 6, 0.12), 0 8px 20px rgba(0, 0, 0, 0.03);
    border-color: rgba(217, 119, 6, 0.45);
}

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.service-info {
    padding: 35px;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 600;
}

.service-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link span {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link span {
    transform: translateX(6px);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Detail Lists (Sub-services detailed lists on Services Page) */
.service-details-wrapper {
    background-color: var(--bg-soft);
}

.service-details-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.service-details-row:last-child {
    margin-bottom: 0;
}

.service-details-row.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.service-details-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--bg-white);
}

.service-details-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-details-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-details-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.service-bullet-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.service-bullet-list li {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.service-bullet-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    margin-right: 12px;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .service-details-row,
    .service-details-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .service-details-row.reverse .service-details-image {
        order: 2;
    }
    
    .service-details-image img {
        height: 300px;
    }
    
    .service-bullet-list {
        grid-template-columns: 1fr;
    }
}

/* Portfolio & Reference Gallery */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background-color: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent);
    color: var(--bg-white);
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
}

.gallery-grid-clean {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-img-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-item:hover {
    transform: scale(1.025) translateY(-5px);
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.15);
}

.gallery-img-item:hover img {
    transform: scale(1.06);
}

/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(8, 12, 21, 0.96);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(12px);
    user-select: none;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10001;
    opacity: 0.6;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
    opacity: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    font-size: 2.2rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.lightbox-arrow:hover {
    background: var(--accent);
    color: var(--text-dark);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.4);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-counter {
    position: absolute;
    bottom: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10000;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--bg-white);
}

.cta-section p {
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 40px;
    font-size: 1.15rem;
    font-weight: 300;
}

/* Forms & Calculators */
.quote-contact-wrapper {
    background-color: var(--bg-soft);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
}

.quote-calculator-card {
    background-color: var(--bg-white);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.quote-calculator-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-soft);
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 5px rgba(217, 119, 6, 0.12);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.range-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.range-slider {
    flex-grow: 1;
    height: 8px;
    border-radius: var(--radius-full);
    outline: none;
    accent-color: var(--accent);
    cursor: pointer;
}

.range-val {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent);
    min-width: 70px;
    text-align: right;
}

/* Calculator Result Panel */
.calc-result-panel {
    background-color: var(--bg-soft);
    padding: 26px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--accent);
    margin: 30px 0;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.result-row:last-child {
    margin-bottom: 0;
}

.result-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.result-price {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
}

.result-price span {
    font-size: 1.9rem;
    color: var(--accent);
}

.calc-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* Contact Info Column */
.contact-info-col {
    position: sticky;
    top: 120px;
}

.contact-card {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background-color: rgba(217, 119, 6, 0.12);
    border-radius: var(--radius-full);
}

.contact-card h3 {
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 35px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-detail-list {
    list-style: none;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-detail-icon {
    font-size: 1.4rem;
    color: var(--accent);
    margin-right: 18px;
    margin-top: 4px;
}

.contact-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-detail-value {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Interactive Map */
.map-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 320px;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-col {
        position: static;
    }
}

/* Form Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.modal-card {
    background-color: var(--bg-white);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    width: 85px;
    height: 85px;
    background-color: var(--accent-light);
    color: var(--accent);
    font-size: 2.6rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.modal-card h3 {
    font-size: 1.9rem;
    margin-bottom: 16px;
}

.modal-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 90px 0 35px;
    border-top: 6px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about h4 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.footer-about p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
    max-width: 340px;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 14px;
}

.footer-links-list a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-list i {
    color: var(--accent);
    margin-right: 14px;
    margin-top: 4px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-badge {
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-badge a {
    color: var(--text-light);
    margin: 0 5px;
    text-decoration: underline;
}

.footer-badge a:hover {
    color: var(--accent);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}


/* Color Visualizer Swatches styling */
.visualizer-swatch.active {
    box-shadow: 0 0 0 3px var(--accent) !important;
    transform: scale(1.15);
}

.visualizer-swatch:hover {
    transform: scale(1.2);
}

/* Micro-animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
    }
    70% {
        transform: scale(1.04);
        box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

.pulse-effect {
    animation: pulse 2.5s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-effect {
    animation: float 4s ease-in-out infinite;
}

/* Custom CSS visual effect for icons in headers */
.usp-card:hover .usp-icon {
    animation: pulse 1.5s infinite;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.floating-call-btn:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

.floating-call-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    top: 0;
    left: 0;
    animation: floating-btn-pulse 2s infinite;
    z-index: -1;
}

@keyframes floating-btn-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* File Upload Custom Styling */
.file-upload-label {
    display: block;
    padding: 12px 20px;
    background-color: var(--bg-soft);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: none;
}

.file-upload-label:hover {
    border-color: var(--accent);
    background-color: rgba(217, 119, 6, 0.05);
    color: var(--accent);
}

.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==============================================
   NAVIGATION FIX — szöveg mindig látható
   ============================================== */
.header:not(.scrolled) .logo-title { color: var(--primary); }
.header:not(.scrolled) .logo-sub { color: var(--accent); }
.header:not(.scrolled) .nav-link { color: var(--primary); }
.header:not(.scrolled) .mobile-toggle span { background-color: var(--primary); }
.header.scrolled .logo-title { color: var(--primary); }
.header.scrolled .logo-sub { color: var(--accent); }
.header.scrolled .nav-link { color: var(--primary); }
.header.scrolled .mobile-toggle span { background-color: var(--primary); }

/* ==========================================
   PROCESS STEPS SHOWCASE SECTION
   ========================================== */
.process-showcase-section {
    position: relative;
    background: linear-gradient(160deg, #0f172a 0%, #1a2744 50%, #0f172a 100%);
    color: var(--bg-white);
    padding: 110px 0;
    overflow: hidden;
}

.process-bg-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(217, 119, 6, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 50%);
    pointer-events: none;
}

.process-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent);
    border: 1px solid rgba(217, 119, 6, 0.4);
    padding: 7px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.15);
}

.process-header h2 {
    font-size: 2.8rem;
    color: var(--bg-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.process-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.65;
}

/* Progress Track */
.process-progress-track {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.process-progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--accent), #f59e0b);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
}

/* Main Grid */
.process-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* Image Area */
.process-image-area {
    position: relative;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.process-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-image.active {
    opacity: 1;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.process-image.active img {
    transform: scale(1.04);
}

.process-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
}

.process-step-label {
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Floating Trust Badge */
.process-float-badge {
    position: absolute;
    top: 24px;
    right: -16px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(217, 119, 6, 0.45);
    padding: 14px 20px;
    border-radius: 16px;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.process-float-badge i {
    font-size: 1.8rem;
    color: var(--accent);
}

.pfb-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.pfb-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* Steps Area */
.process-steps-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.process-step-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.process-step-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(217,119,6,0.12) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-step-btn:hover::before,
.process-step-btn.active::before {
    opacity: 1;
}

.process-step-btn:hover,
.process-step-btn.active {
    border-color: rgba(217, 119, 6, 0.6);
    color: var(--bg-white);
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.2);
}

.psb-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    min-width: 44px;
    transition: color 0.4s ease;
}

.process-step-btn.active .psb-number {
    color: var(--accent);
}

.psb-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.psb-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.process-step-btn.active .psb-icon {
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 0 20px rgba(217,119,6,0.5);
}

.psb-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 5px;
}

.psb-text p {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .process-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .process-image-area {
        height: 320px;
    }
    .process-float-badge {
        right: 16px;
    }
    .process-header h2 {
        font-size: 2.1rem;
    }
}

/* ==========================================
   ANIMATED STATS SECTION
   ========================================== */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, #b45309 0%, var(--accent) 50%, #92400e 100%);
    padding: 80px 0;
    overflow: hidden;
}

.stats-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(0,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 2.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    display: inline;
    margin-left: 4px;
}

.stat-label {
    margin-top: 12px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    display: block;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .stat-number {
        font-size: 2.4rem;
    }
}

/* File Upload Custom Styling */
.file-upload-label {
    display: block;
    padding: 12px 20px;
    background-color: var(--bg-soft);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: none;
}

.file-upload-label:hover {
    border-color: var(--accent);
    background-color: rgba(217, 119, 6, 0.05);
    color: var(--accent);
}

.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================
   THREE.JS 3D INTERACTIVE SHOWCASE SECTION
   ========================================== */
.threejs-showcase-section {
    position: relative;
    background: linear-gradient(160deg, #090d16 0%, #0f172a 60%, #1a2744 100%);
    color: var(--bg-white);
    padding: 100px 0;
    overflow: hidden;
}

.threejs-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    filter: blur(40px);
}

.threejs-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
}

.threejs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent);
    border: 1px solid rgba(217, 119, 6, 0.4);
    padding: 7px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.18);
}

.threejs-header h2 {
    font-size: 2.7rem;
    color: var(--bg-white);
    margin-bottom: 16px;
    line-height: 1.25;
}

.threejs-header p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1rem;
    line-height: 1.65;
}

/* Three.js Stage & Controls Container */
.threejs-stage-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 45px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Canvas Wrapper */
.threejs-canvas-wrapper {
    position: relative;
    width: 100%;
    height: 440px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(217, 119, 6, 0.08);
    overflow: hidden;
    touch-action: none;
}

.threejs-canvas-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    cursor: grab;
}

.threejs-canvas-wrapper canvas:active {
    cursor: grabbing;
}

.threejs-overlay-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(8, 12, 21, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.threejs-overlay-badge i {
    color: var(--accent);
}

/* Reset camera button */
.threejs-reset-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 10;
}

.threejs-reset-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: scale(1.05);
}

/* Custom Unlimited Color Picker Box */
.threejs-picker-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(217, 119, 6, 0.35);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: inset 0 0 15px rgba(217, 119, 6, 0.05);
}

.threejs-picker-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.threejs-picker-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.threejs-color-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 58px;
    height: 48px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.threejs-color-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.threejs-color-input::-webkit-color-swatch {
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
}

.threejs-color-input::-moz-color-swatch {
    border: none;
    border-radius: 10px;
}

.threejs-color-input:hover {
    transform: scale(1.08);
    border-color: var(--accent);
}

.threejs-hex-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.threejs-control-subtitle {
    font-size: 0.92rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Controls Panel */
.threejs-controls-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.threejs-control-title {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.threejs-control-title i {
    color: var(--accent);
}

.threejs-color-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.threejs-color-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.threejs-color-btn .color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.threejs-color-btn:hover,
.threejs-color-btn.active {
    background: rgba(217, 119, 6, 0.18);
    border-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.25);
}

.threejs-color-btn:hover .color-dot,
.threejs-color-btn.active .color-dot {
    transform: scale(1.2);
    border-color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.threejs-info-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 14px;
}

.threejs-info-box h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 6px;
}

.threejs-info-box p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}

@media (max-width: 992px) {
    .threejs-stage-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .threejs-canvas-wrapper {
        height: 360px;
    }

    .threejs-header h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 576px) {
    .threejs-color-buttons {
        grid-template-columns: 1fr;
    }
    
    .threejs-canvas-wrapper {
        height: 310px;
        border-radius: 20px;
    }
    
    .threejs-controls-panel {
        padding: 20px;
    }
}
