/*
Theme Name: Denver Limo Shop
Description: SEO-optimized WordPress theme for Denver Limo Shop
Version: 2.0
*/

* {
    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: #000;
    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 #4A90E2;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #fff;
        color: #000;
    }
    
    .hero-section {
        background: #000;
        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: #000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #eee;
    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: #000;
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

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

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

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

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

.mobile-menu nav li {
    margin: 25px 0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu nav li:last-child {
    border-bottom: none;
}

.mobile-menu nav a {
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 6px;
}

.mobile-menu nav a:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

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

.mobile-menu .contact-info a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu .book-btn {
    margin-top: 30px;
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 15px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-menu .book-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

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

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

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

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

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiMzMzMiLz48L3N2Zz4=');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    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: #ccc;
}

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

.booking-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    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%;
    padding: 0 35px;
}

.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 {
    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 {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.search-btn {
    background: #000;
    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 {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,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;
}

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

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

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

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

/* Related Articles Styles */
.related-article-card {
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.related-article-card img {
    transition: transform 0.3s ease;
}

.related-article-card:hover img {
    transform: scale(1.05);
}

/* Footer Styles */
.site-footer {
    background: #000;
    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: #ccc;
    margin-bottom: 10px;
}

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

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

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

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

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

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

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

/* Widget Page Styles */
.widget-page .site-main {
    display: none;
}

.widget-content {
    min-height: 60vh;
    padding: 40px 0;
}

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

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

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiMzMzMiLz48L3N2Zz4=');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.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: #000;
    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 #000;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

/* 404 Error Page Styles */
.error-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    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: #000;
    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: #000;
    color: #fff;
}

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

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

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

.search-wrapper {
    display: flex;
    max-width: 500px;
    margin-top: 20px;
}

.search-field {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    outline: none;
    border-color: #000;
}

.search-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #333;
}

.help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.help-option {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.help-option h4 {
    color: #000;
    margin-bottom: 12px;
    font-weight: 600;
}

.help-option p {
    color: #666;
    margin-bottom: 8px;
}

.help-option a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.help-option a:hover {
    text-decoration: underline;
}

/* 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;
        padding: 0 25px;
    }
    
    .booking-form {
        padding: 25px 0;
        margin: 0;
        max-width: 100%;
    }
    
    .hero-booking {
        margin-top: 30px;
        max-width: 100%;
        padding: 0;
    }
    
    .form-group input {
        width: 100%;
        box-sizing: border-box;
    }
    
    .search-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 {
        padding: 20px 0;
        margin: 0;
        border-radius: 8px;
    }
    
    .hero-booking {
        margin-top: 25px;
        max-width: 100%;
        padding: 0;
    }
    
    .form-row {
        padding: 0 20px;
    }
    
    .form-group input {
        padding: 14px 12px;
        font-size: 16px;
    }
    
    .search-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%;
    }
    
    .search-wrapper {
        flex-direction: column;
        max-width: 100%;
    }
    
    .search-field {
        border: 2px solid #e1e5e9;
        border-radius: 6px;
        margin-bottom: 15px;
    }
    
    .search-submit {
        border-radius: 6px;
        width: 100%;
    }
    
    .help-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .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%;
    }
}