/* ============================================
   Stevens Automotive Museum - CSS Styles
   Modern, Clean Design with Vintage Elegance
   ============================================ */

/* === CSS RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #111827;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4b5563;
}

a {
    color: #1e40af;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #f59e0b;
}

.external-link {
    color: #f59e0b;
    font-weight: 600;
    text-decoration: underline;
}

.external-link:hover {
    color: #d97706;
}

/* === HEADER === */
.site-header {
    background-color: #1f2937;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.main-nav {
    display: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: #e5e7eb;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #f59e0b;
}

.btn-cta {
    background-color: #f59e0b;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: #d97706;
}

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

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.3s;
}

.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1f2937;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #f59e0b;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: #1e40af;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #111827 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === SECTION STYLING === */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4b5563;
}

/* === COLLECTION SECTION === */
.collection-section {
    background-color: #f9fafb;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.car-card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.car-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.car-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #f59e0b;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-details {
    padding: 2rem;
}

.car-details h3 {
    color: #1e40af;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.car-era {
    color: #f59e0b;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.car-description {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.spec {
    font-size: 0.875rem;
    color: #6b7280;
}

.spec strong {
    color: #1f2937;
}

/* === ABOUT SECTION === */
.about-section {
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* === EXHIBITS SECTION === */
.exhibits-section {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: #ffffff;
}

.exhibits-section h2 {
    color: #ffffff;
    text-align: center;
}

.exhibits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.exhibit-card {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.exhibit-card:hover {
    background-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.exhibit-card h3 {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.exhibit-date {
    color: #f59e0b;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.exhibit-card p {
    color: #e5e7eb;
    margin: 0;
}

/* === VISIT SECTION === */
.visit-section {
    background-color: #f9fafb;
}

.visit-section h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 3rem;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.visit-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.visit-card h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.hours-list, .price-list {
    list-style: none;
}

.hours-list li, .price-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.hours-list li:last-child, .price-list li:last-child {
    border-bottom: none;
}

/* === EVENTS SECTION === */
.events-section {
    background-color: #ffffff;
}

.events-section h2 {
    text-align: center;
    color: #1e40af;
    margin-bottom: 3rem;
}

.events-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.event-item {
    display: flex;
    gap: 2rem;
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid #f59e0b;
}

.event-date {
    text-align: center;
    flex-shrink: 0;
}

.event-date .month {
    display: block;
    color: #1e40af;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.event-date .day {
    display: block;
    color: #f59e0b;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-details h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.event-details p {
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.event-time {
    display: block;
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.875rem;
}

/* === CONTACT SECTION === */
.contact-section {
    background-color: #f9fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-method h4 {
    color: #1e40af;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-method p {
    color: #4b5563;
    margin: 0;
}

.museum-resources {
    background-color: #fff7ed;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #f59e0b;
    margin-top: 2rem;
}

.museum-resources h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.museum-resources p {
    color: #4b5563;
    margin: 0;
}

.contact-form-wrapper {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-wrapper h3 {
    color: #1e40af;
    margin-bottom: 1.5rem;
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* === FOOTER === */
.site-footer {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column p,
.footer-column a {
    color: #d1d5db;
    font-size: 0.95rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a:hover {
    color: #f59e0b;
}

.footer-address {
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: #f59e0b;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE DESIGN === */
@media (min-width: 768px) {
    /* Typography */
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.75rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    /* Header */
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-nav {
        display: flex;
        flex-direction: row;
    }
    
    /* Hero */
    .hero {
        min-height: 700px;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    /* Collection Grid */
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Exhibits */
    .exhibits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Visit */
    .visit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    /* Collection Grid */
    .car-image-wrapper {
        height: 350px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === PRINT STYLES === */
@media print {
    .site-header,
    .hero-cta,
    .mobile-menu-toggle,
    .contact-form {
        display: none;
    }
}
