/* 
* BRS Logistik - Premium Logistics Website
* Theme: Deep Navy & Gold - Professional Edition
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #0a192f;
    --primary-light: #112240;
    --primary-lighter: #233554;
    --accent-color: #c9a227;
    /* Muted Gold for more elegance */
    --accent-glow: rgba(201, 162, 39, 0.2);
    --text-color: #8892b0;
    --heading-color: #e6f1ff;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    --shadow-sm: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    --shadow-lg: 0 20px 30px -15px rgba(2, 12, 27, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    /* More modern, tech-forward font */
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    height: 80px;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    margin-right: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    /* High contrast background */
    padding: 8px 16px;
    border-radius: 4px;
    /* Rounded corners */
    border: 1px solid var(--accent-color);
    /* Gold border for theme consistency */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    /* Subtle glow */
    transition: var(--transition);
}

.logo-link:hover {
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

.logo-img {
    height: 45px;
    /* Adjusted size for padded container */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--heading-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    padding: 12px 28px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--accent-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
    background:
        linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.70) 100%),
        url('https://images.unsplash.com/photo-1495112398151-7eedd7c2e7e8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    background-attachment: fixed;
}

.hero p.subtitle {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p.description {
    max-width: 600px;
    margin-bottom: 50px;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--primary-light);
    padding: 50px 40px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-lighter);
    border-color: rgba(201, 162, 39, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    opacity: 0.8;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    opacity: 1;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--heading-color);
}

.service-card p {
    font-size: 1rem;
    color: var(--text-color);
}

/* Features/About Section */
.about {
    padding: 120px 0;
    background-color: var(--primary-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 40px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    color: var(--heading-color);
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    filter: sepia(30%) hue-rotate(180deg) saturate(80%) contrast(90%);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.about-image:hover img {
    filter: none;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    z-index: 0;
    transition: var(--transition);
}

.about-image:hover::before {
    top: 10px;
    left: 10px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    text-align: center;
}

.contact-box {
    max-width: 700px;
    margin: 0 auto;
}

.contact-box h2 {
    margin-bottom: 30px;
}

.contact-box p {
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.contact-btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 1px;
}

.contact-btn:hover {
    background-color: var(--accent-glow);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background-color: #020c1b;
    color: var(--text-color);
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--heading-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Typewriter/Reveal Animations Helpers */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        padding: 0 20px;
    }

    .logo-img {
        height: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nav-links {
        display: none;
        /* In a real app, implement hamburger menu */
    }

    .about-image::before {
        display: none;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}