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

:root {
    --primary-red: #EE3124;
    --primary-blue: #0088D1;
    --primary-yellow: #FFC600;
    --primary-green: #00A651;
    --dark-gray: #2C2C2C;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

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

.top-bar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.top-bar .logo {
    height: 60px;
    width: auto;
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 8px solid var(--primary-red);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.08);
    transform: scale(1.05);
    animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.05);
        filter: brightness(0.95) contrast(1.08);
    }
    100% {
        transform: scale(1.12);
        filter: brightness(1) contrast(1.1);
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #e20000;
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem auto 3rem;
    max-width: 800px;
    box-shadow: 0 6px 20px rgba(226, 0, 0, 0.3);
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.info-card p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.info-card-note {
    font-size: 0.95rem !important;
    opacity: 0.9 !important;
    margin-top: 1rem !important;
    line-height: 1.5;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--light-gray);
    cursor: pointer;
}

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

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

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.card-button {
    background: #cb000e;
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.card-button:hover {
    background: #a00009;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(203, 0, 14, 0.4);
}

.card-rating {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

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

.star {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.star.filled {
    color: var(--primary-blue);
}

.star.half {
    background: linear-gradient(90deg, var(--primary-blue) 50%, #d0d0d0 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.star.empty {
    color: #d0d0d0;
}

.rating-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.terms-section {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
}

.terms-title {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.terms-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.app-store-section {
    margin-top: 3rem;
    text-align: center;
}

.app-store-section img {
    max-width: 150px;
    width: 100%;
    height: auto;
}

.back-button {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: var(--primary-red);
    transform: translateX(-5px);
}

.fuel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.fuel-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fuel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.fuel-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.fuel-label {
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    background: var(--white);
}

.confirmation-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.confirmation-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.confirmation-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.confirmation-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.confirmation-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.check-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.confirmation-message p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.address-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.address-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.address-box p {
    margin: 0;
    color: var(--text-dark);
}

.confirmation-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

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

.btn-primary:hover {
    background: #d42a1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 49, 36, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.success-container {
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

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

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-image {
        content: url('./public/2 copy.png');
    }

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

    .info-card {
        padding: 1.5rem;
        margin: 1.5rem auto 2rem;
    }

    .info-card h3 {
        font-size: 1.4rem;
    }

    .info-card p {
        font-size: 1rem;
    }

    .info-card-note {
        font-size: 0.85rem !important;
    }

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

    .app-store-section img {
        max-width: 100%;
    }

    .fuel-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .confirmation-container {
        grid-template-columns: 1fr;
    }

    .confirmation-buttons {
        flex-direction: column;
    }

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

    .modal-content {
        width: 92%;
        padding: 1.75rem;
    }

    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .fuel-grid {
        gap: 1rem;
    }
}

.footer {
    background: #425f69;
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .app-store-section img {
        max-width: 100px;
    }

    .top-bar .logo {
        height: 50px;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
    }

    .modal-content h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input {
        padding: 0.65rem;
        font-size: 0.9rem;
    }

    .modal-buttons {
        flex-direction: column;
        margin-top: 1.5rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}
