:root {
    --color-dark: #0a0a0a;
    --color-charcoal: #1a1a1a;
    --color-slate: #2a2a2a;
    --color-warm: #e63946;
    --color-gold: #c1121f;
    --color-light: #f8f6f2;
    --color-cream: #e8e4dd;
    --font-display: 'Lato', sans-serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: var(--color-dark);
    color: var(--color-light);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 4rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-warm);
    letter-spacing: 0.5px;
}

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

.nav-links a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-warm);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.contact-info {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
}

.contact-info a {
    color: var(--color-warm);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-color: #0a0a0a;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

/* Page Hero (for interior pages) */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    margin-top: 80px;
}

.page-hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    max-width: 1000px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(212, 165, 116, 0.03) 2px, rgba(212, 165, 116, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(212, 165, 116, 0.03) 2px, rgba(212, 165, 116, 0.03) 4px);
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 3rem 4rem;
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-warm);
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    padding: 0.2em 0;
}

.hero-title span {
    display: block;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-warm) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-cream);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--color-warm);
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-gold);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Services Section */
.services {
    padding: 8rem 4rem;
    background: var(--color-charcoal);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-warm);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--color-light);
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-card {
    flex: 0 1 calc(33.333% - 1.34rem);
    min-width: 280px;
    background: rgba(42, 42, 42, 0.5);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(212, 165, 116, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-warm) 0%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-10px);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 2rem;
    display: block;
    color: var(--color-warm);
    transition: all 0.4s ease;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-warm);
}

.service-card:hover .service-icon {
    transform: translateY(-5px);
    color: var(--color-gold);
}

.service-card:hover .service-icon svg {
    stroke: var(--color-gold);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-light);
}

.service-description {
    line-height: 1.7;
    color: var(--color-cream);
    font-size: 0.95rem;
}

/* Brands Section */
.brands {
    padding: 8rem 4rem;
    background: var(--color-dark);
}

.brands-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(212, 165, 116, 0.1);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-warm) 0%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.brand-card:hover {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-10px);
}

.brand-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.brand-logo img {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.8);
    transition: all 0.4s ease;
}

.brand-card:hover .brand-logo img {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-light);
    text-align: center;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.brand-card:hover .brand-name {
    color: var(--color-warm);
}

/* About Section */
.about {
    padding: 8rem 4rem;
    background: var(--color-charcoal);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--color-light);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-cream);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-warm);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-cream);
}

/* Contact Section */
.contact {
    padding: 8rem 4rem;
    background: var(--color-dark);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--color-light);
}

.contact-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-cream);
    margin-bottom: 3rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    padding: 2.5rem 2rem;
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(212, 165, 116, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(42, 42, 42, 0.8);
    border-color: rgba(212, 165, 116, 0.3);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--color-warm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-warm);
}

.contact-method h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-light);
}

.contact-method a {
    color: var(--color-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--color-warm);
}

/* Footer */
footer {
    background: var(--color-charcoal);
    padding: 4rem 4rem 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-warm);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-cream);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-light);
}

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

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

.footer-section a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-warm);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 165, 116, 0.1);
    color: var(--color-cream);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 2rem;
    }

    .nav-links {
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

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

    .services,
    .brands,
    .about,
    .contact {
        padding: 4rem 2rem;
    }

    .services-grid {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
        min-width: unset;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

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

/* System Diagram Section */
.system-diagram {
    padding: 6rem 2rem;
    background: var(--color-charcoal);
}

.diagram-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-dark);
    border-radius: 12px;
}

/* Logo Image */
.logo-image {
    height: 72px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 64px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-charcoal);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 4px;
    min-width: 220px;
    padding: 0.5rem 0;
    z-index: 1000;
    margin-top: 0;
}

/* Bridge the gap between toggle and menu so hover doesn't break */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-light);
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-warm);
}

/* Suppliers Section */
.suppliers-section {
    padding: 5rem 2rem;
    background: var(--color-dark);
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.supplier-card {
    background: var(--color-charcoal);
    border: 2px solid rgba(230, 57, 70, 0.2);
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.supplier-card:hover {
    border-color: var(--color-warm);
}

.supplier-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.supplier-logo-img {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.supplier-desc {
    font-size: 0.9rem;
    color: var(--color-cream);
    line-height: 1.7;
    opacity: 0.85;
}

/* Value Proposition Section */
.value-prop-section {
    padding: 5rem 2rem;
    background: var(--color-charcoal);
}

.value-prop-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.value-prop-text h2 {
    font-size: 2rem;
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.value-prop-text p {
    color: var(--color-cream);
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.value-prop-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-point {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.value-point-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-point-icon svg {
    stroke: var(--color-warm);
}

.value-point h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 0.25rem;
}

.value-point p {
    font-size: 0.875rem;
    color: var(--color-cream);
    opacity: 0.8;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .suppliers-grid,
    .value-prop-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
