
/* =========================================
   HOT ROCKS SAUNA
   Main Stylesheet
========================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #f5f3ee;
    color: #171717;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
}


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

:root {
    --black: #171717;
    --charcoal: #202020;
    --off-white: #f5f3ee;
    --stone: #d8d0c3;
    --sand: #e9e1d4;
    --ocean: #263c42;
    --timber: #8a6245;

    --serif: "DM Serif Display", serif;
    --sans: "Inter", sans-serif;

    --container: 1280px;
}


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

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

.section {
    padding: 140px 0;
}

.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 18px;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-label span {
    color: #777;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    position: fixed;
    top: 36px;
    left: 0;

    width: 100%;
    height: 90px;

    padding: 0 5%;

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

    z-index: 1000;

    color: white;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        height 0.4s ease;
}

.navbar.scrolled {
    height: 72px;
    background: rgba(23, 23, 23, 0.96);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: #fff;
    line-height: 1;
}

.logo-name {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.04em;
}

.logo-sub {
    margin-top: 5px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.22em;
    opacity: 0.65;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;

    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links a {
    position: relative;
}

.nav-links a:not(.nav-book)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.3s ease;
}

.nav-links a:not(.nav-book):hover::after {
    width: 100%;
}

.nav-book {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);

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

.nav-book:hover {
    background: white;
    color: var(--black);
}

.menu-toggle {
    display: none;

    width: 38px;
    height: 38px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 1px;

    margin: 6px auto;

    background: currentColor;

    transition: transform 0.3s ease;
}

.promo-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    z-index: 1001;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #f3efe7;
    color: #171717;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.promo-bar strong {
    font-weight: 700;
}


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

.hero {
    position: relative;

    height: 100vh;
    min-height: 700px;

    display: flex;
    align-items: center;

    color: white;

    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    background-image: url("images/sauna-exterior.JPG");

    background-position: 75% center;
    background-size: cover;

    animation: heroZoom 12s ease-out forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 10, 0.82) 0%,
            rgba(8, 10, 10, 0.65) 27%,
            rgba(8, 10, 10, 0.30) 55%,
            rgba(8, 10, 10, 0.08) 80%
        ),
        linear-gradient(
            0deg,
            rgba(8, 10, 10, 0.50) 0%,
            transparent 45%
        );
}

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

    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;

    padding-top: 30px;
}

.hero h1 {
    margin: 18px 0 20px;

    max-width: 800px;

    font-family: var(--serif);
    font-size: clamp(64px, 7.5vw, 118px);
    font-weight: 400;
    line-height: 0.84;
    letter-spacing: -0.045em;

    color: #fff;
}

.hero h1 em {
    font-weight: 400;
}
.hero-description {
    max-width: 440px;

    margin-bottom: 30px;

    font-size: 16px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.82);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding: 17px 24px;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;

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

.button span {
    font-size: 18px;
    line-height: 0;
}

.button-light {
    background: white;
    color: var(--black);
}

.button-light:hover {
    background: var(--black);
    color: white;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    right: 5%;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;

    transform: rotate(90deg);
    transform-origin: right center;
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: white;
}

@keyframes heroZoom {
    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1);
    }
}


/* =========================================
   INTRO
========================================= */

