/* Global Styles and Variables */
:root {
    /* Colors based on the image */
    --beige-light: #f6eee3;
    --beige-dark: #e6d8c7;
    --brown: #a38968;
    --text-dark: #3a3026;
    --accent: #4a90a0; /* Blue accent for links and highlights */
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--beige-light);
    font-size: 1.1rem; /* Set base font size for consistent sizing */
}

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

/* Container for content alignment */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm);
}

/* Typography */
h1, h2, h3 {
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem; /* Ensure consistent font size across all pages */
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--brown);
    color: white;
    border-radius: 2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: normal; /* Ensure consistent weight */
}

.btn:hover {
    background-color: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

/* Header and Navigation */
.header {
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(230, 216, 199, 0); /* Start transparent */
    transition: background-color 0.4s ease, color 0.4s ease; /* Smooth transition for both background and color */
}

.header.scrolled, .header.menu-open {
    background-color: rgba(230, 216, 199, 0.95); /* Semi-transparent background when scrolled or menu open */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.burger-menu {
    display: none; /* Hidden by default, will show on mobile */
    cursor: pointer;
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001; /* Higher than the nav list */
    font-size: 1.5rem;
    color: var(--text-dark); /* Changed from white to dark brown */
    text-shadow: none; /* Removed text shadow */
}

.scrolled .burger-menu, .menu-open .burger-menu {
    color: var(--text-dark); /* Color changes when header has background */
    text-shadow: none;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-item {
    margin: 0 var(--spacing-md);
}

.nav-item a {
    font-size: 1.1rem !important; /* Force consistent size across all pages */
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    font-weight: 500;
    text-shadow: none;
    position: relative;
    padding-bottom: 4px;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-item a:hover::after {
    width: 100%;
    opacity: 1;
}

/* Keep the underline visible for active page link */
.nav-item a.active::after {
    width: 100%;
    opacity: 1;
}

.scrolled .nav-item a, .menu-open .nav-item a {
    color: var(--text-dark);
    text-shadow: none;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: auto;
    padding-top: 0; /* Remove padding as header is overlaying */
    display: flex;
    justify-content: center; /* Center the hero image */
    overflow: hidden; /* Prevent any overflow */
    min-height: 400px; /* Ensure minimum height is consistent across pages */
}

.hero-image {
    width: 100%;
    max-width: 1920px; /* Maximum width for ultrawide screens */
    height: auto;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 400px; /* Ensure minimum height is consistent */
}

/* Introduction Section */
.intro-section {
    text-align: center;
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-dark);
}

.intro-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.intro-motto {
    font-size: 1.2rem;
    margin-top: var(--spacing-md);
}

/* Courses Section */
.courses-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-light);
}

.section-title {
    font-size: 1.8rem !important; /* Force consistent size */
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.course-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.course-image {
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    border-radius: 4px;
}

.course-title {
    margin-bottom: var(--spacing-sm);
}

/* About Section */
.about-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-md);
    align-items: center;
}

.about-image {
    width: 100%;
}

.about-text p {
    margin-bottom: var(--spacing-sm);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--beige-dark);
    padding: var(--spacing-lg) 0;
    text-align: left; /* Changed from center to left */
}

.newsletter-text {
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
    font-size: 1.1rem !important; /* Force consistent size */
}

.newsletter-form {
    display: flex;
    flex-direction: row; /* Changed from column to row */
    max-width: 500px;
    margin: 0; /* Changed from auto to 0 */
    gap: 0; /* Remove gap between elements */
}

.newsletter-input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px; /* Only round the left corners */
    background-color: var(--brown);
    color: white;
    font-size: 1rem;
    flex-grow: 1; /* Allow input to take available space */
}

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

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--text-dark);
}

.newsletter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0 4px 4px 0; /* Only round the right corners */
    background-color: var(--text-dark); /* Different color for better contrast */
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.newsletter-btn:hover {
    background-color: #594940; /* Slightly lighter than text-dark */
}

/* Gallery Section */
.gallery-section {
    padding: var(--spacing-md) 0;
    background-color: var(--beige-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Brand Section */
.brand-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-dark);
    text-align: center;
}

.separator {
    height: 1px;
    background-color: var(--text-dark);
    opacity: 0.3;
    margin: 0 auto var(--spacing-lg);
    width: 80%;
    max-width: 800px;
}

