/* style.css */
:root {
    /* Premium Monochrome Palette (#000000 B&W) */
    --primary: #000000; 
    --primary-hover: #262626;
    --secondary: #FFFFFF;
    --accent: #FFFFFF;
    
    --bg-main: #0a0a0a; /* Premium Slate Black */
    --bg-alt: #111111;
    --bg-dark: #000000;
    --dark-surface: #171717;
    
    --text-main: #FFFFFF;
    --text-muted: #A3A3A3;
    --text-light: #FFFFFF;
    --border-color: #262626;
    
    /* Variables */
    --border-radius: 4px; /* Sharper corners for B&W premium look */
    --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Entrance Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-2 { margin-bottom: 1rem; }
.mt-4 { margin-top: 2rem; }
.text-white { color: var(--text-light); }
.text-light-opacity { color: rgba(255,255,255,0.7); }

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.col-half {
    flex: 1;
    min-width: 300px;
}

/* Section Defaults */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-alt);
    color: var(--text-main);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Subsection Typography */
.subsection-title {
    font-size: 1.75rem;
    margin: 3rem 0 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.mb-5 { margin-bottom: 4rem; }
.text-left { text-align: left; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.section-desc {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.btn-primary:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/* Header */
/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: -100%; /* Start from left */
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    z-index: 999;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    left: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative; /* For absolute centering on mobile */
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Solid White for Black Header */
    transition: var(--transition);
}

.footer-logo img {
    filter: brightness(0) invert(1) !important; /* Force White */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
    opacity: 0.8;
}

.nav-links a:not(.btn):hover {
    opacity: 1;
}

.nav-links a:hover {
    color: #FFFFFF;
    opacity: 1;
}

.nav-btn:hover {
    background: #FFFFFF !important;
    color: #000000 !important;
    opacity: 1 !important;
}

/* Mobile Nav */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 24px;
    justify-content: center;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: 0.3s ease-in-out;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #000000;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    z-index: 999;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a.mobile-link {
    font-size: 1.25rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #262626;
    padding-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%), 
                url('../img/hero-collage.webp');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding-top: 80px;
}

/* Collage Background Setup */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--dark-bg) 0%, transparent 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #aeb5be);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-trust {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Features section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mb-4 {
    margin-bottom: 3rem;
}

/* Video Container for responsive objects */
.video-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: transparent;
    overflow: hidden;
    line-height: 0; /* Remove potential bottom gap */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.video-container iframe,
