/* Main Styling */
@import url('https://fonts.googleapis.com/css2?family=Rozha+One&display=swap');

html {
    scroll-behavior: smooth;
}

body, html {
    margin: 0;
    padding: 0;
}

/* Typography Styling */
h1, h2, h3, p, a, .buttona, .custom-placeholder::placeholder {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-style: normal;
}

h1 {
    font-family: "Abril Fatface", serif;
    color: #fcfbf7;
}

h2, h3 {
    font-family: "Abril Fatface", serif;
    color: rgba(29, 29, 29, 0.7);
}

p {
    font-family: "Montserrat", sans-serif;
    color: #555;
}

/* General Link Styling */
a {
    font-family: "Montserrat", sans-serif;
    color: white;
}

/* Button Styling */
.buttona {
    color: white;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 60px; /* Space for fixed header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Add dark overlay for better text readability */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 60px); /* Subtract header height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-content h1 {
    font-family: 'Rozha One', serif;
    font-weight: 400;
    color: #fcfbf7;
    text-align: center;
    word-wrap: break-word;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin: 0 auto 1rem auto;
    line-height: 1.3;
    font-size: 2rem;
}

.hero-content p {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.hero-content a {
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    background-color: #8e7343;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hero-content a:hover {
    background-color: #c9ac82;
}

/* Responsive Design for Hero Section */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
        padding: 0.5rem 1rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-content a {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Tablet and small desktop */
@media (min-width: 768px) and (max-width: 1279px) {
    .hero-content h1 {
        font-size: 3.5rem;
        padding: 0.75rem 1.5rem;
        line-height: 1.3;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .hero-content h1 {
        font-size: 4rem;
        padding: 1rem 2rem;
        line-height: 1.4;
    }
}

/* Mobile Menu Styling */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: white;
    z-index: 1000;
    filter: 
    contrast(1.2) 
    brightness(0.9) 
    saturate(0.8) 
    hue-rotate(10deg) 
    sepia(0.1);
}

#mobile-menu.show {
    transform: translateX(0);
}

.close-menu {
    cursor: pointer;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: none;
    border: none;
    color: #333;
    font-size: 2rem;
    z-index: 1050;
}

/* Parallax Section Styling */
.parallax-section {
    position: relative;
    height: 80vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Content Overlay */
.content-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 8px;
    z-index: 2;
    color: white;
}

/* Hover Card */
.hover-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.hover-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-card:hover .hover-card-overlay {
    opacity: 1;
}

/* Responsive Section for Practice */
#practice-at-home {
    background-color: #f6f5eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.about-text-wrapper {
    border: 0.5px solid #c9ac82;
    padding: 20px;
    max-width: 100%;
}

.about-text-wrapper p {
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (min-width: 1024px) {
    #practice-at-home .container {
        max-width: 900px;
    }
}

/* Kind Words/Testimonials Section */
#kind-words {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
}

.testimonial {
    position: relative;
    padding: 30px;
    background: #fff;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.quote-mark {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(142, 115, 67, 0.2);
    font-family: "Georgia", serif;
    line-height: 1;
}

.testimonial blockquote {
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4B5563;
    margin: 20px 0;
    padding-left: 40px;
    font-family: "Montserrat", sans-serif;
}

.testimonial .author {
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    color: #8e7343;
    margin-top: 20px;
    padding-left: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .testimonial {
        margin-bottom: 30px;
    }
}