html {
    scroll-behavior: smooth;
}

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

body {
    font-family: Arial, sans-serif;
    color: #222;
    background-color: #f5f0e8;
}

/* NAVIGATION BAR */

.navbar {
    width: 100%;
    height: 75px;

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

    padding: 0 7%;

     background-color: #ede5da;
}

.logo {
    font-family: "Lora", serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #650016;
    text-decoration: none;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    text-decoration: none;
    color: #222;
    font-size: 15px;

    transition: opacity 0.3s;
}

.navbar nav a:hover {
    color: #650016;
}



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

.hero {
    min-height: calc(100vh - 75px);

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

    background-color: #f5f0e8;
}

.hero-overlay {
    text-align: center;
}

.hero-overlay h1 {
    margin: 0;

    font-family: "Lora", serif;
    font-size: clamp(75px, 12vw, 160px);
    font-weight: 400;
    letter-spacing: 8px;

    color: #650016;
}

.hero-overlay p {
    margin-top: 15px;

    font-family: Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 6px;

    color: #650016;
}

.hero-description {
    max-width: 650px;
    margin: 30px auto 0;
    padding: 0 20px;

    font-family: "Lora", serif;
    font-size: 17px;
    line-height: 1.8;
    color: #5d5959;
}

.hero-button {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 30px;

    border: 1px solid #650016;
    border-radius: 30px;

    color: #650016;
    text-decoration: none;

    font-size: 12px;
    letter-spacing: 1px;

    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #650016;
    color: white;
}

@media (max-width: 650px) {
    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-button {
        max-width: 90%;
        padding: 14px 20px;
        font-size: 11px;
        line-height: 1.6;
    }
}



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

.about {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 8%;

    padding: 110px 8%;
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
}

.about-image {
    width: 100%;
    max-width: 480px;

    display: block;
}

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

.about-content h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 65px;
    font-weight: 400;

    margin-bottom: 35px;
}

.about-content p {
    font-family: "Lora", serif;
    font-size: 20px;
    line-height: 1.8;

    margin-bottom: 22px;
}



/* =========================================
   TRENING / NAŠE USLUGE
========================================= */

.training {
    width: 100%;
    padding: 65px 40px 75px;
    background: #f5f0e8;
}

.training-container {
    max-width: 1150px;
    margin: 0 auto;
}



.training-heading {
    text-align: center;
    margin-bottom: 45px;
}

.training-heading > h2 {
    margin: 0;

    font-family: "Lora", serif;
    font-size: 36px;
    font-weight: 400;

    letter-spacing: 0.5px;
    color: #650016;
}

.heading-line {
    width: 55px;
    height: 1px;

    margin: 12px auto 0;

    background: #650016;
}



.service-category {
    margin-bottom: 48px;
}

.category-title {
    margin: 0 0 25px;

    text-align: center;

    font-family: "Lora", serif;
    font-size: 22px;
    font-weight: 500;

    letter-spacing: 1px;

    color: #650016;
}


.training-grid {
    display: grid;

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

    gap: 20px;

    max-width: 800px;
    margin: 0 auto;
}



.nutrition-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
}

.pilates-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}


.training-box {
    position: relative;

    min-height: 245px;

    padding: 18px 25px 22px;

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

    text-align: center;

    background: rgba(255, 255, 255, 0.60);

    border: 1px solid rgba(101, 0, 22, 0.08);

    border-radius: 11px;

    box-shadow:
        0 3px 10px rgba(50, 30, 20, 0.07);

    overflow: hidden;

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


.training-box:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(50, 30, 20, 0.11);
}



.training-icon {
    width: 68px;
    height: 68px;

    flex-shrink: 0;

    margin-bottom: 15px;

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

    border-radius: 50%;

    background: #650016;

    color: white;
}

.training-icon i {
    font-size: 27px;
}


.training-box > h3 {
    margin: 0;

    min-height: 43px;

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

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;

    line-height: 1.4;

    color: #242124;
}




.training-link {
    position: relative;

    margin-top: 22px;

    padding: 0;

    border: none;
    background: transparent;

    cursor: pointer;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.2px;

    color: #650016;
}

.training-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -4px;

    height: 1px;

    background: #650016;

    transition: 0.25s ease;
}

.training-link:hover::after {
    left: 20%;
    right: 20%;
}


    /* =========================================
        OPIS
    ========================================= */

.training-description {
    width: 100%;

    max-height: 0;
    opacity: 0;

    overflow: hidden;

    margin-top: 0;

    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        margin-top 0.45s ease;
}




.training-box.active .training-description {
    max-height: 400px;
    opacity: 1;

    margin-top: 24px;
}



.training-description h4 {
    margin: 0 0 10px;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;

    line-height: 1.4;

    color: #650016;
}



