/* Google Fonts Import in HTML */

:root {
    /* Color Palette */
    --primary-color: #6a8c69;      /* Calming sage green */
    --primary-dark: #4d684d;       /* Darker green for hover */
    --secondary-color: #d8c9a3;    /* Warm beige/gold */
    --text-main: #333333;          /* Dark gray text */
    --text-muted: #666666;
    --bg-light: #fefcf9;           /* Warm off-white background */
    --bg-section: #f4f2ed;         /* Slightly darker beige for sections */
    --white: #ffffff;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all;
    overflow-wrap: break-word;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-section);
}

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

.mt-2rem {
    margin-top: 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(106, 140, 105, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 140, 105, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-main);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    transition: var(--transition-fast);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-link,
.navbar.scrolled #menu-btn {
    color: var(--text-main);
}

.navbar.scrolled .logo-img {
    filter: none;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 0.5rem;
    display: inline-block;
    word-break: keep-all;
}

.navbar.scrolled .logo-text {
    border-color: rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-mobile-menu {
    display: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: var(--transition-fast);
    z-index: 990;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('./assets/photo4.jpg'); /* Reception desk */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    padding: 0 2rem;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-subtitle-1 {
    font-size: 1.8rem;
    font-weight: 400;
    display: block;
    margin-top: 0.8rem;
    opacity: 0.95;
}

.hero-subtitle-2 {
    font-size: 1.3rem;
    font-weight: 300;
    display: block;
    margin-top: 0.8rem;
    opacity: 0.85;
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title, .about-text .section-desc {
    text-align: left;
    margin-left: 0;
}

.about-text .section-desc {
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}

.stat-number {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #222;
}

.service-text {
    font-size: 1rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    background-image: url('./assets/therapy.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(106, 140, 105, 0.9); /* Primary color overlay */
}

.cta-content {
    position: relative;
    z-index: 10;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-contact-info {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 2rem;
    font-weight: 700;
}

/* Facility Swiper Carousel */
.facility-swiper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.facility-swiper .swiper-slide {
    height: 500px;
}

.facility-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background: rgba(0,0,0,0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.info-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background: var(--bg-section);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.info-text p {
    color: var(--text-muted);
    font-size: 1rem;
}

.phone-number {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin-top: 0.2rem;
}

.sub-text {
    font-size: 0.85rem;
    color: #999;
    display: block;
    margin-top: 0.5rem;
}

.map-container {
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    background-image: url('./assets/therapy.png');
    background-size: cover;
    background-position: center;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-overlay ion-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-address {
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.7);
    padding: 6rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-brand h2 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links p {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.legal-links a {
    margin-left: 1.5rem;
    transition: var(--transition-fast);
}

.legal-links a:hover {
    color: var(--white);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { order: -1; } /* Image above text on mobile */
    .cta-contact-info { font-size: 1.5rem; padding: 1rem 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-menu { display: block; }
    
    .hero-title { font-size: 1.8rem; margin-bottom: 2rem; }
    .hero-subtitle-1 { font-size: 1.3rem; margin-top: 0.6rem; }
    .hero-subtitle-2 { font-size: 1rem; margin-top: 0.6rem; }
    
    .section-title { font-size: 1.8rem; margin-bottom: 1rem; line-height: 1.4; }
    .cta-title { font-size: 2rem; line-height: 1.4; }
    
    .logo-img { height: 50px; }
    .logo-text { font-size: 0.95rem; line-height: 1.3; }
    
    .hero-buttons { flex-direction: column; }
    .section { padding: 4rem 0; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
    .legal-links a { margin: 0 0.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle-1 { font-size: 1.1rem; }
    .hero-subtitle-2 { font-size: 0.9rem; }
    
    .section-title { font-size: 1.6rem; }
    .cta-title { font-size: 1.6rem; }
    
    .logo-img { height: 40px; }
    .logo-text { font-size: 0.85rem; max-width: 150px; }
    
    .section { padding: 3rem 0; }
    .cta-section { padding: 5rem 0; }
    .about-stats { flex-direction: column; gap: 1rem; text-align: center; }
    
    /* Make card layout better on small mobile */
    .team-card, .review-card { padding: 1.5rem; }
    .team-member-card { padding: 1.2rem; }
}

/* Team Section */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.team-card { background: var(--white); padding: 2.5rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); transition: var(--transition-fast); }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.team-header { border-bottom: 2px solid var(--bg-section); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.team-name { font-size: 1.5rem; color: #1a1a1a; display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.team-name span { font-size: 0.85rem; background: var(--primary-color); color: var(--white); padding: 0.3rem 0.8rem; border-radius: 5px; font-weight: 500; }
.team-role { font-weight: 600; color: var(--text-muted); font-size: 0.95rem; }
.team-creds { list-style: none; padding: 0; }
.team-creds li { position: relative; padding-left: 1.5rem; margin-bottom: 0.8rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.team-creds li::before { content: "•"; color: var(--primary-color); position: absolute; left: 0; font-size: 1.2rem; line-height: 1.2; }
.team-members-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.team-member-card { background: var(--white); padding: 2rem; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.05); transition: var(--transition-fast); }
.team-member-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.member-name { font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: #1a1a1a; }
.member-name span { font-size: 0.75rem; background: var(--bg-section); color: var(--text-muted); padding: 0.2rem 0.6rem; border-radius: 5px; }
.member-role { font-weight: 600; font-size: 0.9rem; color: var(--primary-color); margin-bottom: 1rem; }
.member-creds { list-style: none; padding: 0; }
.member-creds li { position: relative; padding-left: 1rem; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.85rem; line-height: 1.4;}
.member-creds li::before { content: "•"; color: var(--primary-color); position: absolute; left: 0; line-height: 1.2; }

/* Reviews Section */
.reviews-swiper {
    padding-bottom: 3rem !important; /* Space for pagination */
}
.review-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1.5rem;
}
.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
}
.reviewer-info h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.2rem;
}
.reviewer-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.review-rating {
    margin-left: auto;
    color: #f59e0b; /* Gold star color */
    font-size: 1.2rem;
    display: flex;
    gap: 0.2rem;
}
.review-body p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1;
}
