:root {
    --bg-dark: #1e1e20;
    --bg-card: #29292c;
    --bg-card-hover: #323236;
    --hd-orange: #ff6600;
    --hd-orange-hover: #e05a00;
    --text-light: #f4f4f6;
    --text-muted: #b0b0b8;
    --border-steel: #3f3f46;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, .brand-logo {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: var(--hd-orange);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ff8533;
}

/* Header & Navigation */
header {
    background-color: #161618;
    border-bottom: 3px solid var(--hd-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-badge {
    background-color: var(--hd-orange);
    color: #161618;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 1.4rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--hd-orange);
}

/* Hero Section med diffus bakgrundsbild */
.hero {
    position: relative;
    padding: 6.5rem 2rem;
    border-bottom: 1px solid var(--border-steel);
    background-color: #1e1e20;
    background-image: 
        linear-gradient(90deg, rgba(28, 28, 30, 0.94) 0%, rgba(28, 28, 30, 0.78) 55%, rgba(28, 28, 30, 0.55) 100%),
        url('../images/sportglide.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 680px;
}

.hero-tag {
    display: inline-block;
    border-left: 4px solid var(--hd-orange);
    padding-left: 10px;
    color: var(--hd-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--hd-orange);
}

.hero p {
    font-size: 1.15rem;
    color: #d4d4dc;
    margin-bottom: 2.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--hd-orange);
    color: #161618;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--hd-orange-hover);
    color: #161618;
}

.btn-secondary {
    border: 2px solid var(--border-steel);
    background-color: rgba(30, 30, 32, 0.6);
    color: var(--text-light);
    padding: 0.85rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--hd-orange);
    color: var(--hd-orange);
}

/* Sections General */
section {
    padding: 4.5rem 2rem;
    scroll-margin-top: 75px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
    border-left: 5px solid var(--hd-orange);
    padding-left: 1.2rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Grid Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-radius: 6px;
    padding: 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--hd-orange);
    background-color: var(--bg-card-hover);
}

.card-icon {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hd-orange);
    margin-bottom: 0.8rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #1e1e20;
    border: 1px solid var(--border-steel);
    color: var(--text-light);
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 3px;
}

/* Products & Links Section */
.products-bg {
    background-color: #232326;
    border-top: 1px solid var(--border-steel);
    border-bottom: 1px solid var(--border-steel);
}

.external-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.external-link::after {
    content: " →";
    margin-left: 6px;
    transition: margin-left 0.2s ease;
}

.external-link:hover::after {
    margin-left: 10px;
}

/* Contact Section */
.contact-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-left: 4px solid var(--hd-orange);
    border-radius: 6px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info {
    max-width: 580px;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    background-color: #1e1e20;
    border: 1px solid var(--border-steel);
    padding: 1.5rem 2rem;
    border-radius: 6px;
}

.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.contact-mail {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background-color: #161618;
    padding: 3.5rem 2rem 2rem;
    border-top: 3px solid var(--hd-orange);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-col p, .footer-col li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    list-style: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-steel);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 850px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    nav ul {
        display: none;
    }
}
