/*
Theme Name: Uw Laatste Motorrit
Description:
Version: 2.0
Author: Custom Template
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    color: #333333;
    background-color: #fafafa;
    scroll-behavior: smooth;
}

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

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.site-title:hover {
    color: #e8c45f;
}

/* Header CTA Phone Button */
.header-cta {
    flex-shrink: 0;
}

.phone-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #d4af37 0%, #e8c45f 100%);
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.phone-cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.phone-cta-button:hover:before {
    left: 100%;
}

.phone-cta-button:hover {
    background: linear-gradient(135deg, #e8c45f 0%, #f2d374 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
    color: #1a1a1a;
    text-decoration: none;
}

.phone-cta-button:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.phone-icon {
    font-size: 1.1rem;
    filter: brightness(0.8);
}

.phone-number {
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Navigation Styles */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

.main-navigation a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-navigation a:hover,
.main-navigation a.current {
    color: #d4af37;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
    width: 100%;
}

/* Main Content Area */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 4rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Homepage Three-Column Layout */
.homepage-layout {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}



.about-section {
    background-color: #fafafa;
    padding: 60px 40px;
    border-radius: 8px;
    position: relative;
    min-height: 500px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 60px;
    height: 3px;
    background-color: #d4af37;
}

.about-section .page-content-wrapper h1,
.about-section .page-content-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 1rem;
}

.about-section .page-content-wrapper h3 {
    font-size: 1.25rem;
    color: #d4af37;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-section .page-content-wrapper p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.about-section .page-content-wrapper ul,
.about-section .page-content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.about-section .page-content-wrapper li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 0.5rem;
}

.about-section .page-content-wrapper blockquote {
    border-left: 4px solid #d4af37;
    padding-left: 1.5rem;
    margin: 2rem 0;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 4px;
    font-style: italic;
}

.about-section .page-content-wrapper a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.about-section .page-content-wrapper a:hover {
    color: #b8923d;
    text-decoration: underline;
}

.about-section .subheading {
    font-size: 1.25rem;
    color: #d4af37;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.about-section .service-highlight {
    border-left: 4px solid #d4af37;
    padding-left: 1.5rem;
    margin: 2rem 0;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 4px;
}

.cta-button {
    display: inline-block;
    background-color: #d4af37;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #b8923d;
    transform: translateY(-2px);
}

/* Motorcycle Card Styles */
.motor-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    border-top: 4px solid #d4af37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.motor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.motor-card .card-image {
    position: relative;
    flex: 1;
    min-height: 350px;
    overflow: hidden;
}

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

.motor-card:hover .card-image img {
    transform: scale(1.05);
}

.motor-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.1));
    transition: opacity 0.3s ease;
}

.motor-card:hover .card-image::after {
    background: linear-gradient(transparent, rgba(0,0,0,0.2));
}

.motor-card .card-content {
    padding: 24px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.motor-card .motor-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.motor-card .motor-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 16px;
}

.motor-card .view-details {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.motor-card .view-details:hover {
    color: #b8923d;
    text-decoration: underline;
}

.motor-card .view-details::after {
    content: '→';
    transition: transform 0.3s ease;
}

.motor-card .view-details:hover::after {
    transform: translateX(4px);
}

/* Standard Pages Layout */
.page-content {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
    font-weight: 600;
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #2c2c2c;
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #f5f5f5;
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #f5f5f5;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #999999;
    border-top: 1px solid #2d2d2d;
    padding-top: 2rem;
    text-align: left;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        padding: 0 3rem;
    }
    
    .about-section {
        padding: 80px 50px;
    }
    
    .about-section h2 {
        font-size: 2.75rem;
    }
}

/* Tablet View - Stack vertically */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .main-navigation ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Phone button adjustments for tablet */
    .phone-cta-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .homepage-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    .about-section {
        min-height: auto;
    }
    
    .motor-card {
        height: auto;
        display: block;
    }
    
    .motor-card .card-image {
        flex: none;
        height: 250px;
    }
    
    .about-section {
        padding: 40px 24px;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }
    
    .about-section p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .site-main {
        padding: 2rem 0;
    }
}

/* Mobile View */
@media (max-width: 576px) {
    .site-title {
        font-size: 1.25rem;
    }
    
    .main-navigation ul {
        gap: 1rem;
    }
    
    /* Mobile phone button - more compact */
    .phone-cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .phone-icon {
        font-size: 1rem;
    }
    
    .phone-number {
        font-size: 0.85rem;
    }
    
    .about-section {
        padding: 24px 16px;
    }
    
    .about-section h2 {
        font-size: 1.75rem;
    }
    
    .about-section::before {
        left: 16px;
        width: 40px;
    }
    
    .motor-card .card-image {
        height: 200px;
    }
    
    .motor-card .card-content {
        padding: 16px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* WordPress Specific */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}