/* =========================================================
   BUGGY ADVENTURES
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #171717;
    line-height: 1.7;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --black: #111111;
    --dark: #181818;
    --dark-grey: #242424;

    --white: #ffffff;
    --light: #f5f5f3;
    --grey: #777777;
    --border: #dddddd;

    --accent: #d9a441;
    --accent-dark: #b98522;

    --max-width: 1200px;

    --shadow:
        0 10px 35px rgba(0, 0, 0, 0.10);

}


/* =========================================================
   GENERAL
========================================================= */

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;

    color: var(--accent);

    margin-bottom: 15px;

    text-transform: uppercase;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2 {
    font-size: 42px;
    line-height: 1.15;

    margin-bottom: 20px;

    font-weight: 800;
}

.section-heading p:not(.section-label) {
    color: var(--grey);
    font-size: 16px;
}


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

.site-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0)
        );

    color: #ffffff;
}

.header-inner {
    min-height: 95px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    width: 150px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 13px;
    font-weight: 600;

    color: #ffffff;

    transition:
        color 0.3s ease;
}

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

.header-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    background: var(--accent);
    color: #111111;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.header-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}


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

.hero {
    position: relative;

    min-height: 850px;

    display: flex;
    align-items: center;

    background:
        url("../images/hero.jpg")
        center center / cover
        no-repeat;

    color: #ffffff;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.48) 50%,
            rgba(0, 0, 0, 0.25) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 100px;

    max-width: 850px;

    margin-left: auto;
    margin-right: auto;
}

.hero-small-title {
    color: var(--accent);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 88px);

    line-height: 0.95;

    font-weight: 800;

    text-transform: uppercase;

    max-width: 850px;

    margin-bottom: 30px;
}

.hero-text {
    max-width: 650px;

    font-size: 18px;

    color: rgba(255, 255, 255, 0.92);

    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: #111111;
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.7);

    color: #ffffff;

    background: rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: #ffffff;
    color: #111111;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: #ffffff;
}

.two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 75px;

    align-items: center;
}

.section-image {
    position: relative;
}

.section-image::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -20px;
    bottom: -20px;

    background: var(--accent);

    z-index: 0;
}

.section-image img {
    position: relative;

    z-index: 1;

    width: 100%;
    height: 520px;

    object-fit: cover;

    box-shadow: var(--shadow);
}

.section-content h2 {
    font-size: 44px;

    line-height: 1.1;

    font-weight: 800;

    margin-bottom: 25px;
}

.section-content p {
    color: var(--grey);

    margin-bottom: 18px;

    font-size: 16px;
}

.text-button {
    display: inline-block;

    margin-top: 15px;

    color: #111111;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    border-bottom: 2px solid var(--accent);

    padding-bottom: 5px;

    transition:
        color 0.3s ease;
}

.text-button:hover {
    color: var(--accent-dark);
}


/* =========================================================
   ADVENTURES
========================================================= */

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

.adventure-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.adventure-card {
    position: relative;

    background: #ffffff;

    padding: 42px 32px 35px;

    border: 1px solid #e8e8e8;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.12);
}

.featured-card {
    border-top: 4px solid var(--accent);
}

.featured-label {
    position: absolute;

    top: 0;
    right: 0;

    padding: 8px 15px;

    background: var(--accent);

    color: #111111;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.card-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111111;

    color: var(--accent);

    font-size: 27px;

    margin-bottom: 25px;
}

.adventure-card h3 {
    font-size: 24px;

    margin-bottom: 15px;

    font-weight: 800;
}

.adventure-card p {
    color: var(--grey);

    font-size: 15px;

    margin-bottom: 25px;
}

.card-details {
    display: flex;

    flex-direction: column;

    gap: 7px;

    padding-top: 18px;

    border-top: 1px solid #eeeeee;

    margin-bottom: 25px;
}

.card-details span {
    color: #555555;

    font-size: 12px;

    font-weight: 600;
}

.card-button {
    display: inline-block;

    background: #111111;

    color: #ffffff;

    padding: 13px 22px;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        background 0.3s ease;
}

.card-button:hover {
    background: var(--accent);

    color: #111111;
}


/* =========================================================
   WHY SECTION
========================================================= */

.why-section {
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.92)
        );

    color: #ffffff;
}

.light-heading h2 {
    color: #ffffff;
}

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.feature {
    text-align: center;

    padding: 25px 15px;
}

.feature-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--accent);

    color: var(--accent);

    font-size: 24px;
}

.feature h3 {
    font-size: 18px;

    margin-bottom: 10px;
}

