/* 
   Eternal-Safe Life Rites - Global Styles
   Brand Identity: Healing Minimalism
*/

:root {
    --primary-gray: #4A4E54;    /* 寂靜沉思灰 */
    --pearl-white: #F8F9FA;     /* 永恆珍珠白 */
    --dawn-gold: #D4AF37;       /* 晨曦微光金 */
    --healing-green: #8F9779;   /* 自然療癒綠 */
    --text-dark: #2C2E31;
    --text-light: #6C757D;
}

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

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', 'Noto Serif TC', serif;
    font-weight: 500;
}

/* Navbar Customization */
.navbar {
    background-color: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 78, 84, 0.1);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-gray) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--primary-gray) !important;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--dawn-gold);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    background-color: var(--primary-gray);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pearl-white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--dawn-gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 2s forwards 1s;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-gray);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 50px;
    height: 2px;
    background-color: var(--dawn-gold);
    margin: 0 auto;
}

/* Cards & Elements */
.card-custom {
    background: white;
    border: none;
    border-radius: 0;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-10px);
}

.btn-gold {
    background-color: transparent;
    border: 1px solid var(--dawn-gold);
    color: var(--dawn-gold);
    padding: 12px 30px;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background-color: var(--dawn-gold);
    color: white;
}

/* Footer */
footer {
    background-color: var(--primary-gray);
    color: var(--pearl-white);
    padding: 80px 0 40px;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: block;
}

.footer-links a {
    color: rgba(248, 249, 250, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--dawn-gold);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Leaf Animation for Hero */
.leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 0 100% 0 100%;
    pointer-events: none;
    z-index: 1;
}
