/* ===== CSS Variables ===== */
:root {
    --primary-color: #F48FB1;
    --primary-dark: #C2185B;
    --secondary-color: #FFB74D;
    --accent-color: #B39DDB;
    --bg-pastel: #FFF0F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #777777;
    --border-radius: 15px;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Kanit', sans-serif;
    color: var(--text-dark);
    background: #FAFAFA;
    line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Section Padding ===== */
.section-padding { padding: 80px 0; }
.bg-pastel { background: var(--bg-pastel); }

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}
.btn-float {
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}
.btn-float:hover { transform: translateY(-3px); color: var(--white); }
.btn-call { background: #E91E63; }
.btn-line { background: #06C755; }

/* ===== Navbar ===== */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}
.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.logo a span { color: var(--accent-color); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 3px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-dark); }
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #FFF0F5 0%, #F3E5F5 100%);
    padding: 80px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero-text h1 {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-dark);
    margin-bottom: 18px;
}
.hero-text h1 span { color: var(--primary-color); }
.hero-text p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    width: 100%;
    object-fit: cover;
    max-height: 430px;
}

/* ===== Buttons ===== */
.btn {
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Kanit', sans-serif;
}
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(244, 143, 177, 0.4);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); color: var(--white); }
.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.4);
}
.btn-secondary:hover { background: #F57C00; transform: translateY(-3px); color: var(--white); }
.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-color);
}
.btn-outline:hover { background: var(--primary-color); color: var(--white); transform: translateY(-3px); }
.full-width { width: 100%; text-align: center; display: block; }

/* ===== Grids ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* ===== Service Cards ===== */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card h3 { padding: 18px 20px 8px; font-size: 1.1rem; font-weight: 600; color: var(--primary-dark); }
.service-card p { padding: 0 20px 20px; color: var(--text-light); font-size: 0.92rem; }

/* ===== Calculator ===== */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #EEE;
    border-radius: 10px;
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: #FAFAFA;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

/* ===== Steps ===== */
.step-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border-top: 5px solid var(--primary-color);
}
.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.5);
}
.step-card h3 { margin-top: 15px; font-size: 1rem; font-weight: 600; color: var(--primary-dark); }

/* ===== Gallery ===== */
.gallery-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 1;
    transition: var(--transition);
}
.gallery-img:hover { transform: scale(1.03); }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Reviews ===== */
.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 20px;
    text-align: center;
}
.review-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: -50px auto 10px;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== FAQ ===== */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Kanit', sans-serif;
}
.faq-question::after { content: '▼'; font-size: 1rem; color: var(--primary-color); transition: var(--transition); }
.faq-question.active::after { transform: rotate(180deg); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding-bottom: 20px; color: var(--text-light); }

/* ===== Locations ===== */
.loc-section-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.loc-section-title::before { content: '📍'; font-size: 1.5rem; }
.loc-section-title.district-title::before { content: '🏡'; }
.loc-divider { height: 2px; background: var(--accent-color); margin-bottom: 20px; }
.loc-divider.district-divider { background: var(--secondary-color); }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; margin-bottom: 30px; }
.loc-pill {
    background: #FAFAFA;
    border: 1px solid var(--accent-color);
    color: #5a4b81;
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    display: block;
}
.loc-pill:hover { background: var(--accent-color); color: var(--white); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(177,156,217,0.3); }
.loc-pill-district { border-color: #FFB380; color: #b35900; }
.loc-pill-district:hover { background: #FFB380; color: var(--white); box-shadow: 0 4px 10px rgba(255,179,128,0.3); }
.btn-loc-primary {
    background-color: #5E35B1; color: white; padding: 12px 30px;
    border-radius: 30px; font-weight: 500; display: inline-block;
    transition: 0.3s; box-shadow: 0 4px 15px rgba(94,53,177,0.3);
}
.btn-loc-primary:hover { background-color: #4527A0; transform: translateY(-3px); color: white; }
.btn-loc-secondary {
    background-color: #D84315; color: white; padding: 12px 30px;
    border-radius: 30px; font-weight: 500; display: inline-block;
    transition: 0.3s; box-shadow: 0 4px 15px rgba(216,67,21,0.3);
}
.btn-loc-secondary:hover { background-color: #BF360C; transform: translateY(-3px); color: white; }

/* ===== Footer ===== */
.footer {
    background: #2D2D3A;
    color: #CCC;
    padding: 60px 0 0;
}
.footer h3 { color: var(--white); margin-bottom: 15px; font-size: 1.1rem; }
.footer p { font-size: 0.92rem; line-height: 1.9; }
.footer a { color: var(--primary-color); transition: var(--transition); }
.footer a:hover { color: var(--white); }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: #CCC; font-size: 0.92rem; }
.footer ul li a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #888;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; }
    .hero-image img { max-height: 320px; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px; left: 0; right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
    }
    .nav-links.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero-text h1 { font-size: 1.8rem; }
    .section-header h2 { font-size: 1.6rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .form-container { padding: 25px; }
    .floating-cta { bottom: 15px; right: 15px; }
    .footer .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero { padding: 50px 0; min-height: auto; }
    .section-padding { padding: 50px 0; }
    .btn { padding: 11px 22px; font-size: 0.95rem; }
}
