/* =========================
   BASE
========================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #111111;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

h1 {
    font-size: 50px;
}

p {
    font-size: 20px;
    color: #aaaaaa;
}

button {
    background-color: white;
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}


/* =========================
   HEADER
========================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    border-bottom: 1px solid #333333;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #111111;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 0 50px;
}

.hero-content {
    max-width: 600px;
}

.small-title {
    font-size: 14px;
    letter-spacing: 3px;
    color: #aaaaaa;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 70px;
    line-height: 1.05;
    margin: 0 0 25px;
}

.description {
    font-size: 20px;
    line-height: 1.6;
    color: #aaaaaa;
    max-width: 550px;
    margin-bottom: 35px;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.buttons a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}

.buttons .book-button {
    background-color: white;
    color: black;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    transition: 0.3s;
}

.buttons .book-button:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.hero-image {
    width: 48%;
}

.hero-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}


/* =========================
   SECTIONS
========================= */

.services,
.about,
.gallery,
.contact {
    padding-top: 60px;
    padding-bottom: 60px;
}


/* SERVICES */

.services {
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
    border-top: 1px solid #333333;
}

.services h2 {
    font-size: 50px;
    margin: 10px 0 50px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background-color: #1b1b1b;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    font-size: 26px;
    margin-top: 0;
}

.service-card p {
    color: #aaaaaa;
    line-height: 1.6;
    min-height: 80px;
    flex-grow: 1;
}

.service-card span {
    display: block;
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
}

.service-book {
    display: block;
    margin-top: 22px;
    padding: 13px 20px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}


/* ABOUT */

.about {
    padding-left: 50px;
    padding-right: 50px;
    border-top: 1px solid #333333;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 34px;
    line-height: 1.2;
    margin: 10px 0 30px;
}

.about p {
    color: #aaaaaa;
    line-height: 1.8;
    font-size: 18px;
}


/* GALLERY */

.gallery {
    padding-left: 50px;
    padding-right: 50px;
    border-top: 1px solid #333333;
}

.gallery h2 {
    font-size: 50px;
    margin: 10px 0 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}


/* CONTACT */

.contact {
    padding-left: 50px;
    padding-right: 50px;
    border-top: 1px solid #333333;
}

.contact h2 {
    font-size: 50px;
    margin: 10px 0 60px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 30px;
}

.contact-info p {
    color: #aaaaaa;
    line-height: 1.7;
    margin-bottom: 16px;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background-color: #1b1b1b;
    color: white;
    border: 1px solid #333333;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form button {
    width: fit-content;
    margin-top: 5px;
}

.form-message {
    display: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
}

.form-message.success {
    display: block;
    background-color: #1b3325;
    color: #7ee2a8;
}

.form-message.error {
    display: block;
    background-color: #3a1d1d;
    color: #ff8a8a;
}

.map {
    margin-top: 30px;
    margin-bottom: 40px;
}

.map iframe {
    border-radius: 15px;
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid #333333;
    padding: 50px;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

footer p {
    color: #777777;
    margin: 8px 0;
}

.copyright {
    font-size: 14px;
    margin-top: 25px;
}


/* =========================
   ANIMATIONS
========================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reviews {
    padding: 100px 60px;
    background: #111111;
    text-align: center;
}

.reviews h2 {
    font-size: 48px;
    margin-bottom: 50px;
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 35px 30px;
    text-align: left;
}

.review-card .stars {
    font-size: 22px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.review-card p {
    color: #cccccc;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-card span {
    color: white;
    font-weight: 600;
}  

.review-form {
    display: grid;
    gap: 18px;
    max-width: 600px;
    margin: 40px auto 0;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    box-sizing: border-box;
    background: #181818;
    color: white;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 16px;
    font-size: 16px;
}

.review-form textarea {
    min-height: 140px;
    resize: vertical;
}

.review-form select {
    cursor: pointer;
}

.review-form button {
    background: white;
    color: #111111;
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.review-form button:hover {
    opacity: 0.85;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    header {
        padding: 20px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        font-size: 30px;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        background-color: #111111;
        padding: 25px;
        flex-direction: column;
        gap: 20px;
        border-top: 1px solid #333333;
    }

    header nav.active {
        display: flex;
    }

    .hero {
        position: relative;
        min-height: 620px;
        padding: 45px 25px;
        box-sizing: border-box;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        overflow: hidden;

        background-image:
            linear-gradient(
                to bottom,
                rgba(17, 17, 17, 0.92) 0%,
                rgba(17, 17, 17, 0.78) 35%,
                rgba(17, 17, 17, 0.30) 65%,
                rgba(17, 17, 17, 0.05) 100%
            ),
            url("images/car.jpg");

        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 350px;
    }

    .hero-content .small-title {
        color: #bbbbbb;
        font-size: 12px;
        letter-spacing: 3px;
        margin: 0 0 18px;
    }

    .hero-content h1 {
        color: white;
        font-size: 36px;
        line-height: 1.08;
        margin: 0 0 18px;
    }

    .hero-content .description {
        color: #cccccc;
        font-size: 17px;
        line-height: 1.5;
        margin: 0 0 28px;
    }

    .hero-content .buttons {
        display: flex;
        justify-content: flex-start;
        gap: 18px;
        flex-wrap: nowrap;
    }

    .hero-content .buttons a {
        white-space: nowrap;
    }

    .hero-content .book-button {
        padding: 14px 25px;
    }

    .hero-image {
        display: none;
    }

    .services,
    .about,
    .gallery,
    .contact {
        padding: 70px 20px;
    }

    .services h2,
    .gallery h2,
    .contact h2 {
        font-size: 40px;
    }

    .about h2 {
        font-size: 38px;
    }

    .service-cards,
    .gallery-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 300px;
    }

    .contact-container {
        gap: 40px;
    }

    .contact-form {
        margin-bottom: 40px;
    }

    .contact-form button {
        width: 100%;
    }

    footer {
        padding: 35px 20px 25px;
    }

    .reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reviews {
    padding: 70px 20px;
}

.reviews h2 {
    font-size: 38px;
}

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

.review-card {
    padding: 30px 25px;
}

.review-form {
    width: 100%;
    margin-top: 30px;
}

.review-form input,
.review-form select,
.review-form textarea,
.review-form button {
    width: 100%;
}

}

input[type="date"] {
    color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.review-success {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
}

.review-success.show {
    display: block;
    animation: reviewSuccess 0.4s ease;
}

@keyframes reviewSuccess {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-form {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(-15px);
    transition:
        max-height 0.5s ease,
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s;
}

.review-form {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(-15px);
    transition:
        max-height 0.5s ease,
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s;
}

.review-form.show {
    max-height: 700px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.leave-review-button {
    margin-top: 35px;
    padding: 14px 24px;
    background: transparent;
    color: white;
    border: 1px solid #444;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.leave-review-button:hover {
    background: #1a1a1a;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
}

.review-meta span {
    font-weight: 600;
}

.review-meta small {
    color: #888;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .review-meta {
        align-items: flex-end;
    }

    .review-meta small {
        font-size: 12px;
    }
}
