/* --- Variables --- */
:root {
    --primary-color: #F39C12; /* Orange/Yellow Accent */
    --dark-bg: #1e1e1e;       /* Dark background from image */
    --text-light: #f0f0f0;
    --text-dark: #111;
    --nav-height: 70px;
    --font-heading: 'Anton', sans-serif;
    --font-subheading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    padding-top: var(--nav-height); /* Space for fixed nav */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container { /* General purpose container */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation Bar --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--dark-bg); /* Initial solid dark background */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#main-nav .nav-container {
    max-width: 1300px; /* Slightly wider for nav */
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    font-family: var(--font-subheading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text-light);
}

.logo .logo-accent {
    color: var(--primary-color);
}

#main-nav ul {
    display: flex;
}

#main-nav ul li {
    margin-left: 25px;
}

#main-nav ul li a {
    color: var(--text-light);
    font-weight: 700;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

#main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Underline effect for nav links on hover */
#main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

#main-nav ul li a:hover::after {
    width: 100%;
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-family: var(--font-subheading);
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #d35400; /* Darker orange */
    transform: translateY(-2px);
}

.btn-nav {
    margin-left: 20px; /* Space from nav items */
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-secondary {
    background-color: #555;
    color: var(--text-light);
}
.btn-secondary:hover {
    background-color: #444;
    color: var(--text-light); /* Ensure text color remains light on hover */
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}


/* --- Scrolled Nav State (JS will add .scrolled class) --- */
#main-header.scrolled {
    background-color: rgba(20, 20, 20, 0.95); /* Slightly different or more opaque */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* --- Hero Section --- */
#hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative; /* For watermark positioning */
    overflow: hidden; /* Prevents watermark from causing scrollbars if too large */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Space between left and right content */
    width: 100%;
}

.hero-content-left {
    flex: 1.2; /* Give slightly more space to text */
    max-width: 600px;
}

.sub-heading {
    color: var(--primary-color);
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.main-heading {
    font-family: var(--font-heading);
    font-size: 5rem; /* Adjust as needed */
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 25px;
}

.main-heading .outline-text {
    font-family: var(--font-subheading); /* Or same as main heading if preferred */
    font-weight: 900; /* Bolder for outline */
    font-size: 4rem; /* Slightly smaller to fit */
    color: transparent;
    -webkit-text-stroke: 2px var(--text-light); /* Safari/Chrome */
    text-stroke: 2px var(--text-light); /* Standard */
    display: block;
    margin-bottom: 5px;
}

.main-heading span:last-child { /* "ON TWO WHEELS!" */
    display: block;
}

.description {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 500px;
    color: #ccc; /* Slightly lighter than main text for hierarchy */
}

.btn-hero {
    padding: 12px 30px;
    font-size: 1rem;
}

.hero-content-right {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* For watermark */
    min-width: 300px; /* Ensure it has some width */
}

.bike-image-container {
    width: 350px; /* Adjust size as needed */
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
}

.bike-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.watermark-text {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 18rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    user-select: none;
    white-space: nowrap;
}

/* --- General Content Section Styling --- */
.content-section {
    padding: 80px 20px;
    text-align: center;
}

.content-section.alt-bg {
    background-color: #2a2a2a;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-light);
    text-transform: uppercase;
}

.section-title .accent-text {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

/* --- Models Section --- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.model-card {
    background-color: #252525; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.model-card img {
    width: 100%;
    height: 220px; 
    object-fit: cover; /* Use 'cover' to fill, or 'contain' to show whole image */
    display: block;
    background-color: transparent; /* Explicitly set if needed for PNGs */
}

.model-card-content {
    padding: 20px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-card h3 {
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1.4rem; 
    color: var(--primary-color);
    margin-bottom: 10px;
}

.model-card p {
    font-size: 0.9rem; 
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px; 
    flex-grow: 1;
}

.model-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature-item {
    background-color: var(--dark-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.feature-item h3 {
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: #bbb;
}

/* --- Explore Bikes Section --- */
#explore .btn {
    margin: 10px 5px;
}


/* --- Contact Section --- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #252525;
    padding: 25px;
    border-radius: 8px;
}

.contact-info h3 {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.contact-info h4 {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
    margin-bottom: 8px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #ccc;
}
.contact-info p strong {
    color: #e0e0e0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #2f2f2f;
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Order Section (CTA) --- */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x600/000000/FFA500?text=Dynamic+Riding+Background') no-repeat center center/cover;
    color: var(--text-light);
    padding: 100px 20px;
}

.cta-section .section-title {
    color: var(--text-light);
}

.cta-section .section-title .accent-text {
    color: var(--primary-color);
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .main-heading {
        font-size: 4rem;
    }
    .main-heading .outline-text {
        font-size: 3rem;
    }
    .watermark-text {
        font-size: 15rem;
    }
    .bike-image-container {
        width: 300px;
        height: 300px;
    }
}


@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    #main-nav .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    .logo {
        margin-bottom: 15px;
    }
    #main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #main-nav ul li {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }
    .btn-nav {
        margin-top: 15px;
        margin-left: 0;
        width: 100%;
        max-width: 200px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content-left, .hero-content-right {
        max-width: 100%;
        width: 100%;
    }
    .hero-content-right {
        margin-top: 40px;
    }
    .main-heading {
        font-size: 3.5rem;
    }
    .main-heading .outline-text {
        font-size: 2.8rem;
    }
    .description {
        margin-left: auto;
        margin-right: auto;
    }
    .watermark-text {
        font-size: 10rem;
        top: 60%;
    }
    .bike-image-container {
        width: 280px;
        height: 280px;
    }

    .section-title {
        font-size: 2.5rem;
    }
    .contact-container {
        flex-direction: column;
    }
    .models-grid, .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2.8rem;
    }
    .main-heading .outline-text {
        font-size: 2.2rem;
    }
    .logo {
        font-size: 1.5rem;
    }
    .bike-image-container {
        width: 240px;
        height: 240px;
    }
    .watermark-text {
        font-size: 8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .btn, .btn-hero, .btn-nav, .btn-small, .btn-large {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    .btn-large {
        padding: 12px 25px;
    }
    .model-card img {
        height: 180px; /* Adjust image height for smaller cards on mobile */
    }
    .model-card-content {
        padding: 15px;
    }
    .model-card h3 {
        font-size: 1.2rem;
    }
    .model-card p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}