.feature p {
    color: #aaaaaa;

    font-size: 14px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    background: #ffffff;
}

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.gallery-item {
    height: 360px;

    overflow: hidden;

    background: #eeeeee;

    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #171717,
            #292929
        );

    color: #ffffff;

    text-align: center;
}

.gallery-placeholder span {
    display: block;

    color: var(--accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 8px;
}

.gallery-placeholder strong {
    display: block;

    font-size: 24px;
}


/* =========================================================
   BOOKING
========================================================= */

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

.booking-wrapper {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    gap: 55px;

    align-items: start;
}

.booking-intro h2 {
    font-size: 48px;

    line-height: 1.1;

    font-weight: 800;

    margin-bottom: 20px;
}

.booking-intro > p:not(.section-label) {
    color: var(--grey);

    font-size: 16px;

    max-width: 500px;

    margin-bottom: 35px;
}

.booking-info {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.booking-info div {
    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 14px;

    color: #444444;
}

.booking-info strong {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #111111;

    color: var(--accent);

    font-size: 13px;
}

.booking-form-wrapper {
    background: #ffffff;

    padding: 40px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.form-group label {
    display: block;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;

    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid #dcdcdc;

    background: #ffffff;

    padding: 14px 15px;

    font-size: 14px;

    color: #222222;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(217, 164, 65, 0.12);
}

.booking-summary {
    background: #f7f7f7;

    border-left: 4px solid var(--accent);

    padding: 16px 18px;

    margin: 10px 0 20px;
}

.booking-summary span {
    display: block;

    color: #777777;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 5px;
}

.booking-summary strong {
    display: block;

    font-size: 14px;

    color: #222222;
}

.submit-button {
    width: 100%;

    border: 0;

    background: var(--accent);

    color: #111111;

    min-height: 55px;

    padding: 0 25px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.submit-button:hover {
    background: #111111;

    color: #ffffff;

    transform: translateY(-2px);
}

.secure-payment {
    text-align: center;

    color: #888888;

    font-size: 11px;

    margin-top: 15px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: #ffffff;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;

    align-items: center;
}

.contact-grid h2 {
    font-size: 44px;

    line-height: 1.1;

    font-weight: 800;

    margin-bottom: 20px;
}

.contact-grid p:not(.section-label) {
    color: var(--grey);

    max-width: 550px;
}

.contact-details {
    border-left: 3px solid var(--accent);

    padding-left: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    display: block;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #777777;

    margin-bottom: 4px;
}

.contact-item span {
    display: block;

    font-size: 17px;

    font-weight: 600;

    color: #222222;
}


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

.site-footer {
    background: #111111;

    color: #ffffff;
}

.footer-inner {
    min-height: 150px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-inner p {
    margin-bottom: 5px;

    font-size: 13px;
}

.footer-small {
    color: #777777;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: #aaaaaa;

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition:
        color 0.3s ease;
}

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

.powered-by {
    border-top: 1px solid #292929;

    text-align: center;

    padding: 18px 0;
}

.powered-by p {
    margin: 0;

    color: #777777;

    font-size: 11px;
}

.powered-by a {
    color: var(--accent);

    font-weight: 700;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: 11px;
    }

    .header-button {
        display: none;
    }

    .two-column {
        gap: 40px;
    }

    .adventure-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-intro {
        max-width: 700px;
    }

    .contact-grid {
        gap: 40px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }

    .container {
        width: 92%;
    }


    /* HEADER */

    .site-header {
        position: absolute;
    }

    .header-inner {
        min-height: 80px;
    }

    .logo {
        width: 125px;
    }

    .main-nav {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .btn {
        width: 100%;

        max-width: 300px;
    }


    /* SECTION HEADINGS */

    .section-heading h2 {
        font-size: 34px;
    }


    /* ABOUT */

    .two-column {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .section-image img {
        height: 400px;
    }

    .section-content h2 {
        font-size: 36px;
    }


    /* ADVENTURES */

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


    /* FEATURES */

    .features-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .feature {
        padding: 20px 5px;
    }


    /* GALLERY */

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

    .gallery-item {
        height: 300px;
    }


    /* BOOKING */

    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-form-wrapper {
        padding: 25px 20px;
    }

    .booking-intro h2 {
        font-size: 38px;
    }

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

        gap: 0;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .contact-grid h2 {
        font-size: 36px;
    }


    /* FOOTER */

    .footer-inner {
        min-height: auto;

        padding: 35px 0;

        flex-direction: column;

        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}


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

@media (max-width: 400px) {

    .hero h1 {
        font-size: 44px;
    }

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

    .section-image img {
        height: 330px;
    }

}