.brand {
    margin-bottom: var(--spacing-lg);
}

.brand-title {
    font-size: 2.5rem;
    text-transform: lowercase;
    margin-bottom: var(--spacing-xs);
    font-weight: 300;
}

.brand-subtitle {
    font-size: 1.2rem;
    text-transform: lowercase;
}

/* Contact Information */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-item i {
    width: 24px;
    text-align: center;
}

/* Updated Footer */
.footer {
    padding: var(--spacing-md) 0;
    background-color: #bf7b4d; /* Changed from var(--brown) to a more orange-brown color */
    text-align: center;
    color: var(--text-dark); /* Changed from white to dark brown */
}

.footer a {
    color: var(--text-dark); /* Changed from white to dark brown */
    font-weight: 500; /* Added for better readability */
}

.footer a:hover {
    color: var(--text-dark); /* Changed from white to dark brown */
    opacity: 0.8; /* Keep the hover effect but with dark brown */
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Media Queries for Responsive Design */

/* Ultra-wide screens */
@media screen and (min-width: 1921px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-section {
        height: auto;
    }
    
    .hero-image {
        width: 100%;
        max-width: 1920px; /* Ensure maximum width is enforced */
    }
    
    .hero-image img {
        height: auto;
        object-position: center;
    }
}

/* Desktop and laptop */
@media screen and (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

/* Tablets */
@media screen and (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .nav-item {
        margin: 0 var(--spacing-sm);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 300px;
        margin: 0 auto var(--spacing-md);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xs);
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .burger-menu {
        display: block; /* Show burger menu on mobile */
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        flex-direction: column;
        align-items: center;
        background-color: rgba(230, 216, 199, 0.95);
        overflow: hidden;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
    
    .nav-list.show {
        height: auto;
        opacity: 1;
        visibility: visible;
        padding: calc(var(--spacing-lg) + 50px) 0 var(--spacing-md); /* Extra padding on top for header */
    }
    
    .nav-item {
        margin: var(--spacing-xs) 0;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        transition-delay: 0.1s;
    }
    
    .nav-list.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-list.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-list.show .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-list.show .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-list.show .nav-item:nth-child(4) { transition-delay: 0.4s; }
    
    .nav-item a {
        color: var(--text-dark);
        text-shadow: none;
        font-size: 1.1rem;
        padding: var(--spacing-xs) 0;
    }
    
    /* Other mobile styles */
    .intro-title {
        font-size: 1.8rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        margin-bottom: var(--spacing-md);
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-section {
        margin-top: 0; /* No margin needed as header overlays */
        min-height: 300px; /* Adjusted for mobile */
    }
    
    .hero-image img {
        min-height: 300px; /* Adjusted for mobile */
    }
    
    .newsletter-form {
        width: 90%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    p, .location-text, .teaching-text p, .course-detail-text p, .location-detail-text p {
        font-size: 1rem; /* Consistent mobile font size */
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .container {
        width: 100%;
        padding: var(--spacing-sm);
    }
    
    .intro-title {
        font-size: 1.6rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .intro-motto {
        font-size: 1.1rem;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
    
    .contact-item a {
        font-size: 0.9rem;
    }
}

/* Course Detail Page Styles */
.course-detail-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-light);
}

.course-detail-section.alt-bg {
    background-color: var(--beige-dark);
}

.course-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.course-detail-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.course-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.course-detail-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.course-detail-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    font-size: 1.1rem !important; /* Force consistent size */
}

.course-detail-text .btn {
    align-self: flex-start;
    margin-top: var(--spacing-sm);
}

/* Course Details Info - Modern Style */
.course-details-info {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    background: linear-gradient(145deg, rgba(246, 238, 227, 0.9), rgba(230, 216, 199, 0.8));
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(58, 48, 38, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-details-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(58, 48, 38, 0.12);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 8px 0;
    border-bottom: 1px solid rgba(163, 137, 104, 0.2);
    transition: all 0.3s ease;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item:hover {
    padding-left: 5px;
}

.info-label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--brown);
}

/* Media Queries for Course Detail Sections */
@media screen and (max-width: 992px) {
    .course-detail-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .course-detail-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    #gruppenkurse .course-detail-content {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    .course-detail-text .btn {
        align-self: center;
        width: 100%;
        text-align: center;
    }
    
    .course-details-info {
        padding: var(--spacing-sm);
    }
}

/* Course Gallery Section */
.course-gallery-section {
    padding: var(--spacing-md) 0 var(--spacing-lg);
    background-color: var(--beige-dark);
}

.gallery-action {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Massage Section */
.massage-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-light);
}

.massage-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

.massage-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.massage-image img {
    width: 100%;
    height: auto;
    display: block;
}

.massage-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.massage-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    font-size: 1.1rem !important; /* Force consistent size */
}

.massage-text .btn {
    align-self: flex-start;
    margin-top: var(--spacing-sm);
}

/* Massage Benefits - Modern Style */
.massage-benefits {
    background: linear-gradient(145deg, rgba(246, 238, 227, 0.9), rgba(230, 216, 199, 0.8));
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) calc(var(--spacing-md) + 10px);
    border-radius: 8px;
    margin-top: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(58, 48, 38, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.massage-benefits:hover {
    transform: translateY(-3px);
}

.massage-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--text-dark);
    border-radius: 8px 0 0 8px;
}

.massage-benefits h3 {
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.massage-benefits h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--text-dark);
}

