/* Exact Original Color Palette & Variables + 1 for new cards */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #141414; /* Added purely for the new service cards */
    --gold: #d4af37;
    --gold-hover: #f1c40f;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
}

/* Reset & Base Styles */
html { scroll-behavior: smooth; } /* Added for smooth nav scrolling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-hover);
}

.gold-text {
    color: var(--gold);
    font-weight: 700;
}

/* Header (Upgraded to Sticky, original styling preserved) */
header {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 15px 0; /* Slightly thinner for sticky nav */
    border-bottom: 2px solid var(--gold);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
}

.taxi-text {
    color: var(--text-main);
}

/* NEW: Nav Links Styling */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--gold);
}

.call-btn {
    background-color: transparent;
    border: 2px solid var(--gold);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.call-btn:hover {
    background-color: var(--gold);
    color: var(--bg-darker);
}

/* Hero & Booking Section (Exact Original, just added padding-top for fixed header) */
.hero {
    padding: 140px 0 60px; /* Increased top padding to push below fixed header */
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 100%);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.booking-card {
    background-color: var(--bg-darker);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
    max-width: 580px;
}

/* NEW: Features Section */
.features {
    padding: 60px 0;
    background-color: var(--bg-darker);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-box {
    padding: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.feature-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* NEW: Services Section */
.services {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.service-card p {
    color: var(--text-muted);
}

/* App Section (Exact Original) */
.app-section {
    background-color: var(--bg-darker);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #222;
}

.app-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.app-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    background-color: #222;
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-btn:hover {
    background-color: #333;
    border-color: var(--gold);
    color: var(--gold);
}

/* Footer (Exact Original) */
footer {
    background-color: var(--bg-dark);
    padding: 40px 0 20px;
    text-align: center;
    border-top: 2px solid var(--gold);
}

.footer-numbers {
    margin-bottom: 20px;
}

.footer-numbers h4 {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 400;
}

.footer-numbers a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.agency-credit {
    font-size: 0.85rem;
    color: #666;
}

.agency-credit a {
    color: #888;
}

.agency-credit a:hover {
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        justify-content: center;
        text-align: center;
    }
    
    .nav-links {
        display: none; /* Hides nav links on mobile to keep header clean for the booking widget */
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .booking-card {
        padding: 10px;
    }
    
    .footer-numbers a {
        display: block;
        margin: 10px 0;
    }
}

/* NEW: Added to bottom to strictly append without touching existing code */
.taxi-checkerboard {
    position: absolute;
    bottom: -14px; /* Drops directly below the existing 2px gold border */
    left: 0;
    width: 100%;
    height: 14px;
    background-color: var(--bg-darker);
    background-image: 
        linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%, var(--gold)),
        linear-gradient(45deg, var(--gold) 25%, transparent 25%, transparent 75%, var(--gold) 75%, var(--gold));
    background-size: 14px 14px;
    background-position: 0 0, 7px 7px;
    border-bottom: 2px solid var(--gold);
}

/* PURE ADDITION: Premium Mobile Responsiveness overrides added below to respect the "no removing" rule */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
        padding: 10px 0;
        text-align: center;
    }
    
    .nav-links {
        display: none; 
    }

    .call-btn {
        width: 100%;
        justify-content: center;
        font-size: 1.15rem;
        padding: 12px;
        background-color: rgba(212, 175, 55, 0.1); 
    }

    .hero {
        padding: 180px 0 40px; 
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .booking-card {
        padding: 5px;
        border-radius: 8px;
        width: 100%;
        border: none; 
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }

    .feature-box, .service-card {
        padding: 20px 15px; 
    }

    .app-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-numbers a {
        display: block;
        margin: 15px 0;
        font-size: 1.3rem;
        padding: 10px 0;
        border-bottom: 1px solid #222;
    }
    
    .footer-numbers a:last-child {
        border-bottom: none;
    }
}

/* Extra breakpoint for very small phones */
@media (max-width: 400px) {
    .logo {
        font-size: 1.6rem;
    }
    .hero-title {
        font-size: 1.7rem;
    }
}

/* PURE ADDITION: Extra clearance for the taller multi-line "Summerside" logo on mobile */
@media (max-width: 768px) {
    .hero {
        padding: 240px 0 40px; 
    }
}