/* 
   VIKING CAR PDR - PROFESSIONAL THEME
   Style: "Ses-Fliz" Inspired (Dark, Structured, Red Accents)
*/

:root {
    --primary-red: #d32f2f;
    /* Darker, richer red */
    --primary-red-hover: #b71c1c;
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-section: #181818;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #333;

    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Components --- */

.section {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--dark-section);
}

.section-badge {
    display: inline-block;
    background: rgba(211, 47, 47, 0.1);
    color: var(--primary-red);
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-left: 2px solid var(--primary-red);
}

.divider-red {
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin: 20px 0 30px 0;
}

.divider-red.center {
    margin: 20px auto 30px auto;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-head);
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 2px;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}



/* --- Navbar --- */
.navbar {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.sub-brand {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #ddd;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
    transform: translateY(-2px);
    display: inline-block;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px;
    transition: all 0.3s ease;
}

.btn-cta {
    border: 1px solid var(--primary-red);
    color: var(--primary-red) !important;
    padding: 8px 20px;
    border-radius: 2px;
}

.btn-cta:hover {
    background: var(--primary-red);
    color: white !important;
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px;
    /* Space for trust bar */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero.webp') no-repeat center center/cover;
    filter: brightness(0.4);
    /* Darkened for readability */
    z-index: -1;
}

.hero-content {
    z-index: 1;
}

.hero-text {
    max-width: 800px;
}

.tagline {
    display: block;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Trust Bar */
.trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #333;
    padding: 25px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.trust-item .number {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--primary-red);
    font-weight: 700;
}

.trust-item .label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #aaa;
    line-height: 1.2;
}

/* --- About --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #ddd;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary-red);
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.exp-badge span {
    display: block;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
}

.exp-badge small {
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* --- Services --- */
.section-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-center h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-card);
    padding: 40px 30px;
    border-top: 3px solid transparent;
    transition: 0.3s;
    box-shadow: var(--shadow-card);
}

.service-card:hover {
    border-top-color: var(--primary-red);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.link-arrow {
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* --- Process Timeline --- */
.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333 10%, #333 90%, transparent);
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
    transition: transform 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.step-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 15px;
        background: var(--dark-card);
        border-left: 3px solid var(--primary-red);
    }

    .step-number {
        font-size: 2rem;
        margin-bottom: 0;
        min-width: 60px;
    }

    .step-number::after {
        display: none;
    }
}

/* --- Gallery --- */


.gallery-wrapper {
    background: #000;
    padding: 15px;
    border: 1px solid #333;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #111;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.4s ease;
}

.gallery-img.fade {
    opacity: 0;
}

.toggle-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid #444;
    overflow: hidden;
}

.toggle-btn {
    padding: 12px 30px;
    background: transparent;
    border: none;
    color: #888;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn:hover {
    color: white;
}

.toggle-btn.active {
    background: var(--primary-red);
    color: white;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.nav-btn {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-btn:hover {
    border-color: white;
    color: white;
}

.gallery-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: var(--primary-red);
    transform: scale(1.2);
}



/* --- Reviews --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-box {
    background: var(--dark-card);
    padding: 30px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.review-box:hover {
    border-bottom-color: var(--primary-red);
}

.stars {
    color: #fbc02d;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-box p {
    font-style: italic;
    color: #ccc;
    margin-bottom: 25px;
    min-height: 80px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.reviewer strong {
    display: block;
    font-size: 0.95rem;
}

.reviewer span {
    font-size: 0.8rem;
    color: #666;
}

/* --- Footer --- */
footer {
    background: #0a0a0a;
    border-top: 1px solid #222;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 80px 20px;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-col p {
    color: #888;
    font-size: 0.95rem;
}

.contact-list li {
    margin-bottom: 15px;
    color: #aaa;
    display: flex;
    gap: 10px;
}

.contact-list a {
    color: white;
}

.contact-list a:hover {
    color: var(--primary-red);
}

.map-wrapper {
    overflow: hidden;
    border: 1px solid #333;
}

.map-wrapper iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(0.9);
}

.footer-bar {
    background: black;
    padding: 20px 0;
    text-align: center;
    color: #444;
    font-size: 0.85rem;
}




.footer-col .social-links {
    margin-top: 20px;
}

.footer-col .social-links a {
    display: inline-block;
    background: var(--dark-card);
    border: 1px solid #333;
    padding: 10px 25px;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: var(--font-head);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 2px;
    text-align: center;
}

.footer-col .social-links a::before {
    content: 'f';
    display: inline-block;
    margin-right: 10px;
    font-weight: 700;
    color: var(--primary-red);
}

.footer-col .social-links a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.footer-col .social-links a:hover::before {
    color: white;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Mobile */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-desc {
        text-align: left;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--dark-card);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60vw;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
        padding-top: 100px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        opacity: 0;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
        position: relative;
        z-index: 1001;
    }

    /* Burger Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    /* Reduce nav height */
    .navbar {
        padding: 12px 0;
    }

    .logo img {
        height: 85px;
    }

    .brand {
        font-size: 1.9rem;
    }

    .sub-brand {
        font-size: 0.9rem;
    }

    /* Hide nav simplified */

    .hero {
        height: auto;
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 100px;
        position: relative;
        /* Ensure stacking context */
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        background: linear-gradient(to bottom, transparent, var(--dark-bg));
        pointer-events: none;
    }

    .trust-bar {
        display: none;
    }


}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active,
.dot:hover {
    background: var(--primary-red);
    transform: scale(1.2);
}