/* Custom styles for Bliss Massage */
:root {
    /* Emerald Green Thai Style Palette */
    --dark-green: #0a3826; 
    --mid-green: #12543b;
    --gold: #D4AF37;
    --off-white: #F3F0E9;
    --light-text: #EAE7DC;
}

body {
    font-family: 'EB Garamond', serif;
    background-color: var(--dark-green);
    color: var(--light-text);
}

/* Typography */
h1, h2, h3, .cursive {
    font-family: 'Dancing Script', cursive;
}

.gold-text {
    background: linear-gradient(135deg, #FBF3D5, #D4AF37, #B88B46);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--gold); /* Fallback */
}

.gold-icon {
    color: var(--gold);
}

.section-title {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    border-top: 1px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    background: transparent;
    opacity: 0.8;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #BDB7AB;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5rem;
    font-style: italic;
    font-family: 'EB Garamond', serif;
}

/* Backgrounds & Components */
.gold-bg {
    background-image: linear-gradient(135deg, #E6C66E, #D4AF37, #C19A2E);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gold-bg:hover {
    background-image: linear-gradient(135deg, #f7e08b, #e0bb4e, #cfa53e);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.thai-pattern-bg {
    background-image: url('../../img/thaibg.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.thai-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 42, 39, 0.85); /* Dark green overlay */
    z-index: 1;
}

.thai-pattern-bg > * {
    position: relative;
    z-index: 2;
}

.hero-bg {
    /* Using hero.webp (435KB) instead of hero.jpg (13MB) for massive PageSpeed boost */
    background-image: linear-gradient(rgba(10, 56, 38, 0.6), rgba(10, 56, 38, 0.8)), url('../../img/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* High-end parallax feel */
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.btn {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-glow {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

/* Modal */
.modal {
    transition: opacity 0.3s ease;
}
.modal.hidden {
    opacity: 0;
    visibility: hidden;
}
.modal.visible {
    opacity: 1;
    visibility: visible;
}

/* Custom Animation Keyframes for Loader */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.1; transform: scale(0.95); }
    50% { opacity: 0.3; transform: scale(1.05); }
}
.animate-pulse-slow {
    animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(-5%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
.animate-bounce-subtle {
    animation: bounce-subtle 2s infinite;
}
