@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-color: #111111;
    --text-color: #EDEDED;
    --accent-color: #D4AF37;
    /* Metallic Gold */
    --secondary-bg: #1A1A1A;
    --border-color: #333;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    /* Thin and Elegant */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    /* Transparent by default */
    border-bottom: 1px solid transparent;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.4s ease, border-color 0.4s ease;
}

nav.scrolled {
    background: rgba(17, 17, 17, 0.95);
    /* Solid black on scroll */
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 300;
    /* Thin font */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
    /* Slightly brighter for better contrast with new colors */
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #ccc;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0.5rem;
    transition: all 0.3s ease;
    background: transparent;
}

.btn:hover {
    background: var(--accent-color);
    color: #000;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Section Common */
section {
    padding: 6rem 2rem;
}

.container {
    max-width: 1400px;
    /* Wider for bento grid */
    margin: 0 auto;
}

/* Section Title Centering Fix */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    /* Thinner line */
    background: var(--accent-color);
    margin: 15px auto 0;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(300px, auto));
    gap: 1.5rem;
}

.bento-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    /* Bento rounded corners */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

/* Grid Spans */
.span-4 {
    grid-column: span 4;
}

.span-6 {
    grid-column: span 6;
}

.span-8 {
    grid-column: span 8;
}

.span-12 {
    grid-column: span 12;
}

/* Bento Content */
.bento-card i {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.bento-card p {
    color: #aaa;
    font-weight: 300;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
}

.footer-section p,
.footer-section ul li a {
    color: #888;
    font-weight: 300;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #444;
    text-align: center;
    font-size: 0.8rem;
}

/* Page Headers */
.page-header {
    height: 50vh;
    /* Slightly shorter for interior pages */
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    /* Remove margin as sections have padding */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header>* {
    z-index: 2;
}

.header-about {
    background-image: url('assets/img104.jpg');
}

.header-products {
    background-image: url('assets/img453.jpg');
}

.header-compliance {
    background-image: url('assets/img470.jpg');
}

.header-contact {
    background-image: url('assets/img7.jpg');
}

/* Mobile Responsive */
@media (max-width: 992px) {

    .span-4,
    .span-6,
    .span-8 {
        grid-column: span 12;
    }
}

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

    .bento-grid {
        display: flex;
        flex-direction: column;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        color: #fff;
    }
}