/* Kayak-inspired Design for Auto Mieten Alicante */

:root {
    --primary-color: #007ac2;
    --accent-color: #fcd34d;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Hero - Compact Kayak Style */
.hero {
    background: linear-gradient(135deg, #005a8f 0%, #1b1b1b 50%, #222222 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/hero.webp') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

header {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

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

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    opacity: 0.8;
}

.hero-main {
    padding: 30px 0 25px;
}

.hero-main h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.05rem;
    margin-bottom: 18px;
    opacity: 0.95;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.benefit-item::before {
    content: '✓';
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Widget Container */
.widget-container {
    margin-top: 25px;
    padding-bottom: 25px;
    min-height: 372px;
    max-height: 372px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section {
    padding: 50px 0;
}

section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* How to Rent Section */
.how-to-rent {
    background: var(--bg-light);
}

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

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #0091d9);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.benefit-card h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Why Rent Section */
.why-rent {
    background: var(--bg-light);
}

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

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

.why-rent-text strong {
    color: var(--primary-color);
}

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

/* Pricing Section */
.pricing-intro {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--text-light);
}

.pricing-recommendations {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin-bottom: 40px;
}

.pricing-recommendations h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-recommendations ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.pricing-recommendations li {
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.pricing-recommendations li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.car-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.car-type-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s;
}

.car-type-card:hover {
    transform: translateY(-3px);
}

.car-type-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.car-type-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.car-type-card .period {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Pricing Table */
.pricing-table-container {
    overflow-x: auto;
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

thead {
    background: linear-gradient(135deg, var(--primary-color), #0091d9);
    color: var(--white);
}

th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: var(--text-dark);
}

tbody tr:hover {
    background: #f8f9fa;
}

/* Reviews Section */
.reviews {
    background: var(--bg-light);
}

.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.overall-rating {
    display: inline-block;
    background: var(--white);
    padding: 30px 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stars {
    margin-bottom: 10px;
}

.stars .material-icons {
    color: #fcd34d;
    font-size: 32px;
}

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

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

.review-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.reviewer-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}

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

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating .material-icons {
    font-size: 18px;
    color: #fcd34d;
}

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

/* Traffic Rules Section */
.traffic-rules-container {
    display: grid;
    gap: 30px;
}

.main-rules {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 30px;
    border-radius: var(--border-radius-md);
}

.main-rules h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.main-rules p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.main-rules ul {
    list-style: none;
    padding-left: 0;
}

.main-rules li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-dark);
}

.main-rules li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-card .material-icons {
    font-size: 26px;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Attractions Section */
.attractions {
    background: var(--bg-light);
}

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

.attraction-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.attraction-card:hover {
    transform: translateY(-5px);
}

.attraction-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.attraction-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.attraction-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

/* Top Cars Section */
.top-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    padding: 20px;
}

.car-info {
    padding: 25px;
}

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

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

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

.btn-view-offer {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), #0091d9);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-view-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 194, 0.3);
}

/* FAQ Section */
.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

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

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

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

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

.faq-question:hover {
    background: #f8f9fa;
}

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

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

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

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

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

/* Footer */
.footer-locations {
    background: var(--bg-light);
    padding: 50px 0;
    text-align: center;
}

.footer-locations h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

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

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px 30px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

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

.locations-grid li {
    margin-bottom: 10px;
}

.locations-grid a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.locations-grid a:hover {
    color: #0091d9;
    text-decoration: underline;
}

.locations-grid li:not(:has(a)) {
    color: var(--text-dark);
    font-weight: 600;
}

footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0 20px;
}

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

.footer-copyright {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-seo-text {
    max-width: 800px;
    margin: 0 auto 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

@media (max-width: 768px) {
    .hero-main h1 {
        font-size: 1.8rem;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    section h3 {
        font-size: 1.2rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        gap: 12px;
    }
    
    .steps-grid,
    .benefits-grid,
    .additional-info,
    .attractions-grid,
    .top-cars-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-table-container {
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 10px 8px;
    }

    .widget-container {
      margin-top: 25px;
      padding-bottom: 25px;
      min-height: 372px;
      max-height: unset;
  }
}

@media (max-width: 640px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
    }
    
    .overall-rating {
        padding: 25px 35px;
    }
    
    .rating-number {
        font-size: 3rem;
    }
    
    .car-specs {
        grid-template-columns: 1fr;
    }
}