.training-description p {
    margin: 0 auto;

    max-width: 330px;

    font-family: Arial, sans-serif;
    font-size: 13px;

    line-height: 1.6;

    color: #5d5959;
}



@media (max-width: 900px) {

    .training {
        padding: 55px 25px 65px;
    }

    .pilates-grid,
    .nutrition-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 650px) {

    /* NAVBAR */

    .logo {
        display: none;
    }

    .navbar {
        height: 65px;
        padding: 0 20px;
    }

    .navbar nav {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .navbar nav a {
        font-size: 13px;
        white-space: nowrap;
    }

    /* SERVICES */

    .training {
        padding: 45px 18px 55px;
    }

    .training-heading > h2 {
        font-size: 31px;
    }

    .category-title {
        font-size: 20px;
    }

    .training-grid,
    .nutrition-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .training-box {
        min-height: 235px;
    }

}

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

@media (max-width: 800px) {

    .hero {
        height: 40vh;
    }

    .hero-overlay h1 {

    font-size: clamp(55px, 18vw, 85px);
    letter-spacing: 3px;

    }

    .hero-overlay p {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 7%;
    }

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

    .about-content p {
        font-size: 16px;
    }

}

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

.contact-section {
    font-family: "Lora", serif;
    padding: 80px 0 40px;
    background-color: #f5f0e8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;

    gap: 25px;
    padding: 0 20px;
}

.contact-box {

    background: rgba(255, 255, 255, 0.60);


    position: relative;
    min-height: 220px;

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

    padding: 25px 30px;

    border: 1px solid rgba(101, 0, 22, 0.06);
    border-radius: 6px;

    box-shadow: 0 3px 10px rgba(50, 30, 20, 0.05);

    text-align: center;
        transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(50, 30, 20, 0.08);
}

.contact-icon {
    position: absolute;

    top: 22px;
    right: 25px;

    font-size: 30px;
    color: #650016;
}

.contact-box h3 {
    font-size: 20px;
    font-weight: 400;

    margin-bottom: 14px;
}

.contact-line {
    margin-bottom: 20px;
}

.contact-box a {
    text-decoration: none;
    color: #222;

    font-size: 14px;
    line-height: 1.5;

    transition: color 0.3s ease;
}

.contact-box a:hover {
    color: #650016;
}


/* SOCIAL MEDIA */

.social-links {
    display: flex;
    justify-content: center;
    gap: 90px;

    margin-top: 120px;
    padding-bottom: 35px;
}

.social-links a {
    color: #8F4A58;
    text-decoration: none;

    font-size: 62px;

    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #650016;
}


.social-icon {
    width: 50px;
    height: 50px;

    border: 1px solid #222;
    border-radius: 50%;

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

    font-size: 28px;

    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #222;
    color: white;
}


/* MOBILE */

@media (max-width: 800px) {

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

    .contact-section {
        padding: 70px 7% 50px;
    }

    .contact-box {
        min-height: 170px;
    }

}



/* REFORMER PILATES */

.reformer-section {
    padding: 80px 7%;
    background-color: #f5f0e8;
}

.reformer-container {
    max-width: 1150px;
    margin: 0 auto;
}

.reformer-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 45px;
}

.reformer-heading h2 {
    font-family: "Lora", serif;
    font-size: 36px;
    font-weight: 400;
    color: #650016;
    text-align: center;
}

.reformer-line {
    width: 100px;
    height: 1px;
    background-color: #650016;
}

.reformer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reformer-card h3 {
    font-family: "Lora", serif;
    font-size: 22px;
    font-weight: 500;
    color: #650016;
    margin-bottom: 20px;
}

.reformer-card h4 {
    font-size: 13px;
    letter-spacing: 1px;
    color: #650016;
    margin-bottom: 15px;
}

.reformer-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #5d5959;
    margin-bottom: 15px;
}


/* Pricing */


.pricing-section {
    padding: 80px 7%;
    background-color: #f5f0e8;
    text-align: center;
}

.pricing-section h2 {
    font-family: "Lora", serif;
    font-size: 36px;
    font-weight: 400;
    color: #650016;
    margin-bottom: 15px;
}

.pricing-section p {
    font-size: 15px;
    color: #5d5959;
    margin-bottom: 30px;
}

.pricing-button {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #650016;
    border-radius: 50px;
    color: #650016;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background-color: #650016;
    color: white;
}


/* TABLET */

@media (max-width: 900px) {
    .reformer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .reformer-section {
        padding: 55px 7%;
    }

    .reformer-heading {
        gap: 12px;
    }

    .reformer-heading h2 {
        font-size: 26px;
    }

    .reformer-line {
        width: 35px;
    }

    .reformer-container > h2 {
        font-size: 30px;
    }

    .reformer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
