:root {
    --burnt-orange: #D65A31;
    --deep-rust: #8F3525;
    --desert-sand: #D9B98C;
    --warm-clay: #B97852;
    --eucalyptus-green: #527A68;
    --pale-sage: #C8D8C9;
    --warm-cream: #F1E5D0;
    --dark-earth: #3E3028;
    
    --nav-width: 280px;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-lg: 6rem;
    --spacing-md: 3rem;
    --border-radius-lg: 3rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--warm-cream);
    color: var(--dark-earth);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

a {
    color: var(--dark-earth);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--burnt-orange);
    color: var(--warm-cream);
}

.btn-primary:hover {
    background-color: var(--deep-rust);
    color: var(--warm-cream);
}

.btn-secondary {
    background-color: var(--dark-earth);
    color: var(--warm-cream);
}

.btn-secondary:hover {
    background-color: var(--eucalyptus-green);
    color: var(--warm-cream);
}

/* --- Navigation --- */
.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--desert-sand);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    z-index: 100;
    border-right: 1px solid rgba(62, 48, 40, 0.1);
}

.brand {
    margin-bottom: 3rem;
}

.brand h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-earth);
}

.brand-icon {
    width: 40px;
    height: 40px;
    fill: var(--burnt-orange);
}

.main-nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.main-nav a {
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--burnt-orange);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-cta {
    margin-top: auto;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--deep-rust);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--dark-earth);
    margin: 6px 0;
    transition: 0.3s;
}

/* --- Page Layout --- */
.page-content {
    margin-left: var(--nav-width);
    width: calc(100% - var(--nav-width));
    min-height: 100vh;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    background-color: var(--pale-sage);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 90%;
    max-width: 600px;
    background-color: rgba(214, 90, 49, 0.95); /* Burnt Orange */
    padding: 3rem;
    color: var(--warm-cream);
    box-shadow: -20px -20px 0 var(--desert-sand);
}

.hero-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    color: var(--warm-cream);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-decorative-number {
    position: absolute;
    top: -50px;
    right: -20px;
    font-family: var(--font-heading);
    font-size: 12rem;
    color: rgba(241, 229, 208, 0.2); /* Warm Cream transparent */
    line-height: 1;
    pointer-events: none;
}

/* --- Collection Map --- */
.section-pad {
    padding: var(--spacing-lg) 5%;
}

.collection-map-section {
    background-color: var(--dark-earth);
    color: var(--warm-cream);
}

.collection-map-section h2 {
    color: var(--desert-sand);
    font-size: 3rem;
    margin-bottom: 3rem;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    grid-auto-rows: 300px;
}

.map-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    display: block;
    background-color: var(--warm-clay);
}

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: brightness(0.7);
}

.map-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.map-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.map-content h3 {
    font-size: 1.8rem;
    color: var(--warm-cream);
    margin-bottom: 0.5rem;
}

.map-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--desert-sand);
}

.map-card.large { grid-column: span 2; grid-row: span 2; }
.map-card.wide { grid-column: span 2; grid-row: span 1; }
.map-card.tall { grid-column: span 1; grid-row: span 2; }
.map-card.standard { grid-column: span 1; grid-row: span 1; }

/* --- Accessories Strip --- */
.accessories-section {
    background-color: var(--pale-sage);
    overflow: hidden;
}

.accessories-section h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.accessories-strip {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--eucalyptus-green) transparent;
}

.accessories-strip::-webkit-scrollbar {
    height: 8px;
}
.accessories-strip::-webkit-scrollbar-thumb {
    background: var(--eucalyptus-green);
    border-radius: 4px;
}

.accessory-item {
    min-width: 200px;
    flex-shrink: 0;
    text-align: center;
    background: var(--warm-cream);
    padding: 1.5rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.accessory-item:hover {
    transform: translateY(-10px);
}

.accessory-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--desert-sand);
}

.accessory-item span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-earth);
    display: block;
}

/* --- Workshop Section --- */
.workshop-split {
    display: flex;
    min-height: 80vh;
    background-color: var(--warm-clay);
}

.workshop-img {
    flex: 1;
    position: relative;
}

.workshop-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop-content {
    flex: 1;
    padding: var(--spacing-lg) 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--warm-cream);
}

.workshop-content h2 {
    font-size: 4rem;
    color: var(--warm-cream);
    margin-bottom: 2rem;
}

