/* ============================================
   BULLSEYE MOTORS — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Geometric Decorative Shapes --- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: #8a1e3d;
    border-radius: 50%;
    top: 15%;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #ff4d75;
    top: 45%;
    left: -60px;
    transform: rotate(45deg);
    animation: floatShape 25s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #8a1e3d;
    top: 70%;
    right: 5%;
    animation: floatShape 18s ease-in-out infinite;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: #ff849a;
    border-radius: 50%;
    top: 30%;
    left: 8%;
    animation: floatShape 22s ease-in-out infinite reverse;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: #8a1e3d;
    bottom: 20%;
    right: 12%;
    transform: rotate(30deg);
    animation: floatShape 15s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-3deg); }
    75% { transform: translate(15px, 10px) rotate(2deg); }
}

/* --- Navbar --- */
.nav-header {
    background: rgba(255, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 30, 61, 0.08);
    transition: all duration-300;
}

.nav-header.scrolled {
    background: rgba(255, 248, 245, 0.95);
    box-shadow: 0 4px 30px rgba(138, 30, 61, 0.08);
}

.nav-link {
    position: relative;
}

/* --- Buttons --- */
.btn-primary {
    background: #8a1e3d;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #a82247;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 30, 61, 0.3);
}

.btn-hero-primary {
    background: #ff4d75;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #e82554;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 77, 117, 0.4);
}

.btn-hero-secondary {
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-cta-light {
    background: #fff;
    color: #8a1e3d;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-light:hover {
    background: #fce7eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --- Hero --- */
.hero-section {
    position: relative;
}

.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(62, 11, 26, 0.92) 0%,
        rgba(138, 30, 61, 0.85) 50%,
        rgba(62, 11, 26, 0.90) 100%
    );
}

/* --- Section Spacing --- */
.section-py {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 640px) {
    .section-py {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* --- Input Fields --- */
.input-field {
    border: 1.5px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #111827;
    background: #fff;
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}

.input-field:hover {
    border-color: #f9a3b8;
}

.input-field:focus {
    border-color: #8a1e3d;
    box-shadow: 0 0 0 3px rgba(138, 30, 61, 0.1);
}

.input-field::placeholder {
    color: #9ca3af;
}

/* --- Scroll Reveal --- */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Menu --- */
.mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    transition: color 0.2s ease;
}

/* --- Back to Top --- */
.back-to-top {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* --- Footer --- */
.footer {
    background: #3e0b1a;
}

/* --- Mobile Menu Button Animation --- */
.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* --- Selection Color --- */
::selection {
    background: #fce7eb;
    color: #3e0b1a;
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid #8a1e3d;
    outline-offset: 2px;
}

/* --- Utility --- */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
