/* Global Styles */
:root {
    --primary-color: #2c2621;
    /* Dark Wood */
    --accent-color: #8c7b6c;
    /* Muted Earth */
    --bg-color: #f4f1ea;
    /* Warm Paper/Cream */
    --white: #ffffff;
    --font-heading: 'Playfair Display', 'Noto Serif TC', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--primary-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    width: 50px;
    height: 50px;
    opacity: 0.5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(244, 241, 234, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    /* Slightly darken for text readability */
    z-index: -1;
    transform: scale(1.1);
    transition: transform 10s ease-out;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition);
}

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

/* Common Section Styles */
section {
    padding: 8rem 5%;
}

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

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

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

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 20px 20px 0 var(--accent-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #555;
}

/* Collection Section */
.collection {
    background-color: #edeae3;
    /* Slightly darker beige */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.collection-item {
    position: relative;
    cursor: pointer;
}

.item-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.collection-item:hover .item-image img {
    transform: scale(1.1);
}

.item-info {
    padding: 1.5rem 0;
    text-align: center;
}

.item-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.item-info span {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Visit Section */
.visit {
    text-align: center;
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.visit h2 {
    color: var(--bg-color);
}

.visit p {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
    opacity: 0.8;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.info-item {
    text-align: center;
}

.info-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.social-link {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.social-link:hover {
    border-color: var(--white);
}

/* Footer */
footer {
    background-color: #1a1613;
    /* Very dark */
    color: #888;
    padding: 3rem 5%;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Fix link colors in dark sections */
.visit a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.visit a:hover {
    border-color: var(--white);
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation usually requires JS toggle */
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        box-shadow: 10px 10px 0 var(--accent-color);
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }
}