/*
 Theme Name: Flatsome Child
 Description: Custom child theme for automotive import website
 Author: Atanas Filipov
 Template: flatsome
 Version: 1.0
*/

/* -------------------------------------------------
   ROOT VARIABLES
------------------------------------------------- */

:root {
    --site-bg: #0f1115;
    --card-bg: #171a21;
    --accent: #d4a017;
    --accent-hover: #f0bc2d;
    --text-main: #ffffff;
    --text-secondary: #b8bcc6;
    --border-color: rgba(255,255,255,0.08);
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* -------------------------------------------------
   GLOBAL
------------------------------------------------- */

body {
    background: var(--site-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.03em;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    transition: all .25s ease;
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* -------------------------------------------------
   HERO SECTION
------------------------------------------------- */

.hero-dark {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,.35));
    z-index: 1;
}

.hero-dark .banner-layers {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 620px;
    color: rgba(255,255,255,.82);
}

/* -------------------------------------------------
   BUTTONS
------------------------------------------------- */

.button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
    border-radius: 999px;
    font-weight: 700;
    padding-left: 28px;
    padding-right: 28px;
    box-shadow: var(--shadow);
}

.button.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.button.secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 999px;
}

.button.secondary:hover {
    background: rgba(255,255,255,.08);
}

/* -------------------------------------------------
   CARDS
------------------------------------------------- */

.card-modern,
.box.has-hover {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s ease;
}

.card-modern:hover,
.box.has-hover:hover {
    transform: translateY(-6px);
    border-color: rgba(212,160,23,.35);
}

/* -------------------------------------------------
   HEADER
------------------------------------------------- */

.header-wrapper {
    background: rgba(10,10,10,.85);
    backdrop-filter: blur(12px);
}

.nav > li > a {
    color: rgba(255,255,255,.88);
    font-weight: 600;
}

.nav > li > a:hover {
    color: var(--accent);
}

/* -------------------------------------------------
   FOOTER
------------------------------------------------- */

.footer-wrapper {
    background: #0b0d11;
    border-top: 1px solid rgba(255,255,255,.06);
}

.absolute-footer {
    background: #090b0f;
    color: rgba(255,255,255,.5);
}

/* -------------------------------------------------
   MOBILE
------------------------------------------------- */

@media (max-width: 849px) {

    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

}
