/* --- Design Tokens & Variables --- */
:root {
    --accent: #ff4500; 
    --accent-hover: #e03d00;
    --glass: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --dropdown-bg: #161616;
    --card-bg: rgba(255, 255, 255, 0.03);
}

/* --- Base Reset & Top-Aligned Layout --- */
body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at center, #1c1c1c 0%, #0a0a0a 100%);
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    padding: 6rem 2rem 0 2rem; 
    box-sizing: border-box;
    overflow-y: auto; /* Forces browser viewport to track vertical layout overflow */
}

*, *::before, *::after {
    box-sizing: border-box; /* Resolves sizing computation layout conflicts */
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto; /* Centers content block perfectly without forcing global body flexbox */
    text-align: center;
}

/* --- Sticky Top Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem; /* Reduced padding for better horizontal screen real estate */
    z-index: 100;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* FIX: Forces the items to wrap to a new line instead of overflowing */
    width: 100%;
}

/* Stripped out the overflow-x hacks and webkit scrollbar hides entirely */

/* Strips ugly layout scroll tracks for Chrome, Safari, and Opera browsers */
.nav-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.nav-item {
    position: relative;
}

.dropdown-trigger, .nav-link {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.dropdown-trigger:hover, .nav-link:hover {
    background: var(--glass);
    color: #ffffff;
}

.dropdown-trigger .arrow {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

/* Active Page Highlight */
.nav-link.active-link {
    color: var(--accent);
    background: rgba(255, 69, 0, 0.08);
}

/* --- Pure CSS Dropdown Mechanics --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--dropdown-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem 0;
    list-style: none;
    min-width: 240px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown-menu li a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 69, 0, 0.15);
    color: var(--accent);
}

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

.dropdown:hover .dropdown-trigger .arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

/* --- Header Elements --- */
header {
    margin-top: 2rem;       
    margin-bottom: 3rem;      
}

h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 800;
    margin-top: 0;            
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 40px rgba(255, 69, 0, 0.2);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.6;
    margin: 0;
    letter-spacing: 0.5px;
}

/* --- Hero Slideshow Container --- */
.slideshow-container {
    max-width: 100%;
    height: 480px; 
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.1) 0%, rgba(0, 0, 0, 0) 65%), rgba(255,255,255,0.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    margin-bottom: 4rem;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active { opacity: 1; }

.slide img {
    max-width: 100%;
    max-height: 80%; 
    width: auto;
    height: auto;
    object-fit: contain; 
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.85)); 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slideshow-container:hover .slide.active img {
    transform: scale(1.05);
}

/* --- Slideshow Control Buttons --- */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid var(--border);
    font-size: 1.25rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn { left: 2rem; }
.next-btn { right: 2rem; }

.prev-btn:hover, .next-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

/* --- Brand Value Perks Section --- */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.perk-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
}

.perk-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.perk-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.perk-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #999999;
    line-height: 1.5;
}

/* --- Product Layout Lineup --- */
.lineup-section {
    margin-bottom: 6rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    color: #888888;
    margin: 0 0 4rem 0;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 69, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-img-wrapper {
    background: radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.08) 0%, rgba(0, 0, 0, 0) 65%), rgba(255,255,255,0.01);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
}