.video-container object,
.video-container embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.feature-card {
    background: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--text-main);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05); /* Subtle white on dark */
    color: #FFFFFF;
    border-radius: 4px; /* Sharper to match rebranding */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover .feature-icon {
    background: #FFFFFF;
    color: #000000;
    transform: translateY(-5px);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.product-card {
    background: var(--bg-main);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

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

/* Stylized CSS patterns for product placeholders */
.bg-pattern-1 {
    background: linear-gradient(135deg, #1b2838 25%, transparent 25%) -50px 0,
                linear-gradient(225deg, #1b2838 25%, transparent 25%) -50px 0,
                linear-gradient(315deg, #1b2838 25%, transparent 25%),
                linear-gradient(45deg, #1b2838 25%, transparent 25%);
    background-size: 20px 20px;
    background-color: #2a3d55;
}

.bg-pattern-2 {
    background: repeating-linear-gradient(
        45deg,
        #444,
        #444 10px,
        #333 10px,
        #333 20px
    );
}

.bg-pattern-3 {
    background-image: radial-gradient(circle at center, #666 2px, transparent 2px);
    background-size: 15px 15px;
    background-color: #222;
}

.bg-pattern-4 {
    background: repeating-linear-gradient(90deg, #1b3a57, #1b3a57 40px, #cf4545 40px, #cf4545 45px);
}

.bg-pattern-5 {
    background: repeating-radial-gradient(circle at 0 0, transparent 0, #2a3b2a 10px), repeating-linear-gradient(#354835, #354835);
}

.bg-pattern-6 {
    background-image: 
      linear-gradient(30deg, #0f62fe 12%, transparent 12.5%, transparent 87%, #0f62fe 87.5%, #0f62fe),
      linear-gradient(150deg, #0f62fe 12%, transparent 12.5%, transparent 87%, #0f62fe 87.5%, #0f62fe),
      linear-gradient(30deg, #0f62fe 12%, transparent 12.5%, transparent 87%, #0f62fe 87.5%, #0f62fe),
      linear-gradient(150deg, #0f62fe 12%, transparent 12.5%, transparent 87%, #0f62fe 87.5%, #0f62fe),
      linear-gradient(60deg, #121212 25%, transparent 25.5%, transparent 75%, #121212 75%, #121212),
      linear-gradient(60deg, #121212 25%, transparent 25.5%, transparent 75%, #121212 75%, #121212);
    background-size: 20px 35px;
    background-position: 0 0, 0 0, 10px 17.5px, 10px 17.5px, 0 0, 10px 17.5px;
    background-color: #121212;
}


.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-info {
    padding: 2rem;
}

.product-series {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 250px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--dark-surface);
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: var(--shadow-hover);
}

.display-1 { grid-column: span 2; }
.display-2 { grid-column: span 1; }
.display-3 { grid-column: span 1; }
.display-4 { grid-column: span 1; }
.display-5 { grid-column: span 2; }
.display-6 { grid-column: span 1; }
.display-7 { grid-column: span 1; }
.display-8 { grid-column: span 1; }
.display-9 { grid-column: span 2; }
.display-10 { grid-column: span 1; }
.display-11 { grid-column: span 2; }
.display-12 { grid-column: span 1; }

/* Contact Form */


/* Contact Form */
.contact-info-box {
    padding-right: 3rem;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-list li {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-list .icon {
    font-size: 1.25rem;
    margin-right: 1.25rem;
    background: rgba(255, 255, 255, 0.05); /* Stealth dark circle */
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    flex-shrink: 0; /* Prevent icon from squishing */
}

.contact-list li:hover .icon {
    background: #FFFFFF;
    color: #000000; /* Contrast on white hover background */
}

.contact-list .contact-detail {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0; /* Allow text to wrap instead of pushing */
}

.contact-list strong {
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.contact-list a, .contact-list span {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
    font-weight: 500;
}

.contact-list a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "text text"
        "methods form";
    gap: 4rem;
    align-items: flex-start;
}

.contact-info-text {
    grid-area: text;
    margin-bottom: 3.5rem;
    text-align: center;
}

.contact-info-text .section-title {
    text-align: center !important;
}

.contact-info-text .section-desc {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods-area {
    grid-area: methods;
}

.contact-form-area {
    grid-area: form;
}

.form-card {
    background: var(--dark-surface);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 4px;
    color: #FFFFFF;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFFFFF;
    background: #050505;
}

.form-group select option {
    background: #000;
    color: #fff;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9375rem;
    text-align: center;
    border-radius: 4px;
    padding: 0.75rem;
    display: none;
}

.status-success {
    background-color: #121212;
    color: #4ade80;
    border: 1px solid #166534;
    display: block;
}

.status-error {
    background-color: #121212;
    color: #f87171;
    border: 1px solid #991b1b;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid #333;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

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


@media (max-width: 900px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .contact-info-text {
        margin-bottom: 0;
    }

    .contact-info-text, .contact-methods-area, .contact-form-area {
        grid-area: auto;
    }
    .gallery-grid {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .row {
        display: block; /* Safer stacking for mobile alignment */
        width: 100%;
        gap: 0;
    }



    .form-card {
        padding: 1.25rem; /* Unified with container padding */
        margin-bottom: 3.5rem; /* Better vertical breathing room */
    }
    .container {
        padding: 0 1.25rem;
    }
    
    /* Persistent Header Actions on Mobile Right */
    .header-actions {
        display: flex;
        order: 1; /* Stay on right */
        margin-left: auto; /* Push CTA to far right */
    }

    .header-actions .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .mobile-menu-btn {
        display: flex;
        order: -1; /* Move to left */
        width: 40px; /* Consistent area */
    }
    
    .logo {
        position: relative;
        left: 0;
        transform: none;
        z-index: 10;
        margin-left: 0.5rem; /* Cling to menu button */
    }

    .nav-links {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .col-half {
        flex: 100%;
    }
    
    .contact-info-box {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    
    /* Reduce concentrated spacing */
    .section {
        padding: 4rem 0;
    }
    
    .feature-card, .product-card {
        margin-bottom: 1rem;
    }

    /* Mobile Animations */
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}