.massage-benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-xs) var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.massage-benefits li {
    margin-bottom: var(--spacing-xs);
    position: relative;
    padding-left: calc(var(--spacing-sm) + 12px);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.massage-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: rgba(163, 137, 104, 0.15);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.massage-benefits li::after {
    content: "✓";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--brown);
    font-weight: bold;
}

.massage-benefits li:hover {
    transform: translateX(3px);
}

.massage-benefits li:hover::before {
    background-color: rgba(163, 137, 104, 0.3);
}

@media screen and (max-width: 768px) {
    .massage-benefits {
        padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-sm) calc(var(--spacing-sm) + 10px);
    }
    
    .massage-benefits::before {
        width: 3px;
    }
    
    .massage-benefits h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .massage-benefits ul {
        gap: var(--spacing-xs);
    }
    
    .massage-benefits li {
        padding-left: var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .massage-benefits li::before {
        width: 16px;
        height: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .massage-benefits li::after {
        left: 4px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
    }
    
    .massage-benefits ul {
        padding-left: 0;
    }
}

/* Location Page Styles */
.course-locations-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-light);
}

.text-left {
    text-align: left;
}

.location-info {
    max-width: 800px;
    margin: 0; /* Changed from 'margin: 0 auto' to left-align with title */
}

.location-title {
    font-size: 1.5rem; /* Increased from 1.3rem for consistency with kurse.html */
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: normal;
    text-align: left; /* Ensure explicit left alignment */
}

.location-title .highlight {
    color: #c26a35; /* Terracotta/orange color for Rostock */
    font-weight: bold;
}

.location-text {
    font-size: 1.1rem !important; /* Force consistent size */
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* Teaching Section */
.teaching-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-dark);
}

.teaching-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.teaching-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

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

.teaching-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.teaching-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    font-size: 1.1rem !important; /* Force consistent size */
}

/* Location Detail Section */
.location-detail-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-light);
}

.location-detail-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.location-detail-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.location-detail-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    font-size: 1.1rem !important; /* Force consistent size */
}

.location-detail-image {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.location-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.location-address {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(145deg, rgba(246, 238, 227, 0.9), rgba(230, 216, 199, 0.8));
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(58, 48, 38, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location-address h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--brown);
}

.location-address p {
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--beige-dark);
    text-align: center;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-content p {
    margin-bottom: var(--spacing-sm);
}

.contact-content .btn {
    margin-top: var(--spacing-sm);
}

/* Media Queries for Location Page */
@media screen and (max-width: 992px) {
    .teaching-content,
    .location-detail-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .teaching-image,
    .location-detail-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .location-text {
        text-align: left;
    }
    
    .location-info .btn,
    .contact-content .btn {
        width: 100%;
        text-align: center;
    }
    
    .location-address {
        padding: var(--spacing-sm);
    }
}

/* Ensure all main content text has consistent size */
.course-detail-text p, 
.teaching-text p, 
.location-text, 
.location-detail-text p, 
.massage-text p,
.contact-content p {
    font-size: 1.1rem !important; /* Force consistent size */
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}
