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

:root {
    --primary-color: #007ac2;
    --accent-color: #fcd34d;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

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

a:hover {
    color: #005a91;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--bg-white);
}

h2 {
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.4rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    vertical-align: middle;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--bg-white);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 20px 0 20px;
}

.hero-content .container {
    width: 100%;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--bg-white);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-benefits {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 1rem;
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bg-white);
    font-weight: 500;
    background-color: rgba(0,0,0,0.3);
    padding: 8px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.benefit-item .material-icons {
    color: var(--accent-color);
    font-size: 28px;
}

.widget-container {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.widget-container iframe {
  border-radius: 15px;
}

/* How to Rent Section */
.how-to-rent {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

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

.step-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background-color: var(--bg-light);
    transition: var(--transition);
    position: relative;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-item .material-icons {
    font-size: 48px;
    color: var(--primary-color);
    margin: 1rem 0;
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step-item p {
    color: var(--text-light);
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.benefits-section h2 {
    margin-bottom: 3rem;
}

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

.benefit-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.benefit-card .material-icons {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    margin: 0;
}

/* Why Rent Section */
.why-rent {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.why-rent-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-rent-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.why-rent-text p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.why-rent-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.price-tips {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.price-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price-tips ul {
    list-style: none;
}

.price-tips li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.price-tips li .material-icons {
    color: var(--success-color);
    font-size: 20px;
    margin-top: 2px;
}

.price-categories {
    margin: 2rem 0;
}

.price-categories h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.price-card {
    background-color: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.price-card .material-icons {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-card h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.price-card .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.price-table-wrapper {
    overflow-x: auto;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.price-table thead {
    background-color: var(--primary-color);
    color: white;
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
}

.price-table th {
    font-weight: 600;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.price-table tbody tr:hover {
    background-color: var(--bg-light);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

/* Reviews Section */
.reviews-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.reviews-summary {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.overall-rating {
    text-align: center;
    background-color: var(--bg-light);
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.stars .material-icons {
    color: var(--accent-color);
    font-size: 28px;
}

.overall-rating p {
    color: var(--text-light);
    margin: 0;
}

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

.review-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.reviewer-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.review-rating {
    display: flex;
    gap: 0.1rem;
}

.review-rating .material-icons {
    color: var(--accent-color);
    font-size: 20px;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Traffic Rules Section */
.traffic-rules {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.traffic-main {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.traffic-main h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.traffic-main p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.traffic-main ul {
    list-style: none;
}

.traffic-main li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.traffic-main li .material-icons {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

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

.traffic-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.traffic-card .material-icons {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.traffic-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.traffic-card p {
    color: var(--text-light);
    margin: 0;
}

/* Attractions Section */
.attractions {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

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

.attraction-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.attraction-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.attraction-card h3 .material-icons {
    font-size: 28px;
}

.attraction-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.attraction-distance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    background-color: rgba(0, 122, 194, 0.1);
    padding: 0.8rem;
    border-radius: 8px;
}

.attraction-distance .material-icons {
    color: var(--primary-color);
    font-size: 20px;
}

.attractions-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
    font-size: 1rem;
}

.attractions-note a {
    font-weight: 600;
}

/* Top Cars Section */
.top-cars {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

.car-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.car-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.car-card h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.car-specs {
    text-align: left;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.spec-item .material-icons {
    color: var(--primary-color);
    font-size: 20px;
}

.car-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.btn-view-offer {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-view-offer:hover {
    background-color: #005a91;
    transform: scale(1.02);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .faq-list {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.faq-item {
    background-color: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 122, 194, 0.05);
}

.faq-question h3 {
    color: var(--text-color);
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-question .material-icons {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question .material-icons {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--bg-white);
}

.footer-locations {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.footer-locations h2 {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.footer-locations .material-icons {
    color: var(--primary-color);
}

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

.locations-grid ul {
    list-style: none;
}

.locations-grid li {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.locations-grid a {
    color: var(--primary-color);
    transition: var(--transition);
}

.locations-grid a:hover {
    color: #005a91;
    text-decoration: underline;
}

.footer-main {
    padding: 2rem 0;
}

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

.copyright {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-seo-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin: 1.5rem auto;
    max-width: 800px;
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.footer-nav a {
    color: var(--bg-white);
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .why-rent-content {
        grid-template-columns: 1fr;
    }
    
    .why-rent-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-benefits {
        grid-template-columns: 1fr;
    }
    
    .steps-grid,
    .benefits-grid,
    .price-grid,
    .traffic-grid,
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid,
    .attractions-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-content {
        padding: 1.5rem 0 2rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        font-size: 0.9rem;
    }
    
    .step-item,
    .benefit-card,
    .traffic-card,
    .attraction-card,
    .car-card {
        padding: 1.5rem;
    }
}

/* Page-specific styles for subpages */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005a91 100%);
    padding: 3rem 0;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    margin: 0;
}

.page-content {
    padding: 2rem 0 4rem;
}

.content-section {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-section h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

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

.contact-item .material-icons {
    color: var(--primary-color);
    font-size: 32px;
}

.contact-item-content h3 {
    margin-bottom: 0.5rem;
}

.contact-item-content p {
    color: var(--text-light);
    margin: 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
