/* House of Guanyin - Sacred Space Styles */
/* Root Variables */
:root {
    --primary-color: #2c5f7d;
    --secondary-color: #8b6f47;
    --accent-color: #d4af37;
    --text-dark: #2d2d2d;
    --text-light: #f5f5f5;
    --bg-light: #faf9f6;
    --bg-overlay: rgba(44, 95, 125, 0.85);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Palatino', 'Georgia', serif;
    font-weight: 400;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

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

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(74, 26, 92, 0.85), rgba(107, 45, 122, 0.85)), 
                url('logo-version1.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding-top: 60px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeIn 1.5s ease-in;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-style: italic;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    padding: 2rem;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Watch and Flow Method Section */
.method {
    background: linear-gradient(to bottom, var(--bg-light), white);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.method-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Teachings Section */
.teachings {
    background-color: white;
}

.teaching-item {
    background: var(--bg-light);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
}

.teaching-item h3 {
    color: var(--primary-color);
}

/* Practice Section */
.practice {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.practice h2 {
    color: var(--text-light);
}

.practice-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.practice-step {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.step-number {
    font-size: 3rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.guanyin-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.guanyin-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        display: none;
    }
    
    .about-content,
    .guanyin-content {
        grid-template-columns: 1fr;
    }
    
    .method-grid,
    .practice-steps {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 1rem;
    }
}