/*
Theme Name: Denver Sam
Description: Personal car hire service by Sam - Premium transportation in Denver
Version: 1.0
Author: Sam
Domain: denversam.com
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Accessibility Styles */
.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
    word-wrap: normal;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    transition: left 0.3s;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #fff;
        color: #000;
    }
    
    .hero-section {
        background: #2563eb;
        color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header Styles */
.site-header {
    background: #fff;
    color: #333;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-size: 28px;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    text-align: center;
    color: #333;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #333;
    font-size: 36px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu nav li {
    margin: 30px 0;
}

.mobile-menu nav a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-menu nav a:hover {
    color: #2563eb;
}

.mobile-menu .contact-info {
    margin-top: 50px;
    font-size: 18px;
    color: #666;
}

.mobile-menu .book-btn {
    margin-top: 30px;
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info {
    font-size: 14px;
    color: #666;
}

.book-now-btn {
    background: #2563eb;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.book-now-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 160px);
}

.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #e0f2fe;
}

.hero-booking {
    margin-top: 40px;
    max-width: 100%;
}

.booking-form,
.denver-driver-booking-form {
    background: rgba(255, 255, 255, 0.98);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 140px;
    gap: 20px;
    align-items: end;
    width: 100%;
}

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

.form-group label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.search-btn,
.submit-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.search-btn:hover,
.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

.content-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

.service-icon {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #2563eb;
    background: #e0f2fe;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.service-description {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method {
    text-align: center;
}

.contact-method h3 {
    color: #2563eb;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-method p,
.contact-method a {
    color: #666;
    font-size: 1rem;
    text-decoration: none;
}

.contact-method a:hover {
    color: #2563eb;
}

/* Footer Styles */
.site-footer {
    background: #1f2937;
    color: #fff;
    padding: 60px 20px 20px;
}

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

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

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    color: #9ca3af;
    margin-bottom: 10px;
}

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

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

.footer-legal {
    margin-top: 10px;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
}

.footer-legal a:hover,
.footer-legal a:focus {
    color: #60a5fa;
    text-decoration: underline;
}

/* Page/Post Title Section */
.page-title-section {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    color: #fff;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    color: #fff;
}

/* Page Content Section */
.page-content-section {
    padding: 80px 20px;
    background: #fff;
}

.page-content-container {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.page-content-container h1,
.page-content-container h2,
.page-content-container h3,
.page-content-container h4,
.page-content-container h5,
.page-content-container h6 {
    color: #1f2937;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-content-container h1 {
    font-size: 2.5rem;
}

.page-content-container h2 {
    font-size: 2rem;
}

.page-content-container h3 {
    font-size: 1.5rem;
}

.page-content-container p {
    margin-bottom: 20px;
}

.page-content-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.page-content-container ul,
.page-content-container ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content-container li {
    margin-bottom: 8px;
}

.page-content-container blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

/* 404 Error Page Styles */
.error-subtitle {
    font-size: 1.2rem;
    color: #e0f2fe;
    margin-top: 15px;
    font-weight: 300;
}

.error-content-section {
    padding: 80px 20px;
    background: #fff;
}

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

.error-message,
.error-actions,
.search-section,
.help-section {
    margin-bottom: 60px;
}

.error-message h2,
.error-actions h3,
.search-section h3,
.help-section h3 {
    color: #1f2937;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.error-message ul {
    margin: 20px 0;
    padding-left: 30px;
}

.error-message li {
    margin-bottom: 8px;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.primary-btn,
.secondary-btn {
    padding: 15px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn {
    background: #2563eb;
    color: #fff;
}

.primary-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.secondary-btn {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #ddd;
}

.secondary-btn:hover {
    background: #e0e0e0;
    border-color: #bbb;
}

/* Denver Driver Booking Plugin Styles */
.denver-driver-booking-form {
    max-width: 100%;
    margin: 0 auto;
}

.denver-driver-booking-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.denver-driver-booking-form .form-group {
    width: 100%;
}

.denver-driver-booking-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.denver-driver-booking-form input[type="text"],
.denver-driver-booking-form input[type="email"],
.denver-driver-booking-form input[type="tel"],
.denver-driver-booking-form input[type="date"],
.denver-driver-booking-form input[type="time"],
.denver-driver-booking-form select,
.denver-driver-booking-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.denver-driver-booking-form input[type="submit"],
.denver-driver-booking-form button[type="submit"] {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.denver-driver-booking-form input[type="submit"]:hover,
.denver-driver-booking-form button[type="submit"]:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .site-logo {
        font-size: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .booking-form,
    .denver-driver-booking-form {
        padding: 25px;
        margin: 0;
        max-width: 100%;
    }
    
    .hero-booking {
        margin-top: 30px;
        max-width: 100%;
        padding: 0;
    }
    
    .form-group input,
    .form-group select {
        width: 100%;
        box-sizing: border-box;
    }
    
    .search-btn,
    .submit-btn {
        width: 100%;
        padding: 16px 24px;
    }
    
    .page-title-section {
        padding: 60px 20px 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-content-section {
        padding: 60px 15px;
    }
    
    .page-content-container h1 {
        font-size: 2rem;
    }
    
    .page-content-container h2 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 60px 15px;
    }
    
    .booking-form,
    .denver-driver-booking-form {
        padding: 20px;
        margin: 0;
        border-radius: 8px;
    }
    
    .hero-booking {
        margin-top: 25px;
        max-width: 100%;
        padding: 0;
    }
    
    .form-group input,
    .form-group select {
        padding: 14px 12px;
        font-size: 16px;
    }
    
    .search-btn,
    .submit-btn {
        padding: 18px 24px;
        font-size: 16px;
    }
    
    .page-title-section {
        padding: 50px 15px 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-content-section {
        padding: 50px 15px;
    }
    
    .page-content-container {
        font-size: 15px;
    }
    
    .error-content-section {
        padding: 50px 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .primary-btn,
    .secondary-btn {
        text-align: center;
        width: 100%;
    }
    
    .site-logo {
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu,
    .booking-form,
    .book-now-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .page-content-container {
        max-width: 100%;
    }
}
