/*
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;
}

/* Typography */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* 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: #2c3e50;
    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 #2c3e50;
    outline-offset: 2px;
}

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

    .hero-section {
        background: #2c3e50;
        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;
}

/* Remove sticky header on mobile */
@media (max-width: 768px) {
    .site-header {
        position: relative;
    }
}

.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: #2c3e50;
    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: #3498db;
}

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

.mobile-menu .book-btn {
    margin-top: 30px;
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

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

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

.contact-info a {
    color: #666;
    text-decoration: none;
}

.contact-info a:hover {
    color: #3498db;
}

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

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
}

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

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

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

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn {
    background: #fff;
    color: #2c3e50;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.secondary-btn-hero {
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    display: inline-block;
}

.secondary-btn-hero:hover {
    background: #fff;
    color: #2c3e50;
    transform: translateY(-2px);
}

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

/* Opening Hook - no bottom spacing before Essential Info card */
.content-section.opening-hook {
    padding-bottom: 0;
}
.content-section.opening-hook .article-text,
.content-section.opening-hook p {
    margin-bottom: 0;
}

.alt-bg {
    background: #f8f9fa;
}

.category-section {
    background: #fff;
}

.category-section.alt-bg {
    background: #f8f9fa;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #333;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.alt-bg .category-card {
    background: #fff;
}

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

.card-icon {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #fff;
    background: #3498db;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2937;
}

.card-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    background: #fff;
    padding: 80px 20px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #2c3e50;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    text-align: center;
    color: #fff;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0f2fe;
}

.cta-button {
    background: #fff;
    color: #2c3e50;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-phone {
    margin-top: 20px;
    font-size: 1rem;
    color: #e0f2fe;
}

.cta-phone a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #fff;
}

.cta-phone a:hover {
    border-bottom: 2px solid #fff;
}

/* 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 {
    color: #9ca3af;
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.footer-section strong {
    color: #e0f2fe;
}

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

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

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

.footer-section address {
    font-style: normal;
}

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

.footer-bottom p {
    margin-bottom: 10px;
}

.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: #e0f2fe;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 60px;
    }

    .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;
    }

    .content-section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .category-card {
        padding: 30px 20px;
    }

    .article-text p {
        font-size: 1rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .primary-btn,
    .secondary-btn-hero {
        width: 100%;
        padding: 14px 24px;
        font-size: 16px;
    }

    .content-section {
        padding: 50px 15px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .category-card {
        padding: 25px 20px;
    }

    .faq-section {
        padding: 60px 15px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .site-logo {
        font-size: 18px;
    }

    .cta-section {
        padding: 60px 15px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu,
    .book-now-btn,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
        color: #000;
    }
}
