/* ============================================
   Jeep Rental Kauai Hawaii - Main Stylesheet
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary-color: #2D5016;        /* Forest green (Kauai jungle) */
    --secondary-color: #FF6B35;      /* Sunset orange */
    --accent-color: #F7931E;         /* Tropical yellow-orange */
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Layout */
    --container-max: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

.section-intro {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    color: var(--text-medium);
}

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

.main-nav {
    background: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-tagline {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ============================================
   Buttons
   ============================================ */

.btn,
.cta-button {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary,
.cta-button {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.btn-primary:hover,
.cta-button:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

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

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

.btn-fleet,
.btn-tour {
    background: var(--accent-color);
    color: var(--bg-white);
    width: 100%;
}

.btn-fleet:hover,
.btn-tour:hover {
    background: #E08419;
}

.btn-search {
    background: var(--primary-color);
    color: var(--bg-white);
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

.btn-search:hover {
    background: #234010;
}

.btn-submit {
    background: var(--secondary-color);
    color: var(--bg-white);
    width: 100%;
    font-size: 1.1rem;
}

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

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--bg-white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-features span {
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Trust Signals
   ============================================ */

.trust-signals {
    background: var(--bg-light);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.trust-icon {
    font-size: 1.5rem;
}

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

.partner-logos p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

/* ============================================
   Search Widget Section
   ============================================ */

.search-widget {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F5E9 100%);
}

.search-widget h2 {
    text-align: center;
    color: var(--primary-color);
}

.widget-placeholder {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.search-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

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

.widget-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

/* ============================================
   Pricing Box
   ============================================ */

.pricing-box {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.pricing-box h2 {
    text-align: center;
}

.pricing-table {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.price-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:nth-child(even) {
    background: var(--bg-light);
}

.vehicle-name {
    font-weight: 700;
    color: var(--primary-color);
}

.price-range {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.vehicle-info {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pricing-includes {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-includes p {
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-color);
}

.pricing-disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: var(--spacing-md);
}

/* ============================================
   Fleet Gallery
   ============================================ */

.fleet-gallery {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

.fleet-gallery h2 {
    text-align: center;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.fleet-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.fleet-card.featured {
    border: 3px solid var(--secondary-color);
}

.fleet-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1;
}

.fleet-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fleet-card:hover .fleet-image img {
    transform: scale(1.05);
}

.fleet-card h3 {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.fleet-specs {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.fleet-specs li {
    color: var(--text-medium);
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.fleet-price {
    padding: 0 var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.fleet-card .btn-fleet {
    margin: 0 var(--spacing-md) var(--spacing-md);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

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

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

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: var(--spacing-md);
}

.faq-answer p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Video Section
   ============================================ */

.video-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

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

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
}

.video-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h3 {
    padding: var(--spacing-md);
    margin-bottom: 0;
}

.video-card p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    margin-bottom: 0;
}

/* ============================================
   Destinations Section
   ============================================ */

.destinations {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

.destinations h2 {
    text-align: center;
}

.destinations-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.destination-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--spacing-lg);
}

.destination-card.featured {
    border: 3px solid var(--accent-color);
}

.destination-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.05);
}

.destination-content {
    padding: var(--spacing-lg);
}

.destination-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.destination-meta {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.destination-content p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.destination-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-required {
    background: var(--secondary-color);
    color: var(--bg-white);
}

/* ============================================
   Tours Section
   ============================================ */

.tours-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #E8F5E9 0%, #F8F9FA 100%);
}

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

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.tour-category {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.tour-category h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.tour-category > p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.gyg-widget-placeholder,
.viator-widget-placeholder {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
}

.gyg-widget-placeholder p,
.viator-widget-placeholder p {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.gyg-widget-placeholder ul,
.viator-widget-placeholder ul {
    margin-bottom: var(--spacing-md);
}

.gyg-widget-placeholder li,
.viator-widget-placeholder li {
    padding: 0.25rem 0;
    color: var(--text-medium);
}

/* ============================================
   Why Jeep Section
   ============================================ */

.why-jeep {
    padding: var(--spacing-xxl) 0;
    background: var(--primary-color);
    color: var(--bg-white);
}

.why-jeep h2 {
    text-align: center;
    color: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.why-card {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    transition: background 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.why-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-md);
}

.why-card h3 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.why-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ============================================
   Reviews Section
   ============================================ */

.reviews-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-light);
}

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

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.review-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.review-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.review-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

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

.contact-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-white);
}

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

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--spacing-md);
}

/* ============================================
   Related Searches
   ============================================ */

.related-searches {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.related-searches h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
}

.related-links a {
    background: var(--bg-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.related-links a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

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

.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

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

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--spacing-xs);
}

.affiliate-disclosure {
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto;
}