/* Heat Level Indicator Badges */
.heat-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    display: inline-block;
}
.heat-badge.mild { background: rgba(52, 199, 89, 0.15); color: #34c759; }
.heat-badge.medium { background: rgba(255, 149, 0, 0.15); color: #ff9500; }
.heat-badge.hot { background: rgba(255, 69, 0, 0.15); color: #ff4500; }
.heat-badge.extreme { background: rgba(255, 0, 0, 0.2); color: #ff3b30; animation: pulse 2s infinite; }

.product-info h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-info p {
    margin: 0 0 2rem 0;
    color: #999999;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Interactive Buttons */
.btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #ff4500 !important; /* Hardcoded fallback override to prevent white fallback glitches */
    background: var(--accent) !important;
    color: #ffffff !important;
    text-decoration: none;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover {
    background: #e03d00 !important; 
    background: var(--accent-hover) !important;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.btn.secondary {
    background: transparent !important;
    border: 1px solid var(--border);
    color: #ffffff !important;
    width: auto;
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: #ffffff;
    box-shadow: none;
}

/* --- Brand Story Section --- */
.story-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), radial-gradient(circle at center, rgba(255, 69, 0, 0.08) 0%, rgba(10,10,10,0) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 5rem 3rem;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
}

.story-content {
    max-width: 700px;
}

.story-content h2 {
    font-size: 2.25rem;
    margin: 0 0 1.5rem 0;
}

.story-content p {
    color: #bbbbbb;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 2.5rem 0;
}

/* --- Contact Page Structural Layouts --- */
.contact-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 6rem;
}

.contact-form-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    max-width: 700px;
    width: 100%;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaaaaa;
    letter-spacing: 0.5px;
}

/* Glassmorphic inputs */
.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Custom dropdown menu configurations for select options */
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path fill='%23888888' d='M0 3.5l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

.form-group select option {
    background-color: var(--dropdown-bg);
    color: #ffffff;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 69, 0, 0.5);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.1);
}

/* Input Placeholder State Colors */
::placeholder {
    color: #555555;
    opacity: 1;
}

/* Form Submission State Feedback Messages */
.form-feedback-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
    display: none;
}
.form-feedback-message.processing {
    background: rgba(255, 255, 255, 0.05);
    color: #aaaaaa;
    border: 1px solid var(--border);
}
.form-feedback-message.success {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

/* --- Premium Modal Architecture --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: #141414;
    border: 1px solid var(--border);
    max-width: 800px;
    width: 100%;
    border-radius: 28px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
    transform: scale(0.92) translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.open .modal-window {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #ffffff;
    font-size: 1.75rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
    transition: all 0.2s ease;
}
.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 450px;
}

.modal-image-panel {
    background: radial-gradient(circle at center, rgba(255, 69, 0, 0.12) 0%, rgba(0, 0, 0, 0) 70%), #0e0e0e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border-right: 1px solid var(--border);
}

.modal-image-panel img {
    max-height: 380px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.8));
}

.modal-info-panel {
    padding: 3.5rem 3rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
}

.modal-info-panel h2 {
    font-size: 2.25rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: 800;
}

.modal-info-panel p {
    color: #aaaaaa;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0 0 2.5rem 0;
}

.modal-actions {
    width: 100%;
}

/* --- Footer --- */
.main-footer {
    border-top: 1px solid var(--border);
    width: 100%;
    padding: 2.5rem 0;
    color: #555555;
    font-size: 0.9rem;
}

/* --- Keyframe Animations --- */
@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 10px rgba(255, 59, 48, 0.3); }
    100% { opacity: 0.8; }
}

/* --- Responsive Configurations --- */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 2rem;
    }
    .modal-body {
        grid-template-columns: 1fr;
    }
    .modal-image-panel {
        height: 240px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
    }
    .modal-image-panel img {
        max-height: 200px;
    }
    .modal-info-panel {
        padding: 2rem 1.5rem;
    }
    .modal-info-panel h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 600px) {
    body {
        padding: 5rem 1rem 0 1rem; 
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    header {
        margin-bottom: 2rem;
    }
    
    .slideshow-container {
        height: 320px; 
        margin-bottom: 2rem;
    }

    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .prev-btn { left: 0.75rem; }
    .next-btn { right: 0.75rem; }

    .lineup-section, .perks-grid, .story-section, .contact-wrapper {
        margin-bottom: 4rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .story-section, .contact-form-container {
        padding: 3rem 1.5rem;
    }
    
    .modal-overlay {
        padding: 1rem;
    }
}