/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #161616;
    --bg-tertiary: #222;
    --accent: #FFD700;
    --accent-hover: #ffea75;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;

    --font-main: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--accent);
}

.mt-4 {
    margin-top: 2rem;
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #000;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    line-height: 1.1;
}

.logo-subtext {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: #e0e0e0;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links li a:not(.btn) {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0.8;
}

.nav-links li a:not(.btn):hover {
    opacity: 1;
    color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_desktop.jpg');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.6) 42%,
        rgba(10, 10, 10, 0.15) 75%,
        rgba(10, 10, 10, 0.35) 100%
    );
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 70px);
}

.hero-content {
    position: relative;
    max-width: 480px;
    text-align: left;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 38px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-size: clamp(0.98rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 28px;
}

.hero-trust {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
}

/* Load Animations */
.hidden-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats {
    padding: 60px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-box .star {
    font-size: 1.5rem;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    flex: 1 1 320px;
    max-width: 360px;
    background-color: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.service-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    position: relative;
    z-index: 2;
    background-color: var(--bg-secondary);
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Accessories Section
   ========================================================================== */
.accessories {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 15%, rgba(255, 215, 0, 0.05) 0%, var(--bg-color) 70%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) {
    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .accessories-grid {
        grid-template-columns: 1fr;
    }
}

.accessory-card {
    background-color: var(--bg-secondary);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.accessory-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.12);
}

.accessory-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.accessory-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accessory-card:hover .accessory-img {
    transform: scale(1.08);
}

.accessory-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--accent);
    border: 1px solid rgba(255, 215, 0, 0.4);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
}

.accessory-body {
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 16px;
    background-color: var(--bg-secondary);
}

.accessory-body h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.accessory-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.accessory-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accessory-features li {
    font-size: 0.85rem;
    color: #cfcfcf;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accessory-features li .icon-check {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.95rem;
}

.accessory-btn {
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.about-content {
    padding: 100px 0;
}

.about-list {
    list-style: none;
}

.about-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 16px;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-list .icon {
    font-size: 1.5rem;
    background-color: var(--bg-tertiary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
}

.info-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-list p {
    color: var(--text-muted);
}

.contact-map {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--bg-color);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    background-color: var(--accent);
    color: #000;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Scroll Animations (JS hooks)
   ========================================================================== */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    /* Mobile specific layout tweaks */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        align-items: flex-end;
        background-image: url('assets/hero_mobile.jpg');
        background-position: center top;
        background-size: cover;
        padding-top: calc(var(--nav-height) + 16px);
        padding-bottom: 24px;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.35) 0%,
            rgba(10, 10, 10, 0.05) 30%,
            rgba(10, 10, 10, 0.25) 55%,
            rgba(10, 10, 10, 0.78) 80%,
            rgba(10, 10, 10, 0.95) 100%
        );
    }

    .hero-wrapper {
        justify-content: center;
        align-items: flex-end;
        padding: 0 16px;
        margin-top: auto;
        margin-bottom: 0;
        width: 100%;
    }

    .hero-content {
        padding: 18px 18px 16px;
        margin: 0 auto;
        width: 100%;
        max-width: 420px;
        text-align: center;
        background: rgba(12, 12, 12, 0.72);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
    }

    .hero-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
        line-height: 1.2;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .hero-subtitle {
        font-size: 0.86rem;
        line-height: 1.4;
        margin-bottom: 14px;
        color: rgba(255, 255, 255, 0.88);
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
        margin-bottom: 12px;
    }

    .hero-buttons .btn {
        flex: 1 1 auto;
        padding: 10px 16px;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .hero-trust {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
        text-align: center;
        opacity: 0.75;
        margin-bottom: 0;
    }

    .services,
    .accessories,
    .contact,
    .about-content {
        padding: 60px 0;
    }

    .stats {
        padding: 40px 0;
    }

    .stats-container {
        gap: 20px;
    }

    .contact-map {
        height: 350px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .page-header {
        padding: 120px 0 60px;
    }
}

@media (orientation: portrait) and (min-width: 769px) and (max-width: 1024px) {
    .hero {
        background-image: url('assets/hero_mobile.jpg');
        background-position: center center;
        background-size: cover;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.6) 0%,
            rgba(10, 10, 10, 0.35) 45%,
            rgba(10, 10, 10, 0.75) 85%,
            rgba(10, 10, 10, 0.95) 100%
        );
    }

    .hero-wrapper {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        text-align: center;
    }
}