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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    background: #1a1a2e;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: #e0e0e0;
    text-decoration: none;
    cursor: pointer;
}

/* ===== SLIDESHOW BACKGROUND ===== */
.slideshow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.slideshow-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-bg img.active {
    opacity: 1;
}

/* Dark overlay so text is readable over slideshow */
.slideshow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 40, 0.7);
    z-index: -1;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 140px;
    overflow: visible;
}

/* Single image: paper texture + torn edge + black — no seam */
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -80px;
    background: url('./images/Site Images/navbar-bg-transparent.png') top center / 100% auto no-repeat;
    pointer-events: none;
    z-index: -1;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

#NN-Branding {
    height: 130px;
    width: auto;
    filter: contrast(1.6) brightness(0.95);
}

.est-tag {
    font-size: 0.85rem;
    color: #555;
    letter-spacing: 2px;
    font-style: italic;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    color: #111;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff6ec7;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 80px 20px 60px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 300;
    max-width: 700px;
    line-height: 1.3;
    margin-bottom: 60px;
    text-shadow: 0 0 30px rgba(255, 110, 199, 0.3);
}

.neon-selection {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Lichtenstein starburst CTA buttons — colors randomized by JS */
.boom-btn {
    position: relative;
    display: inline-block;
    padding: 30px 50px;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    text-decoration: none;
    background: #ffde00;
    clip-path: polygon(
        50% 0%, 63% 12%, 78% 2%, 82% 18%, 98% 18%,
        90% 32%, 100% 48%, 88% 55%, 95% 72%,
        80% 72%, 78% 90%, 63% 80%, 50% 95%,
        37% 80%, 22% 90%, 20% 72%, 5% 72%,
        12% 55%, 0% 48%, 10% 32%, 2% 18%,
        18% 18%, 22% 2%, 37% 12%
    );
    transition: transform 0.2s ease, filter 0.2s ease;
    text-shadow: 2px 2px 0px #fff;
    filter: drop-shadow(3px 3px 0px #000);
}

.boom-btn:hover {
    transform: scale(1.08) rotate(-2deg);
}

/* Floating sticky version */
.floating-cta {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
}

.floating-cta .boom-btn {
    font-size: 0.95rem;
    padding: 22px 38px;
}


/* ===== TESTIMONIALS ===== */
.customer-testimonials {
    padding: 80px 20px;
    text-align: center;
    background: rgba(22, 33, 62, 0.6);
}

.customer-testimonials h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.testimonials-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    min-height: 120px;
    position: relative;
}

.testimonials-list li {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: #ccc;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonials-list .attribution {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: #ff6ec7;
}

/* ===== BRAND LOGOS ===== */
.brands-section {
    padding: 60px 20px 80px;
    text-align: center;
}

.brands-section h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    padding: 12px;
    transition: all 0.3s ease;
}

.brand-grid a:hover {
    transform: scale(1.15);
}

.brand-grid img {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) invert(0.8);
    transition: filter 0.3s ease;
}

.brand-grid a:hover img {
    filter: brightness(0) invert(1);
}

/* ===== FORM PAGES ===== */
.form-container {
    max-width: 800px;
    margin: 60px auto 60px;
    padding: 40px;
    background: rgba(22, 33, 62, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-container h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 8px;
}

.form-container .form-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 40px;
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.form-section h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-section .hint {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-bottom: 15px;
}

/* Radio groups */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.radio-group label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.radio-group input[type="radio"]:checked + span,
.radio-group input[type="radio"]:checked ~ span {
    color: #ff6ec7;
}

.radio-group label:has(input:checked) {
    border-color: #ff6ec7;
    background: rgba(255, 110, 199, 0.1);
}

/* Text inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #ff6ec7;
    box-shadow: 0 0 10px rgba(255, 110, 199, 0.15);
}

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

/* Date input */
input[type="date"],
input[type="datetime-local"] {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 1rem;
    color-scheme: dark;
}

input[type="date"]:focus,
input[type="datetime-local"]:focus {
    outline: none;
    border-color: #ff6ec7;
}

/* Range slider */
.slider-container {
    padding: 10px 0;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff6ec7;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 110, 199, 0.5);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff6ec7;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(255, 110, 199, 0.5);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #999;
}

.slider-value {
    text-align: center;
    font-size: 1.3rem;
    color: #ff6ec7;
    font-weight: 600;
    margin-top: 8px;
}

/* File upload */
.file-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.file-upload-area:hover {
    border-color: #ff6ec7;
    background: rgba(255, 110, 199, 0.05);
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-area p {
    color: #999;
    font-size: 0.95rem;
}

.file-upload-area .upload-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* ===== COLOR CHART ===== */
.color-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.color-category h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #ccc;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-swatch {
    position: relative;
}

.color-swatch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.color-swatch label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.2);
}

.color-swatch label:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.color-swatch input:checked + label {
    border-color: var(--swatch-color, #ff6ec7);
    background: var(--swatch-glow-bg, rgba(255, 110, 199, 0.15));
    box-shadow: 0 0 12px 3px var(--swatch-glow, rgba(255, 110, 199, 0.4)),
                0 0 25px 6px var(--swatch-glow-soft, rgba(255, 110, 199, 0.15));
}

.color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.color-tier-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    margin-top: 8px;
}

.color-tier-label.expensive {
    color: #f4c430;
}

/* ===== TUBE SIZES ===== */
.tube-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tube-size-option label {
    display: block;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
}

.tube-size-option label:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.tube-size-option input:checked + label {
    border-color: #ff6ec7;
    background: rgba(255, 110, 199, 0.15);
    color: #ff6ec7;
}

.tube-size-option label.standard {
    font-weight: 700;
}

.tube-size-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tube-size-option {
    position: relative;
}

/* ===== SPECIAL EFFECTS ===== */
.effects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.effect-option {
    position: relative;
}

.effect-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.effect-option label {
    display: block;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
}

.effect-option label:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.effect-option input:checked + label {
    border-color: #ff6ec7;
    background: rgba(255, 110, 199, 0.15);
    color: #ff6ec7;
}

/* ===== CONDITIONAL SECTIONS ===== */
.conditional {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #ff6ec7;
}

.conditional.visible {
    display: block;
}

.conditional .form-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6ec7, #7873f5);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 110, 199, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #555;
    font-size: 0.85rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    overflow: visible;
}

/* Single image: black + torn edge + paper — no seam */
.footer::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./images/Site Images/footer-bg-transparent.png') bottom center / 100% auto no-repeat;
    pointer-events: none;
    z-index: -1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 15px;
        min-height: 140px;
    }

    #NN-Branding {
        height: 85px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 6px 10px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .neon-selection {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .boom-btn {
        font-size: 1.1rem;
        padding: 22px 35px;
    }

    .floating-cta {
        gap: 10px;
        bottom: 60px;
    }

    .floating-cta .boom-btn {
        font-size: 0.8rem;
        padding: 18px 28px;
    }

    .form-container {
        margin: 15px 10px 40px;
        padding: 25px 20px;
    }

    .radio-group {
        flex-direction: column;
    }

    .brand-grid a {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }
}
