/* Marshall Lake Moto Camp - Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: normal;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
}

h2 {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    color: #8b7355;
    text-transform: uppercase;
    border-bottom: 1px solid #8b7355;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Colors */
:root {
    --gold: #8b7355;
    --gold-light: #a89070;
    --dark: #2a2a2a;
    --dark-gray: #3a3a3a;
    --light-gray: #f5f5f5;
    --text: #333;
    --text-light: #666;
}

/* Header */
.header {
    background-color: var(--dark);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-bottom: 1rem;
}

.logo img {
    height: 80px;
    width: auto;
    padding: 8px;
    background-color: #fff;
    border-radius: 4px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--gold);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid #fff;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #fff;
    color: var(--dark);
}

/* Page Hero (smaller for inner pages) */
.page-hero {
    height: 40vh;
    min-height: 300px;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Section */
.section {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Home Page Sections */
.intro-section {
    text-align: center;
    padding: 3rem 2rem;
}

.intro-section h2 {
    border: none;
    color: var(--text);
}

.intro-section p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Two Panel Section */
.two-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.panel {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.panel:hover img {
    transform: scale(1.05);
}

.panel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    text-align: center;
}

.panel-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

/* Partners Section */
.partners {
    padding: 2rem;
    border-top: 1px solid #eee;
}

.partners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Services Page */
.service-section {
    padding: 3rem 2rem;
}

.service-section:nth-child(odd) {
    background-color: #fff;
}

.service-section:nth-child(even) {
    background-color: var(--light-gray);
}

.service-content {
    max-width: 1000px;
    margin: 0 auto;
}

.service-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-text {
    flex: 1;
}

.service-image {
    flex: 0 0 300px;
}

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

.service-text h3 {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.service-text h4 {
    color: var(--gold);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-list {
    margin-left: 1.5rem;
    list-style: disc;
    color: var(--text-light);
}

.service-list li {
    margin-bottom: 0.3rem;
}

.cost-info {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.cost-info strong {
    color: var(--gold);
}

/* Full Width Image Service */
.service-full-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 2rem;
}

/* Bike Grid */
.bike-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

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

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

/* Contact Page */
.contact-section {
    padding: 3rem 2rem;
    background-color: var(--light-gray);
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.submit-btn {
    background-color: var(--gold);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-self: center;
}

.submit-btn:hover {
    background-color: var(--gold-light);
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: #999;
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark);
        padding: 1rem;
        display: none;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        margin-bottom: 0;
    }

    .logo img {
        height: 60px;
    }

    .hero-tagline {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }

    .two-panel {
        grid-template-columns: 1fr;
    }

    .panel {
        height: 300px;
    }

    .service-header {
        flex-direction: column;
    }

    .service-image {
        flex: none;
        order: -1;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .partners-list {
        gap: 1.5rem;
    }

    .partner-logo {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }
}
