@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Sirin+Stencil&display=swap');

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

:root {
    --primary-color: rgb(135, 95, 69);
    --secondary-color: rgb(188, 179, 166);
    --accent-color: hsl(49, 13%, 48%);
    --accent-texture: url("./images/clean-gray-paper.png");
    --surface: rgb(248, 247, 243);
    --text-color:rgb(40, 55, 74);
    --titles: Sirin Stencil;
    --main-font: Raleway;
}

/* SHARED HOVER BEHAVIOUR */

header .cta:hover,
.hero .container a:hover,
.gallery-cta a:hover {
    background-color: hsl(49, 13%, 90%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.workshop-card .card-content a:hover,
.booking-form button:hover,
.feedback-form button:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

nav ul li a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
    font-weight: 600;
}

/* SHARED SECTION TYPOGRAPHY */

.about h2,
.booking-intro h2,
.gallery-intro h2,
.feedback-intro h2{
    font-family: var(--titles);
    font-weight: 700;
    font-size: 32px;
    color: var(--text-color);
}

.about p,
.booking-intro p,
.gallery-intro p,
.feedback-intro p{
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.8;
    text-align: center;
    max-width: 52ch;
}

header{
    background: var(--primary-color);
    color: var(--surface);
    display: flex;
    padding: 50px;
    height: 100px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

header a{
    text-decoration: none;
    color: var(--surface);
}

header .logo{
    font-family: var(--titles);
    font-weight: bold;
    font-size: 64px;
}

header .cta{
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    background-color: var(--surface);
    border-radius: 40px;
    padding: 25px;
}

ul li a{
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 400;
}

nav ul li a:hover{
    text-decoration: underline;
}

nav ul{
display: flex;
gap: 5rem;
}

nav ul li{
    list-style: none;
    padding: 0;
    display: flex;
}

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

.hero{
    background-color: var(--primary-color);
}

.hero .container{
    background-image: url(./images/hero.jpg);
    background-size: cover;
    background-position: 50% 30%;
    height: 630px;
    display: flex;
    align-items:flex-end;
    justify-content: space-between;
    padding: 90px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--surface);
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content h2{
    color: var(--surface);
    font-family: var(--titles);
    font-weight: 700;
    font-size: 36px;
}

.hero .container a{
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 22px;
    color: var(--primary-color);
    background-color: var(--surface);
    border-radius: 40px;
    padding: 25px 35px;
    height: 75px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.about{
    background-color: var(--secondary-color);
    height: 315px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 50px;
}

.workshops{
    background-color: var(--secondary-color);
    height: 700px;
}

.workshops h2{
    font-family: var(--titles);
    font-weight: 700;
    font-size: 32px;
    color: var(--text-color);
}

.workshops .workshop-list{
    display: flex;
    justify-content: space-between;
}

.workshops .container{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.workshop-card{
    display:flex;
    flex-direction: column;
    height: 450px;
    width: 380px;
    gap: 30px;
    background-color: var(--surface);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 9px rgba(0, 0, 0, 0.1);
}

.workshop-card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: 50% 70%;
}

.card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.card-content .card-header{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 38px;
    color: var(--text-color);
    font-family: var(--titles);
    font-size: large;
}

.workshop-card .card-content a{
    color:var(--surface);
    background-color: var(--primary-color);
    text-decoration: none;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 20px;
    border-radius: 40px;
    padding: 18px 25px;
}

.card-content .card-header p{
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 300;
}

.workshops .container p{
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-color);
    align-self: center;
}

.workshops .container .coming-soon{
    font-family: var(--main-font);
    font-weight: 600;
}

.benefit-list{
    background-color: var(--accent-color);
    background-image: var(--accent-texture);
}

.benefit-list .container{
    display: flex;
    gap: 20px;
    /* justify-content: space-between; */
    /* height: 400px; */
    padding: 68px;
    align-items: center;
}

.container .benefit-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 264px;
    width: 278px;
    gap: 30px;
    background-color: var(--surface);
    border-radius: 15px;
    text-align: center;
}

.container .benefit-card p{
    color:var(--text-color);
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 20px;
}

footer {
    background-color: var(--primary-color);
    padding: 40px 0;
}

footer .container{
    display: flex;
    justify-content: space-between;
    align-items:flex-start;
    height: 100%;
}

footer h2{
    font-family: var(--titles);
    color: var(--surface);
    font-size: 32px;
    font-weight: 300;
}

footer h3{
    font-family: var(--titles);
    color: var(--surface);
    font-size: 24px;
    font-weight: 300;
}

footer p{
    font-family: var(--main-font);
    color: var(--surface);
    font-size: 20px;
    line-height: 1.8;
}

.footer-about,
.footer-contact{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 450px;
    height: 100%;
}

.footer-contact{
    padding: 10px 30px;
}

.footer-contact address{
    display: flex;
    flex-direction: column;
    color: var(--surface);
    font-family: var(--main-font);
    font-size: 20px;
    font-style: normal;
    line-height: 1.8;
}

.footer-contact a{
    text-decoration: none;
    color: var(--surface);
}

.footer-social{
    display:flex;
    gap: 30px;
    align-self: center;
}

.footer-social img{
    height: 40px;
    width: 40px;
}

/* BOOKING-SIDE */

.booking-page .booking-intro,
.gallery-intro,
.feedback-intro{
    background-color: var(--secondary-color);
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 48px;
}

.booking-page .booking-workshop-list{
    background-color: var(--accent-color);
    background-image: var(--accent-texture);
}

.booking-workshop-list .container{
    display: flex;
    height: 680px;
    align-items: center;
    gap:50px;
}

.booking-workshop-list .container .workshop-card{
    display:flex;
    flex-direction: column;
    height: 550px;
    width: 380px;
    gap: 30px;
    background-color: var(--surface);
    border-radius: 15px;
    overflow: hidden;
}

.booking-workshop-list .container .workshop-card p{
    font-family: var(--main-font);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
    text-align: center;
}

.booking {
    background-color: var(--secondary-color);
}

.booking .container{
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.booking-form,
.feedback-form{
    width: 100%;
    max-width: 600px;
    margin: 0px auto;
    padding: 30px;
    text-align: left;
    border-radius: 15px;
    background-color: var(--surface);
    border: 1px solid var(--secondary-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-top: 16px;
    font-family: var(--main-font);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color)
}

input,
textarea,
select {
    width: 100%;
    padding: 16px;
    margin-top: 5px;
    background-color: var(--surface);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
}

input[type="date"],[type="time"]{
    color: var(--text-color);
}

select{
    color: var(--text-color);
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 500;
}

.booking-form button,
.feedback-form button{
    color:var(--surface);
    background-color: var(--primary-color);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 20px;
    border-radius: 40px;
    padding: 18px 25px;
    margin-top: 10px;
}

/* GALLERI-SIDE */

.gallery{
    background-color: var(--accent-color);
    background-image: var(--accent-texture);
}

.gallery .container{
display: flex;
flex-wrap: wrap;
gap: 48px;
padding: 48px 0;
}

.gallery .container img{
width: 48%;
height: 500px;
object-fit: cover;
display: block;
border-radius: 5px;
box-shadow: 0px 4px 9px rgba(0, 0, 0, 0.1);
}

.gallery-cta{
    background-color: var(--secondary-color);
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.gallery-cta h2{
    font-family: var(--titles);
    font-weight: 700;
    font-size: 32px;
    color: var(--text-color);
}

.gallery-cta p{
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-color);
    /* line-height: 1.6; */
}

.gallery-cta a{
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
    background-color: var(--surface);
    border-radius: 40px;
    padding: 25px;
    height: 75px;
    width: 180px;
    margin-top: 50px;
    text-decoration: none;
    text-align: center;
}

/* FEEDBACK-SIDE */

.feedback{
    background-color: var(--accent-color);
    background-image: var(--accent-texture);
}

.feedback .container{
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.radio-group input[type="radio"] {
    cursor: pointer;
}

.feedback-form .feedback-question{
    font-family: var(--main-font);
    font-size: 18px;
    color: var(--text-color);
    margin-top: 16px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.checkbox-option input[type="checkbox"] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
}

.feedback-form button{
    margin-top: 15px;
}

.testimonials{
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    align-items: stretch;
    padding: 68px;
}

.testimonials .testimonial-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    background-color: var(--surface);
    border-radius: 15px;
    text-align: center;
    font-family: var(--main-font);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.testimonial-card h3{
    font-size: 1.125rem;
}

.testimonial-card p{
    flex-grow: 1;
}

.rating{
    font-size: 1.3rem;
    margin-top:auto;
}
