:root {
    --carbon: #21201e;
    --glow: #f4febe;
    --sky-blue: #bee8fe;
    --stonewood: #8d8079;
    --modern-sage: #9a9e92;
    --soft-terracotta: #f5cba3;

    --primary-color: var(--glow);
    --accent-color: var(--sky-blue);
    --bg-dark: var(--carbon);
    --bg-light: #2a2927;
    /* Slightly lighter carbon */
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Abril Fatface', serif;
    font-weight: 400;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    /* Approximating 200pt tracking */
}

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

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: #000000 !important;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    display: inline-block;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 254, 190, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid white;
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--bg-dark);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/BAM_Banner_Company.jpg') no-repeat center center/cover;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(33, 32, 30, 0.8), rgba(33, 32, 30, 0.4));
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    color: white;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.highlight {
    color: var(--primary-color);
}

.hero-btns .btn-primary {
    margin-right: 1rem;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Why Us & About */
.flex-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.flex-layout.reverse {
    flex-direction: row-reverse;
}

.why-image,
.about-image {
    flex: 1;
}

.why-image img,
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-content,
.about-content {
    flex: 1;
}

.why-content h2,
.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.why-item {
    margin-bottom: 1.5rem;
}

.why-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--text-gray);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

/* Contact */
#contact {
    background: var(--bg-light);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.contact-card h2 {
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 2rem;
    color: var(--text-gray);
}

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

input,
textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid var(--glass-border);
    background: var(--bg-light);
    color: white;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 40px;
}

.footer-brand h3 {
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-brand p {
    color: var(--text-gray);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

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

    .flex-layout,
    .flex-layout.reverse {
        flex-direction: column;
        text-align: center;
    }

    #hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: white;
        transition: var(--transition);
    }
}