/* Rodrigo Adrian's Motorbikes - Prototype Styles */

:root {
    --primary-color: #f26522; /* KTM Orange */
    --secondary-color: #222;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --border-color: #ddd;
    --max-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Desktop Only Logic */
#mobile-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    color: var(--white);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    z-index: 9999;
}

.prototype-message-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

@media (max-width: 1279px) {
    #main-content {
        display: none;
    }
    #mobile-message {
        display: flex;
    }
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--secondary-color);
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumbs-bar {
    background: #eee;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    font-size: 13px;
    color: #666;
}

.breadcrumbs-container a {
    color: var(--primary-color);
}

.breadcrumbs-container span {
    margin: 0 8px;
}

/* Main Content */
main {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Archive Layout */
.archive-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.sidebar {
    background: var(--white);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.sidebar h3 {
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.btn-view {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Product Page */
.product-page-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.product-main-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-sidebar {
    padding-top: 0;
}

.product-details h1 {
    font-size: 36px;
}

.product-specs {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.product-description {
    margin-top: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.product-description h2 {
    margin-bottom: 20px;
}

.product-description p {
    margin-bottom: 15px;
    white-space: pre-wrap; /* Preserve line breaks from text file */
}

/* CTA & Sections */
.landing-content {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    margin-bottom: 20px;
}

.cta-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.cta-box h2 {
    margin-bottom: 10px;
}

.cta-box .btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 20px;
}

/* Reviews Widget */
.reviews-widget {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.stars {
    color: #ffc107;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #888;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Map Placeholder */
.map-container {
    height: 500px;
    background: #e5e3df;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

.map-placeholder-content {
    text-align: center;
    z-index: 1;
}