.workshop-list {
    list-style: none;
    margin-bottom: 3rem;
    font-size: 1.25rem;
}

.workshop-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(241, 229, 208, 0.3);
}

/* --- Bike Fit (Organic) --- */
.curved-section {
    background-color: var(--eucalyptus-green);
    color: var(--warm-cream);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-lg) 10%;
}

.curved-section h2 {
    font-size: 3.5rem;
    color: var(--desert-sand);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.curved-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* --- Editorial Landscape / NT --- */
.editorial-landscape {
    background-color: var(--warm-cream);
    position: relative;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.editorial-text h2 {
    font-size: 3rem;
    color: var(--deep-rust);
}

.editorial-image {
    position: relative;
}

.editorial-image img {
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--pale-sage);
}

/* --- Why Shop With Us --- */
.why-shop-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border-top: 2px solid var(--desert-sand);
    padding-top: 1.5rem;
}

.why-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--burnt-orange);
    min-width: 60px;
}

.why-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- Featured Bikes Showcase --- */
.featured-showcase {
    background-color: var(--desert-sand);
}

.featured-showcase h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.showcase-item {
    background: var(--warm-cream);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.showcase-item img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--deep-rust);
    color: var(--warm-cream);
    padding: var(--spacing-lg) 5% 2rem;
}

.footer-top {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(241, 229, 208, 0.2);
}

.footer-top h2 {
    font-size: 4rem;
    color: var(--desert-sand);
    margin-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pale-sage);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--warm-cream);
}

.footer-col a:hover {
    color: var(--desert-sand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--pale-sage);
}

/* --- Internal Pages (About, Contact, Categories) --- */
.internal-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.internal-hero::after {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(62, 48, 40, 0.6);
}

.internal-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.internal-hero-content {
    position: relative;
    z-index: 2;
    color: var(--warm-cream);
    max-width: 800px;
    padding: 2rem;
}

.internal-hero-content h1 {
    font-size: 4rem;
    color: var(--warm-cream);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.content-block h2 {
    font-size: 2.5rem;
    color: var(--burnt-orange);
    margin-top: 2rem;
}

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--desert-sand);
    padding: 1.5rem 0;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-earth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--dark-earth);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--burnt-orange);
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--desert-sand);
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark-earth);
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burnt-orange);
}

.form-message {
    display: none;
    padding: 1rem;
    background-color: var(--pale-sage);
    color: var(--dark-earth);
    margin-top: 1rem;
    border-radius: 4px;
    font-weight: 600;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--dark-earth);
    color: var(--warm-cream);
    padding: 2rem;
    border-radius: 8px;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-left: 5px solid var(--burnt-orange);
    box-shadow: 0 10px 30px rgba(62, 48, 40, 0.5);
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: var(--warm-cream);
    margin-bottom: 0.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .map-card.large { grid-column: span 2; }
    .map-card.wide { grid-column: span 2; }
    .map-card.tall { grid-column: span 1; }
}

@media (max-width: 1024px) {
    :root {
        --nav-width: 0px;
    }
    
    .side-nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 5%;
        border-right: none;
        border-bottom: 1px solid rgba(62, 48, 40, 0.1);
    }

    .brand {
        margin-bottom: 0;
    }

    .brand h2 {
        font-size: 1.5rem;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }

    .main-nav, .nav-cta {
        display: none;
    }

    .side-nav.nav-open .main-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--desert-sand);
        padding: 2rem 5%;
        box-shadow: 0 10px 20px rgba(62, 48, 40, 0.1);
    }

    .side-nav.nav-open .nav-cta {
        display: flex;
        position: absolute;
        top: calc(100% + 250px);
        left: 5%;
    }

    .page-content {
        margin-left: 0;
        width: 100%;
        padding-top: 80px; /* offset for top nav */
    }

    .hero-content {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: -100px;
        box-shadow: none;
    }
    
    .hero {
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .hero-img {
        height: 60vh;
    }

    .workshop-split {
        flex-direction: column;
    }
    
    .workshop-img {
        height: 400px;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .map-card.large { grid-column: span 2; grid-row: span 1; }
    .map-card.wide { grid-column: span 2; }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 { font-size: 3rem; }
    .curved-section h2 { font-size: 2.5rem; }
    .footer-top h2 { font-size: 3rem; }
}

@media (max-width: 480px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
    .map-card.large, .map-card.wide, .map-card.tall, .map-card.standard { 
        grid-column: span 1; 
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}