:root {
    --bg-color: #F9F7F2; /* Rice paper white */
    --text-color: #2C2C2C; /* Charcoal */
    --accent-color: #8E3535; /* Muted Cinnabar */
    --secondary-color: #5F6F65; /* Muted Green */
    --light-gray: #E0E0E0;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-subheading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

/* Border Frame Effect */
.frame-border {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(44, 44, 44, 0.1);
    pointer-events: none;
    z-index: 1000;
}

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

/* Header */
header {
    padding: 2.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

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

.logo {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-color);
}

.menu {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s ease;
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.menu li a:hover::after {
    width: 100%;
}

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

.hero-content {
    width: 100%;
    padding-top: 5rem;
}

.intro-text {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.main-title .line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.main-title .line:nth-child(1) { animation-delay: 0.2s; }
.main-title .line:nth-child(2) { animation-delay: 0.5s; }
.main-title .line:nth-child(3) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--text-color);
}

/* Section Common Styles */
.section-block {
    padding: var(--spacing-xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-layout.reverse .text-block {
    order: 2;
}

.section-number {
    display: block;
    font-family: var(--font-subheading);
    font-size: 4rem;
    color: rgba(0,0,0,0.05);
    line-height: 1;
    margin-bottom: -1.5rem;
    margin-left: -0.5rem;
    position: relative;
    z-index: -1;
}

h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.btn-link {
    display: inline-block;
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Visual Blocks (CSS Art) */
.visual-block {
    height: 500px;
    position: relative;
    background-color: #F2F0EB;
    overflow: hidden;
}

/* Photography Art */
.abstract-photo .composition-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 70%;
    border: 1px solid #333;
}

.abstract-photo .circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(44, 44, 44, 0.1);
}

.abstract-photo .line-overlay {
    position: absolute;
    bottom: 20px;
    left: -20px;
    width: 120%;
    height: 1px;
    background-color: var(--accent-color);
    transform: rotate(-15deg);
}

/* Flower Art */
.abstract-flower .stem-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 400px;
}

.abstract-flower .stem {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 300px;
    background-color: var(--secondary-color);
    transform: rotate(5deg);
}

.abstract-flower .leaf {
    position: absolute;
    bottom: 100px;
    left: 50%;
    width: 40px;
    height: 80px;
    background-color: rgba(95, 111, 101, 0.2);
    border-radius: 0 50% 0 50%;
    transform: rotate(-45deg);
}

.abstract-flower .flower-head {
    position: absolute;
    top: 80px;
    left: 55%;
    width: 60px;
    height: 60px;
    background-color: rgba(142, 53, 53, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

/* Tradition Art */
.centered-layout {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-layout p {
    margin-left: auto;
    margin-right: auto;
}

.abstract-ink {
    margin: 3rem 0;
    width: 200px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ink-stroke {
    width: 100px;
    height: 200px;
    background: linear-gradient(135deg, #333 0%, rgba(51,51,51,0) 80%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(2px);
    opacity: 0.8;
    transform: rotate(10deg);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-lg) 0;
    background-color: #F2F0EB;
    text-align: center;
}

.contact-info {
    margin: 2rem 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

footer p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: #999;
}

.beian-info {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #999;
}

.beian-info a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-info a:hover {
    color: var(--accent-color);
}

.beian-info .gongan {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 0.25rem;
}

.beian-info img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .grid-layout.reverse .text-block {
        order: 0;
    }
    
    .menu {
        display: none; /* Mobile menu hidden for simplicity in this demo */
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .frame-border {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}
