/* Variables */
:root {
    --primary-color: #d4af37;
    /* Champagne Gold */
    --primary-hover: #b8962e;
    --text-dark: #2c2925;
    --text-light: #6b665f;
    --bg-light: #fbf9f6;
    /* Off-white / Cream */
    --bg-white: #ffffff;
    --border-color: #e8e4db;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-radius: 4px;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 15px 35px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif TC', serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', 'Noto Serif TC', serif;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0;
}

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

.max-w-md {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtle Elements */
.section-subtitle {
    display: block;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.separator {
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 20px 0 30px;
}

.separator.center {
    margin: 20px auto 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 0;
    /* Elegant sharp corners */
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--text-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

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

.btn-link:hover i {
    transform: translateX(5px);
}

.btn-block {
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: white;
    letter-spacing: 2px;
}

.logo span {
    font-weight: 600;
    color: var(--primary-color);
}

header.scrolled .logo {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

header.scrolled .nav-links a {
    color: var(--text-light);
}

.nav-links a:hover,
header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(44, 41, 37, 0.5), rgba(44, 41, 37, 0.3)), url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    margin-top: 50px;
}

.hero h1 {
    font-size: 5rem;
    color: white;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-buttons .btn-link {
    color: white;
}

.hero-buttons .btn-link::after {
    background-color: white;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--bg-white);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.experience-badge .number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.about-text h2 {
    font-size: 2.8rem;
}

.features-list {
    margin-top: 40px;
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Treatments Section */
.treatments {
    background-color: var(--bg-light);
}

.section-title h2 {
    font-size: 2.8rem;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.treatment-card {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.treatment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-img {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 40px 30px;
}

.category {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 15px;
    text-transform: uppercase;
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Environment Section */
.env-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.env-text h2 {
    font-size: 2.8rem;
}

.env-gallery {
    display: flex;
    gap: 20px;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.offset-top {
    margin-top: 60px;
}

.gallery-col img {
    box-shadow: var(--shadow-sm);
}

/* Booking Section */
.booking {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.booking-info h2 {
    font-size: 2.8rem;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-item h5 {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-item p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.booking-form-wrapper {
    background: var(--bg-white);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.booking-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 40px;
}

.footer-logo {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.footer-logo span {
    color: var(--primary-color);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up {
    transform: translateY(40px);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 992px) {

    .about-container,
    .env-layout,
    .booking-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .treatments-grid {
        grid-template-columns: md;
        gap: 30px;
    }

    .env-text {
        order: 1;
    }

    .env-gallery {
        order: 2;
    }

    .experience-badge {
        right: 0;
        bottom: 0;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-container>.btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .booking-form-wrapper {
        padding: 30px 20px;
    }
}