:root {
    --primary-bg: #fdfbf7;
    --primary-text: #2c241e;
    --accent-bg: #556b2f;
    --accent-text: #ffffff;
    --secondary-bg: #e8e1d5;
    --secondary-text: #4a3f35;
    --button-color: #8b4513;
    --button-hover: #5d2e0d;
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --border-radius: 4px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

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

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

a {
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.3s ease;
}

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

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

.btn-primary {
    background-color: var(--button-color) !important;
    border-color: var(--button-color) !important;
    color: var(--accent-text) !important;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--button-hover) !important;
    border-color: var(--button-hover) !important;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.2rem, 5vw, 1.75rem);
    }

    body {
        font-size: 0.95rem;
    }

    .break-mobile {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

/* ===== header ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

.nav-link-hover {
    transition: color 0.3s ease;
}

.nav-link-hover:hover {
    color: var(--button-color) !important;
}

/* ===== hero_section ===== */
.hero-section {
    background-color: var(--primary-bg);
}

.hero-bg-container {
    z-index: 1;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(44, 36, 30, 0.85) 0%, rgba(44, 36, 30, 0.4) 100%);
    z-index: 2;
}

.hero-content-z {
    z-index: 3;
}

.js-hero-btn {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.js-hero-btn:hover {
    background-color: var(--button-hover) !important;
    color: var(--accent-text) !important;
    transform: translateY(-2px);
}

.object-fit-cover {
    object-fit: cover;
}

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

#about img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#about img:hover {
    transform: scale(1.03);
}

@media (max-width: 991.98px) {
    #about .display-4 {
        font-size: 2.5rem;
    }
}

/* ===== gallery ===== */
.painting-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.painting-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.productAddBtn:hover {
    background-color: var(--button-hover) !important;
}

.js-open-modal {
    position: relative;
}

.js-open-modal::after {
    content: '\ea4a';
    font-family: 'boxicons';
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-text);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.js-open-modal:hover::after {
    opacity: 1;
}

/* ===== benefits ===== */
.adv-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.adv-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.productAddBtn:hover {
    background-color: var(--button-hover) !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* ===== individual_service ===== */
.custom-order-section {
    padding: 100px 0;
    overflow: hidden
}

.custom-order-img-wrapper {
    position: relative;
    transition: transform 0.5s ease
}

.custom-order-img-wrapper:hover {
    transform: scale(1.02)
}

.js-custom-order-btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2)
}

.js-custom-order-btn:hover {
    background-color: var(--button-hover) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3)
}

.icon-box {
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center
}

/* ===== testimonials ===== */
.reviews-section {
    padding: 100px 0;
}

.review-card {
    background-color: var(--secondary-bg);
    border-radius: 1.25rem;
    padding: 2.5rem;
    height: 100%;
    border: none;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.review-content {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: 700;
    font-size: 1.15rem;
}

.review-date {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== contact_info ===== */
#contacts {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.js-contact-link {
    transition: color 0.3s ease;
}

.js-contact-link:hover {
    color: var(--button-color) !important;
    text-decoration: underline !important;
}

/* ===== footer ===== */
#site-footer a {
    transition: color 0.3s ease-in-out;
}

#site-footer a:hover {
    color: var(--button-color) !important;
}

#site-footer h4,
#site-footer h5 {
    letter-spacing: 0.5px;
}

#site-footer hr {
    border-width: 1px;
}