/* ========================= styles.css ========================= */
:root {
    --bg: #0b0b0c;
    --panel: #121214;
    --accent: #c9a45c;
    --text: #eaeaea;
    --muted: #9a9a9a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* ====================== NAVIGATION ====================== */
.hero {
    height: 100vh;
    background: radial-gradient(circle at center, #1a1a1d, #000);
    display: flex;
    flex-direction: column;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    position: relative;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 6px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.hamburger {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--text);
    transition: all 0.35s ease;
    border-radius: 2px;
}

/* Hamburger to X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

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

/* ====================== HERO CONTENT ====================== */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3.8rem;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--muted);
    font-size: 1.2rem;
}

.primary-btn {
    margin-top: 30px;
    padding: 14px 32px;
    background: var(--accent);
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 164, 92, 0.4);
}

/* ====================== SECTIONS ====================== */
.section {
    padding: 110px 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.6rem;
}

.split {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.split .visual {
    flex: 1;
    height: 420px;
    background: linear-gradient(135deg, #1c1c1f, #0d0d0f);
    border-radius: 8px;
    overflow: hidden;
}

.split .visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split .text {
    flex: 1;
}

.dark {
    background: #0f0f11;
}

/* ====================== CONTACT FORM ====================== */
form {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: flex;
    gap: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: #18181b;
    border: 1px solid #2a2a2e;
    color: white;
    border-radius: 6px;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* ====================== COLLECTION ====================== */
.collection-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.collection-image {
    width: 85%;
    max-width: 820px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.labels-row {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.label-item {
    text-align: center;
    max-width: 220px;
}

.label-item h3 {
    margin-bottom: 8px;
    font-size: 1.45rem;
}

.label-item p {
    color: var(--muted);
    font-size: 1.02rem;
}

/* ====================== FOOTER ====================== */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #1f1f22;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ====================== MESSAGES PAGE ====================== */
.messages-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.messages-wrapper h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--accent);
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.message-card {
    background: var(--panel);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #1f1f22;
    transition: all 0.3s ease;
}

.message-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.message-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2a2a2e;
    color: var(--muted);
    font-size: 0.95rem;
}

.message-card .name {
    color: var(--text);
    font-weight: 500;
    font-size: 1.15rem;
}

.message-card .timestamp {
    font-style: italic;
}

.message-card .message-body {
    color: var(--text);
    line-height: 1.7;
    white-space: pre-wrap;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
    font-size: 1.1rem;
}

.empty-state p {
    margin-top: 12px;
}

/* ====================== RESPONSIVE DESIGN ====================== */
@media (max-width: 768px) {
    .nav {
        padding: 20px 30px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 45px;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        z-index: 999;
        padding-top: 80px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        font-size: 1.85rem;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .split {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
    }

    .collection-image {
        width: 92%;
    }

    .labels-row {
        gap: 40px;
    }

    .section {
        padding: 80px 30px;
    }

    .section-title {
        font-size: 2.3rem;
    }

    /* Messages page */
    .message-card {
        padding: 22px;
    }

    .messages-wrapper h2 {
        font-size: 2.2rem;
    }
}