.intro {
    background: var(--off-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

h2 {
    font-family: var(--serif);
    font-size: clamp(55px, 7vw, 100px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.04em;
}

.intro-text {
    align-self: end;
}

.large-text {
    margin-bottom: 25px;

    font-size: 21px;
    font-weight: 300;
    line-height: 1.5;
}

.intro-text p:last-child {
    max-width: 430px;

    color: #666;

    font-size: 14px;
}


/* =========================================
   EXPERIENCE
========================================= */

.experience {
    background: var(--stone);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 90px;
}

.section-heading h2 {
    width: 55%;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.experience-card {
    min-height: 400px;

    padding: 45px;

    border-top: 1px solid rgba(23, 23, 23, 0.25);

    position: relative;

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

.experience-card + .experience-card {
    border-left: 1px solid rgba(23, 23, 23, 0.25);
}

.experience-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
}

.experience-image {
    width: 100%;
    height: 240px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

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

.experience-card h3 {
    margin-bottom: 18px;

    font-family: var(--serif);
    font-size: 40px;
    font-weight: 400;
}

.experience-card p {
    max-width: 300px;

    color: #555;

    font-size: 14px;
    font-weight: 300;
}


/* =========================================
   FEATURE IMAGE
========================================= */

.feature-image {
    position: relative;

    height: 520px;

    display: flex;
    align-items: center;

    color: white;
    overflow: hidden;
}

.feature-image-background {
    position: absolute;
    inset: 0;

    background-image: url("images/water-sunset.JPG");

    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
}

.feature-overlay {
    position: absolute;
    inset: 0;

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

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

    width: min(90%, var(--container));
    margin: 0 auto;
}

.feature-content h2 {
    margin: 20px 0;

    font-size: clamp(60px, 8vw, 120px);
}

.feature-content p:last-child {
    max-width: 400px;

    font-size: 15px;
    font-weight: 300;
}


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

.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    align-items: center;
}

.about-image {
    height: 700px;

    background-image: url(
        images/sauna-person.JPG
    );

    background-size: cover;
    background-position: center;
}

.about-content {
    max-width: 500px;
}

.about-content h2 {
    margin: 30px 0 40px;
}

.about-content p {
    max-width: 430px;

    margin-bottom: 20px;

    color: #666;

    font-size: 15px;
    font-weight: 300;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    margin-top: 25px;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    border-bottom: 1px solid var(--black);
    padding-bottom: 7px;
}

.text-link span {
    font-size: 18px;

    transition: transform 0.3s ease;
}

.text-link:hover span {
    transform: translateX(6px);
}


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

.booking-cta {
    background: #171717;
    color: white;
}

.booking-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
}

.booking-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 10%;
}

.booking-content h2 {
    margin: 18px 0 25px;
    font-size: clamp(52px, 5vw, 78px);
}

.booking-content > p:not(.eyebrow) {
    max-width: 420px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.75);
}

.booking-image {
    min-height: 430px;
    overflow: hidden;
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.booking-cta .button {
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
    background: transparent;
}

.booking-cta .button:hover {
    background: white;
    color: #171717;
}


/* =========================================
   LOCATION
========================================= */

.location {
    background: var(--sand);
}

.location-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;

    align-items: center;
}

.location-content h2 {
    margin: 30px 0;
}

.location-content > p {
    max-width: 430px;

    margin-bottom: 40px;

    color: #666;

    font-size: 15px;
    font-weight: 300;
}

.location-details {
    display: flex;
    gap: 60px;

    margin-bottom: 20px;
}

.location-details div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.location-details span {
    font-size: 9px;
    letter-spacing: 0.15em;
}

.location-details strong {
    font-size: 13px;
    font-weight: 500;
}

.map-placeholder {
    position: relative;
    width: 100%;
    min-height: 520px;

    overflow: hidden;
}

.map-placeholder iframe {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 520px;

    border: 0;
}

.map-content {
    position: absolute;
    inset: 0;

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

    gap: 8px;

    text-align: center;
}

.map-pin {
    margin-bottom: 20px;

    color: var(--ocean);

    font-size: 28px;
}

.map-content strong {
    font-size: 14px;
    letter-spacing: 0.12em;
}

.map-content > span:last-child {
    font-size: 10px;
    letter-spacing: 0.2em;
}


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

.footer {
    padding: 60px 0 30px;

    background: var(--black);
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr 1fr;
    gap: 55px;
    align-items: start;
    padding-bottom: 45px;
}

.footer-signup-text{
    min-width: 0;
}

.footer-signup-text {
    margin: 18px 0 22px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.newsletter-form input {
    width: 100%;
    padding: 14px 0;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-family: inherit;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter-form button {
    padding: 14px 0 14px 20px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
}

.footer-brand p {
    margin-top: 25px;

    color: #999;

    font-size: 13px;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    margin-bottom: 8px;

    color: #777;

    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-links a {
    font-size: 12px;
    color: #ccc;

    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-book p {
    margin-bottom: 20px;

    color: #999;

    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid #333;

    color: #666;

    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-brand img {
    display: block;
    width: 170px;
    height: auto;
    object-fit: contain;
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

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


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

@media (max-width: 900px) {

    .section {
        padding: 100px 0;
    }

    .navbar {
        height: 75px;
    }

    .nav-links {
        position: fixed;
        inset: 0;

        height: 100vh;

        background: var(--black);

        display: flex;
        flex-direction: column;
        justify-content: center;

        gap: 30px;

        font-size: 16px;

        transform: translateX(100%);

        transition: transform 0.4s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .menu-toggle {
        position: relative;
        z-index: 1001;

        display: block;

        color: white;
    }

    .nav-book {
        padding: 15px 25px;
    }

    .hero {
        min-height: 650px;
    }

    .hero h1 {
        font-size: clamp(65px, 17vw, 100px);
    }

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

    .scroll-indicator {
        display: none;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        width: 100%;
        margin-top: 40px;
    }

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

    .experience-card {
        min-height: auto;
        padding: 40px 0;
    }

    .experience-card + .experience-card {
        border-left: 0;
    }

    .card-icon {
        margin-top: 40px;
    }

   .feature-image {
    min-height: 600px;
    }

    .feature-image-background {
        background-size: cover;
        background-position: center 55%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
    background-size: cover;
    background-position: center;
    min-height: 520px;
    }

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

    .booking-content {
        padding: 80px 6%;
    }

    .booking-image {
        min-height: 500px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .map-placeholder {
        min-height: 450px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}


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

@media (max-width: 500px) {

    .container {
        width: 88%;
    }

    .hero-content {
        width: 88%;
    }

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

    .hero-description {
        font-size: 14px;
    }

    h2 {
        font-size: 60px;
    }

    .feature-content h2 {
        font-size: 65px;
    }

    .booking-content h2 {
        font-size: 65px;
    }

    .location-details {
        gap: 35px;
    }

    .about-image {
        height: 400px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* =========================================
   BOOKING MODAL
========================================= */

.booking-modal {
    position: fixed;
    inset: 0;

    z-index: 2000;

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

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.75);

    backdrop-filter: blur(8px);
}

.booking-modal-content {
    position: relative;

    width: min(1000px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;

    background: #f3efe7;

    padding: 55px 60px 60px;

    border-radius: 20px;
}

.booking-modal.active .booking-modal-content {
    transform: translateY(0);
}

.booking-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;

    width: 40px;
    height: 40px;

    border: 0;
    background: transparent;

    font-size: 32px;
    font-weight: 300;

    cursor: pointer;

    color: #171717;
}

.booking-modal-header {
    margin-bottom: 45px;
}

.booking-modal-header h2 {
    margin-top: 15px 0 0;
}

body.modal-open {
    overflow: hidden;
}


/* Mobile */

@media (max-width: 600px) {

    .booking-modal {
        padding: 15px;
    }

    .booking-modal-content {
        padding: 40px 25px;

        max-height: 95vh;
    }

    .booking-modal-close {
        top: 10px;
        right: 15px;
    }

}

/* =========================================
   MOBILE PROMO BAR
========================================= */

@media (max-width: 480px) {
    .promo-bar {
        height: 32px;
        font-size: 8px;
        letter-spacing: 0.1em;
        gap: 6px;
        white-space: nowrap;
    }

    .navbar {
        top: 32px;
    }
}
