/* ============================================================
   ROYAL ENFIELD DEALERSHIP – PREMIUM THEME
   Dark + Gold (#C5A059) design system
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --gold: #C5A059;
    --gold-light: #d4b574;
    --gold-dark: #a6853d;
    --dark-bg: #0e0e0e;
    --darker-bg: #080808;
    --card-bg: #161616;
    --text-white: #f0f0f0;
    --text-muted: #999;
    --border-subtle: rgba(197, 160, 89, 0.15);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Oswald', 'Poppins', sans-serif;
    --font-body: 'Poppins', 'PT Sans', system-ui, sans-serif;
}

/* ---------- GLOBAL RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--text-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

::selection {
    background: var(--gold);
    color: #000;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
}

.large-heading {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    letter-spacing: 1px;
    line-height: 1.15;
    color: var(--text-white);
}

.large-heading span {
    color: var(--gold);
    display: block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* ---------- CUSTOM BUTTONS ---------- */
.btn-re-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    border: none;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-re-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left .5s;
}

.btn-re-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.35);
    color: #000;
}

.btn-re-gold:hover::after {
    left: 100%;
}

.btn-primary {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #000 !important;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gold-light) !important;
    border-color: var(--gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.btn-accent {
    background: transparent !important;
    border: 2px solid var(--gold) !important;
    color: var(--gold) !important;
    margin-left: 12px;
}

.btn-accent:hover {
    background: var(--gold) !important;
    color: #000 !important;
}

/* ---------- WRAPPER ---------- */
.wrapper {
    overflow: hidden;
}

.main-container {
    position: relative;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.main-header.sticky {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-subtle);
}

.logo img {
    max-height: 60px;
    display: block;
    transition: var(--transition);
}

.main-header.sticky .logo img {
    max-height: 45px;
}

/* Navigation */
.site-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-menu li a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    position: relative;
    transition: var(--transition);
}

.main-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-menu li a:hover {
    color: var(--gold);
}

.main-menu li a:hover::after {
    width: 60%;
}

.header-social-media {
    list-style: none;
    margin: 0 0 0 24px;
    padding: 0;
    display: flex;
    gap: 12px;
}

.header-social-media li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

.header-social-media li a:hover {
    color: var(--gold);
    transform: scale(1.2);
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    float: right;
    margin-top: 15px;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-icon .top {
    top: 0;
}

.menu-icon .middle {
    top: 10px;
}

.menu-icon .bottom {
    top: 20px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 100vh;
}

.hero-section::before,
.section-background::before {
    content: none !important;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg .slide {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.65) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 140px 0 80px;
}

.banner-left {
    padding-right: 2rem;
}

/* ---------- HERO FORM (Glassmorphism) ---------- */
.hero-form-container {
    background: rgba(15, 15, 15, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(197, 160, 89, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 100%;
    animation: formFadeIn 0.8s ease-out;
}

@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-form-container .heading-wrapper {
    margin-bottom: 20px;
}

.hero-form-container .large-heading {
    color: var(--text-white) !important;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.hero-form-container .large-heading span {
    color: var(--gold);
    font-size: 0.7rem;
}

.hero-form-container form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-form-container input,
.hero-form-container select {
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-body);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    transition: var(--transition);
}

.hero-form-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.hero-form-container input:focus,
.hero-form-container select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.hero-form-container select option {
    background: #1a1a1a;
    color: #fff;
}

.hero-form-container button {
    padding: 14px;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-form-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(197, 160, 89, 0.4);
}

/* ============================================================
   ABOUT / DESIGN SECTION
   ============================================================ */
.design-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.design-section .img-wrapper {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.design-section .img-wrapper img {
    width: 100%;
    transition: transform 0.6s ease;
}

.design-section .img-wrapper:hover img {
    transform: scale(1.05);
}

.design-section .heading-wrapper {
    margin-bottom: 20px;
}

.design-section .text-block p,
.text-lead p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.btn-wrapper {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-wrapper .has-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.feature-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.black-bg {
    background: var(--dark-bg);
}

.light-text,
.light-text h2,
.light-text h4,
.light-text p {
    color: var(--text-white);
}

.light-text p {
    color: var(--text-muted);
}

.features-box {
    padding: 28px 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.features-box:hover {
    background: rgba(197, 160, 89, 0.06);
    border-color: var(--border-subtle);
    transform: translateY(-5px);
}

.feature-ico {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.features-box:hover .feature-ico {
    background: rgba(197, 160, 89, 0.2);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.2);
}

.feature-ico img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(0.7) sepia(1) saturate(3) hue-rotate(15deg);
}

.features-box h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.features-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Center motorcycle image */
.features-middle-img {
    text-align: center;
    padding: 20px;
}

.features-middle-img img {
    max-height: 380px;
    width: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Circle animation behind bike */
.circle-animation {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: circleRotate 15s linear infinite;
}

@keyframes circleRotate {
    from {
        transform: translate(-50%, -50%) rotate(0);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ============================================================
   MODELS SECTION
   ============================================================ */
#re-models {
    padding: 80px 0;
    background: var(--darker-bg);
}

#re-models h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
}

#re-models h2 span {
    color: var(--gold);
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

#re-models .model-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px 18px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#re-models .model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(197, 160, 89, 0.12);
    border-color: var(--border-subtle);
}

#re-models img {
    height: 160px;
    object-fit: contain;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
}

#re-models .model-card:hover img {
    transform: scale(1.08);
}

#re-models h5 {
    margin: 8px 0 6px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.1rem;
    color: var(--text-white);
}

#re-models p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* Models heading area */
#re-models .d-flex {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
    margin-bottom: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.footer-widget-area {
    padding: 60px 0 30px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.widget-contet p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 16px;
    filter: brightness(0) invert(0.7) sepia(1) saturate(3) hue-rotate(15deg);
}

/* Footer Menu */
.footer-menu .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu .menu li {
    margin-bottom: 10px;
}

.footer-menu .menu li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-menu .menu li a:hover {
    color: var(--gold);
    padding-left: 8px;
}

/* Contact Info */
.widget-contact-info {
    margin-bottom: 20px;
}

.widget-contact-info i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 6px;
    display: block;
}

.widget-contact-info h3 {
    font-size: 0.95rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.widget-contact-info span,
.widget-contact-info a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Newsletter */
.newsletter-box {
    position: relative;
}

.newsletter-box .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.newsletter-box .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
    outline: none;
}

.newsletter-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.signup-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.signup-btn:hover {
    background: var(--gold-light);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

/* Footer Social */
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social li a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

/* Copyright */
.copyright {
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright a {
    color: var(--gold);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 991.98px) {
    .menu-icon {
        display: block;
    }

    .site-navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        border-left: 1px solid var(--border-subtle);
        transition: right 0.35s ease;
        z-index: 99999;
    }

    .site-navigation.active {
        right: 0;
    }

    .main-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-menu li a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-menu li a::after {
        display: none;
    }

    .header-social-media {
        margin: 24px 0 0 0;
        justify-content: center;
    }

    .hero-content {
        padding: 100px 0 60px;
        text-align: center;
    }

    .banner-left {
        margin-bottom: 32px;
        padding-right: 0;
    }

    .hero-form-container {
        max-width: 480px;
        margin: 0 auto;
    }

    .features-middle-img {
        display: none;
    }

    .circle-animation {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding: 80px 0 50px;
    }

    .large-heading {
        font-size: 2rem;
    }

    .hero-form-container {
        padding: 20px 18px;
    }

    .hero-form-container .large-heading {
        font-size: 1.3rem;
    }

    .hero-form-container input,
    .hero-form-container select {
        padding: 10px 14px;
        font-size: 15px;
    }

    .hero-bg .slide {
        min-height: 100vh;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 70px 0 40px;
    }

    .large-heading {
        font-size: 1.7rem;
    }

    .hero-form-container {
        padding: 16px 14px;
    }

    .btn-wrapper {
        flex-direction: column;
    }

    .btn-accent {
        margin-left: 0;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Subtle gold glow pulse on section headers */
.heading-wrapper .large-heading::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 12px;
}

.heading-wrapper.text-center .large-heading::before {
    margin-left: auto;
    margin-right: auto;
}

/* bg-light override for models section */
.bg-light {
    background: var(--darker-bg) !important;
}