@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&display=swap');

:root {
    /* Font Variables */
    --font--heading--uppercase: uppercase;
    --font--section-heading--size: 20px;
    --font--block-heading--size: 16px;
    --font--paragraph--size: 14px;
    --font--accent--size: 12px;
    --font--banner--size: 24px;
    --font--banner--mobile-size: 24px;
    --font--heading--family: "Anonymous Pro", monospace;
    --font--heading--weight: 400;
    --font--accent--family: "Courier New", Courier, monospace;
    --font--paragraph--family: "Anonymous Pro", monospace;
    --font--line-height: 1.2;

    --primary-color: #000000;
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #666666;
    --border-color: #eeeeee;
    --accent-color: #f5f5f5;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font--paragraph--family);
    font-size: var(--font--paragraph--size);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: var(--font--line-height);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand-logo {
    font-family: var(--font--heading--family);
    font-weight: var(--font--heading--weight);
    text-transform: var(--font--heading--uppercase);
}

h1 {
    font-size: var(--font--banner--size);
}

h2 {
    font-size: var(--font--section-heading--size);
}

h3 {
    font-size: var(--font--block-heading--size);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--text-color);
    text-transform: lowercase;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-actions a {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Hero Minimal (Full Width Video/Image) */
.hero-minimal {
    width: 100%;
    height: 85vh;
    background: #000;
    position: relative;
    overflow: hidden;
    margin-bottom: 5rem;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    z-index: 10;
}

.hero-overlay h4 {
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.hero-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 6rem;
}

.product-card {
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.product-image {
    background: #f9f9f9;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Mission Grid (Partial Full Width) */
.mission-section.container {
    max-width: 100%;
    padding: 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 6rem;
}

.mission-content {
    background: #333;
    color: #fff;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-image {
    position: relative;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Testimonials */
.testimonials-minimal {
    padding-top: 4rem;
    margin-bottom: 6rem;
}

.section-title-alt {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 4rem;
    position: relative;
}

.section-title-alt::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: #000;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.testi-card {
    text-align: center;
}

.testi-card i {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.testi-card h4 {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testi-card p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

/* Contact Preview (Full Width Black Card) */
.contact-preview.container {
    max-width: 100%;
    padding: 0;
    margin-bottom: 0;
}

.contact-card-alt {
    background: #1a1a1a;
    color: #fff;
    padding: 8rem 2rem;
    text-align: center;
}

.contact-card-alt h2 {
    font-size: 2.222rem;
    margin: 1.5rem 0;
    letter-spacing: 2px;
}

.contact-card-alt p {
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: #444;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: #000;
}

/* Footer */
footer {
    background: #f7f7f7;
    padding: 6rem 0 3rem;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-links li {
    margin-bottom: 1rem;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #000;
}

/* Search Overlay */
#search-overlay {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Mobile */
@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-content {
        padding: 3rem 2rem;
        order: 2;
    }

    .mission-image {
        order: 1;
        height: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .nav-links,
    .nav-actions {
        display: none !important;
    }

    .header-right-mobile {
        display: block !important;
    }

    .nav-container {
        justify-content: flex-start !important;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    transition: var(--transition);
    padding: 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.side-menu-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-menu-nav a {
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--text-color);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Mobile Nav Bottom Bar */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 0.8rem 0;
    border-top: 1px solid #eee;
    z-index: 1000;
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    .nav-container {
        justify-content: center !important;
    }

    .logo {
        margin: 0 auto;
    }
}

.mobile-nav-item {
    text-decoration: none;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #000;
}