/* ===================================
   VARIABLES & RESET
   =================================== */

:root {
    --primary-blue: #006BA6;
    --primary-orange: #FF6B35;
    --dark-blue: #003D5C;
    --light-gray: #F8F9FA;
    --light-blue: #E8F4F8;
    --dark-gray: #2C3E50;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    padding-bottom: 80px; /* Space for sticky footer on mobile */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0; /* No sticky footer on desktop */
    }
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: center;
}

/* ===================================
   MOBILE PHONE BAR
   =================================== */

.mobile-phone-bar {
    background: var(--dark-blue);
    color: var(--white);
    padding: 12px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mobile-phone-bar .phone-link {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(rgba(0, 61, 92, 0.7), rgba(0, 61, 92, 0.7)), 
                url('https://chartered-rentals.com/wp-content/uploads/2025/01/DJI_0090-scaled.jpg');
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subheadline {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
}

.service-area-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 15px;
    backdrop-filter: blur(10px);
}

.trust-bar {
    display: flex;
    gap: 30px;
    font-size: 15px;
    margin-top: 20px;
}

.trust-bar span::before {
    content: '';
    display: inline-block;
    margin-right: 8px;
}

.trust-bar-mobile {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.trust-bar-mobile .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-dark);
}

.hero-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

/* ===================================
   FORMS
   =================================== */

.hero-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Montserrat', Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #e55a25;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

.btn-emergency {
    background: var(--primary-orange);
    color: var(--white);
    font-size: 20px;
}

.btn-emergency:hover {
    background: #e55a25;
    transform: scale(1.05);
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
}

/* ===================================
   URGENCY SECTION
   =================================== */

.urgency-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.urgency-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.review-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.stars {
    color: #FFD700;
    font-size: 32px;
    margin-bottom: 10px;
}

.rating-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.review-section blockquote {
    font-style: italic;
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
}

.review-section cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    background: var(--white);
    padding: 80px 0;
}

.services-section h2 {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.services-list {
    list-style: none;
}

.services-list li {
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid #e0e0e0;
}

.services-list li:last-child {
    border-bottom: none;
}

.brands-section {
    text-align: center;
    margin-top: 60px;
}

.brands-section h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.brand {
    padding: 15px;
    background: var(--light-gray);
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-light);
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */

.why-choose-section {
    background: var(--light-blue);
    padding: 80px 0;
}

.why-choose-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.why-card {
    display: flex;
    gap: 20px;
}

.why-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.why-card h3 {
    margin-bottom: 10px;
}

/* ===================================
   MAP SECTION
   =================================== */

.map-section {
    background: var(--white);
    padding: 80px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    background: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.map-placeholder {
    padding: 60px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.map-markers {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.marker {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.map-note {
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
}

.map-description {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.coverage-areas {
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   HOW IT WORKS SECTION
   =================================== */

.how-it-works {
    background: var(--light-gray);
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* ===================================
   EMERGENCY SECTION
   =================================== */

.emergency-section {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0;
}

.emergency-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.emergency-text {
    font-size: 20px;
    margin-bottom: 30px;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */

.final-cta-section {
    background: var(--white);
    padding: 100px 0;
}

.final-cta-section h2 {
    text-align: center;
}

.final-form-container {
    max-width: 500px;
    margin: 0 auto 40px;
}

.alternative-contact {
    text-align: center;
    font-size: 18px;
}

.phone-link-inline {
    color: var(--primary-blue);
    font-weight: 600;
}

.phone-link-inline:hover {
    text-decoration: underline;
}

.hours {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 10px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.8);
}

.footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ===================================
   STICKY FOOTER
   =================================== */

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 12px 0;
    border-top: 3px solid var(--primary-blue);
}

.sticky-footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.sticky-footer-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sticky-footer-btn .btn-icon {
    font-size: 20px;
}

.sticky-footer-btn.phone-btn {
    background: var(--primary-orange);
    color: var(--white);
}

.sticky-footer-btn.phone-btn:hover {
    background: #e55a25;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.sticky-footer-btn.contact-btn {
    background: var(--primary-blue);
    color: var(--white);
}

.sticky-footer-btn.contact-btn:hover {
    background: #005a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Add padding to body to prevent content from being hidden by sticky footer - handled in main body styles above */

/* Hide sticky footer on desktop */
@media (min-width: 769px) {
    .sticky-footer {
        display: none;
    }
}

/* Optimize for mobile */
@media (max-width: 768px) {
    .sticky-footer {
        padding: 10px 0;
    }
    
    .sticky-footer-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .sticky-footer-btn .btn-icon {
        font-size: 18px;
    }
    
    .sticky-footer-btn .btn-text {
        font-size: 14px;
    }
    
    /* Adjust for smaller screens */
    @media (max-width: 360px) {
        .sticky-footer-content {
            gap: 10px;
        }
        
        .sticky-footer-btn {
            padding: 10px 12px;
            font-size: 14px;
        }
        
        .sticky-footer-btn .btn-icon {
            font-size: 16px;
        }
    }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    body {
        font-size: 14px;
    }

    .mobile-phone-bar {
        font-size: 14px;
        padding: 10px 0;
    }

    .hero {
        min-height: auto;
        padding: 40px 0 40px;
    }

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

    .subheadline {
        font-size: 18px;
    }

    .service-area-badge {
        font-size: 13px;
        padding: 10px 15px;
    }

    .hero-form-container {
        padding: 25px 20px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .brand {
        font-size: 12px;
        padding: 10px 5px;
    }

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

    .why-card {
        flex-direction: column;
        text-align: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .btn {
        font-size: 16px;
        padding: 14px 24px;
    }

    .btn-large {
        padding: 16px 24px;
    }

    section {
        padding: 50px 0 !important;
    }

    .map-placeholder {
        min-height: 300px;
        padding: 40px 20px;
    }
}

/* Show/Hide based on screen size */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .hero-cta-mobile {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: flex;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }
}
