/*
Theme Name: Long Term Car Rental Perth
Theme URI: https://longtermcarrental.com.au
Author: SAFEWEBSITE
Author URI: https://safewebsite.com.au
Description: A modern, professional WordPress theme for Long Term Car Rental Perth - featuring vibrant lime green branding, responsive design, and comprehensive car hire functionality. Developed by SAFEWEBSITE.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: longtermcarrental
Tags: car-rental, business, lime-green, responsive, custom-header, custom-menu, featured-images, full-width-template

Long Term Car Rental Perth WordPress Theme, Copyright 2024 SAFEWEBSITE
Developed by SAFEWEBSITE - https://safewebsite.com.au
*/

/* ===================================
   CSS Variables - Brand Colors
   =================================== */
:root {
    --primary-green: #CCFF00;
    --primary-lime: #C6FF00;
    --dark-text: #212121;
    --light-text: #ffffff;
    --accent-black: #000000;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #757575;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-green: rgba(204, 255, 0, 0.9);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-green);
}

ul {
    list-style: none;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 80px 0;
}

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--dark-text);
    box-shadow: 0 4px 15px rgba(204, 255, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-lime);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.4);
    color: var(--dark-text);
}

.btn-secondary {
    background-color: var(--dark-text);
    color: var(--light-text);
    border: 2px solid var(--dark-text);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--dark-text);
}

/* ===================================
   Header Styles
   =================================== */
.site-header {
    background-color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact a {
    margin-left: 20px;
    color: var(--light-text);
}

.header-contact a:hover {
    color: var(--primary-green);
}

.header-main {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    max-width: 180px;
}

.site-logo img {
    width: 100%;
    height: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark-text);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-text) 0%, #424242 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--light-text);
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--light-text);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===================================
   Features Section
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--light-text);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
}

/* ===================================
   Fleet Section
   =================================== */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vehicle-card {
    background: var(--light-text);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--gray-light);
}

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

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-green);
    color: var(--dark-text);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vehicle-content {
    padding: 25px;
}

.vehicle-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.vehicle-category {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.vehicle-features {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

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

.vehicle-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
}

.vehicle-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

.vehicle-price span {
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-weight: 400;
}

/* ===================================
   Booking Form Section
   =================================== */
.booking-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-lime) 100%);
    padding: 60px 0;
}

.booking-form {
    background: var(--light-text);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--light-text);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-name {
    font-weight: 700;
    color: var(--dark-text);
}

.author-rating {
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* ===================================
   Footer Styles
   =================================== */
.site-footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-text);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--dark-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--light-text);
    transform: translateY(-3px);
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary-green);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light-text);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

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

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-contact a {
        margin: 0 10px;
    }

    .hero-section {
        height: 500px;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .booking-form {
        padding: 30px 20px;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .features-grid,
    .fleet-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--primary-green);
}

.bg-green {
    background-color: var(--primary-green);
}

.bg-dark {
    background-color: var(--dark-text);
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}
