:root {
    --primary-background: #FDFBF7;
    --primary-text: #1A1A1A;
    --secondary-background: #111827;
    --secondary-text: #F9FAFB;
    --accent-color: #B45309;
    --accent-text: #FFFFFF;
    --muted-text-on-light: #4B5563;
    --muted-text-on-dark: #D1D5DB;
    --border-color: #E5E7EB;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--primary-background);
    color: var(--primary-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    h2 {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }

    .label-text,
    .text-sm,
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

button,
.btn {
    cursor: pointer;
    border: none;
    transition: transition 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.1s ease-in-out;
}

button:active,
.btn:active {
    transform: scale(0.95);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
}

.modal-box {
    border-radius: 0.125rem;
}

/* ===== header_section ===== */
#header {
    overflow: hidden
}

#header a,
#header button {
    outline: none;
    hyphens: auto
}

.js-mobile-menu {
    transition: max-height 0.3s ease-in-out
}

.js-mobile-menu.block {
    animation: mobileMenuFade 0.3s ease-out
}

@keyframes mobileMenuFade {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

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

/* ===== hero_section ===== */
#hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

#hero h1 {
    color: var(--secondary-text);
}

#hero p {
    color: var(--muted-text-on-dark);
}

#hero .bg-accent {
    background-color: var(--accent-color);
    color: var(--accent-text);
}

.js-hero-btn {
    text-decoration: none;
}

/* ===== gallery_grid ===== */
.modal-box {
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.js-view-detail {
    transition: all 0.3s ease;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

.btn-outline:hover {
    color: var(--accent-text) !important;
}

/* ===== future_announcements ===== */
#future-works {
    background-color: var(--primary-background);
}

.productAddBtn:active {
    transform: scale(0.98);
}

.hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ===== categories_section ===== */
.hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}

.js-open-modal:hover img {
    transform: scale(1.05);
}

/* ===== about_section ===== */
#about {
    overflow: hidden;
}

#about h2 {
    line-height: 1.2;
    hyphens: auto;
}

#about p {
    line-height: 1.6;
}

/* ===== contact_section ===== */
#contact {
    overflow: hidden;
    position: relative;
}

.bi {
    line-height: 1;
}

.container {
    max-width: 1200px;
}

/* ===== shopping_cart ===== */
#cart-modal .modal-box {
    border-radius: 8px;
}

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

#cart-modal .js-cart-items::-webkit-scrollbar {
    width: 4px;
}

#cart-modal .js-cart-items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

/* ===== footer_section ===== */
#footer .js-footer-nav-link:hover,
#footer .js-policy-link:hover {
    color: var(--accent-color) !important;
}

#footer a,
#footer p,
#footer span {
    hyphens: auto;
    line-height: 1.3;
}