@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary-color: #2A6478;
    --secondary-color: #A67B5B;
    --bg-color: #ffffff;
    --text-color: #171717;
    --text-muted: #575757;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 20px;
}

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

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(42, 100, 120, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(166, 123, 91, 0.03) 0px, transparent 50%);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, .serif-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

a:hover {
    color: var(--secondary-color);
}

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

/* Header & Navigation */
header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.bento-item {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Wood Grain Subtle Texture Effect */
.bento-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3仿真%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

/* Typography elements */
.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.item-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #1e4a5a;
    transform: scale(1.02);
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #8a6448;
    transform: scale(1.02);
    color: #ffffff;
}

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

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

/* Decorative Accents */
.accent-line {
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 1.5rem 0;
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.large, .bento-item.tall, .bento-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Glassmorphism Navigation */
.nav-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section Animations */
@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.hero-bg-animate {
    animation: heroZoom 30s infinite alternate ease-in-out;
}

@keyframes bounce-slow {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 15px); }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite ease-in-out;
}

.text-shadow-premium {
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Footer Optimization */
footer a {
    transition: color 0.3s ease;
}
footer h4 {
    color: var(--secondary-color);
}