/* ===================================
   Idarides LLC - Main Stylesheet
   Logo-Matched Color Scheme
   =================================== */

:root {
    /* Logo Colors - Primary */
    --logo-teal: #007072;
    --logo-gold: #D4A441;
    
    /* Derived Colors */
    --teal-dark: #005456;
    --teal-light: #009296;
    --gold-dark: #B8872E;
    --gold-light: #E6BA65;
    
    /* Theme Colors */
    --primary: #007072;
    --secondary: #D4A441;
    --accent: #005456;
    --highlight: #E6BA65;
    
    /* Neutral Colors */
    --dark: #1f2937;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    
    /* Shadows */
    --shadow: 0 4px 6px -1px rgba(0, 112, 114, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 112, 114, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-ida {
    color: #0d9488;
    font-weight: 900;
}

.logo-rides {
    color: #115e59;
    font-weight: 900;
}

.logo-llc {
    font-size: 0.6rem;
    color: #d97706;
    font-weight: 700;
    margin-left: 3px;
    vertical-align: super;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
    background: #FFFFFF;
    padding: 5px;
}

.logo-image-large {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    background: #FFFFFF;
    padding: 10px;
}

.logo-icon {
    position: relative;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--logo-teal), var(--teal-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    position: absolute;
    color: var(--white);
}

.logo-icon .fa-mountain {
    font-size: 1.2rem;
    left: 8px;
    top: 10px;
}

.logo-icon .fa-car {
    font-size: 0.9rem;
    right: 6px;
    bottom: 8px;
}

.logo-text {
    letter-spacing: -0.5px;
}

.logo-text .llc {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--logo-gold);
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--logo-teal);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--logo-teal);
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    background: var(--logo-teal);
    color: var(--white) !important;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-admin {
    background: var(--teal-dark);
}

.btn-admin:hover {
    background: #064e3b;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--logo-teal);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--logo-teal) 0%, var(--teal-dark) 100%);
    background-image: 
        linear-gradient(135deg, rgba(0, 112, 114, 0.95) 0%, rgba(0, 84, 86, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23007072" fill-opacity="0.2" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.booking-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.booking-card h3 {
    color: var(--logo-teal);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.booking-card h3 i {
    margin-right: 10px;
    color: var(--logo-gold);
}

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

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

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 5px;
    color: var(--logo-teal);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

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

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-large i {
    margin-right: 8px;
}

.hero-features {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--logo-teal);
}

/* ===================================
   Sections
   =================================== */

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--logo-teal);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ===================================
   Vehicles Section
   =================================== */

.vehicles-section {
    background: var(--light-gray);
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-primary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--logo-teal);
    color: var(--white);
    border-color: var(--logo-teal);
    transform: translateY(-2px);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.vehicle-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vehicle-image {
    height: 200px;
    background: linear-gradient(135deg, var(--light-gray), var(--border-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--logo-teal);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.vehicle-badge.available {
    background: var(--accent-secondary);
}

.vehicle-badge.rented {
    background: var(--idaho-sunset);
}

.vehicle-info {
    padding: 1.5rem;
}

.vehicle-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--logo-teal);
}

.vehicle-category {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vehicle-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.vehicle-feature i {
    color: var(--logo-teal);
}

.vehicle-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid var(--light-gray);
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--logo-teal);
}

.vehicle-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-rent {
    padding: 0.75rem 1.5rem;
    background: var(--logo-teal);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-rent:hover {
    background: var(--idaho-blue);
    transform: scale(1.05);
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--logo-teal);
}

/* ===================================
   How It Works
   =================================== */

.how-it-works {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--idaho-sky));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.step-icon {
    font-size: 3rem;
    color: var(--logo-teal);
    margin: 2rem 0 1rem;
}

.step-card h3 {
    color: var(--logo-teal);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Features Section
   =================================== */

.features-section {
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 3rem;
    color: var(--logo-teal);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--logo-teal);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--logo-teal);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--logo-teal);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--idaho-blue), var(--idaho-sky));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
}

.image-placeholder .fa-mountain {
    left: 30%;
    top: 20%;
}

.image-placeholder .fa-car {
    right: 25%;
    bottom: 30%;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--logo-teal);
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--logo-teal);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    background: white !important;
    padding: 10px 15px;
    border-radius: 8px;
    display: block;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--idaho-sky);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--logo-teal);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .booking-card {
        padding: 1.5rem;
    }
    
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        position: relative;
        bottom: auto;
        transform: none;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ===================================
   Utilities
   =================================== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.hidden {
    display: none;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}
