:root {
    --main-bg: #FFFFFF;
    --main-text: #212529;
    --secondary-text: #6C757D;
    --secondary-bg: #F8F9FA;
    --secondary-bg-text: #495057;
    --dark-accent-bg: #1B263B;
    --dark-accent-text: #F8F9FA;
    --dark-accent-secondary: #DEE2E6;
    --accent-color: #B8860B;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --font-headings: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-speed: 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--main-text);
    background-color: var(--main-bg);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

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

a:hover,
a:focus {
    text-decoration: none;
    color: var(--accent-color);
}

button {
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed);
    outline: none;
}

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

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

/* Cookie Banner Styles */
.js-cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.js-cookie-consent-banner {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.js-cookie-consent-content h4 {
    margin-top: 0;
}

.js-cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.js-cookie-consent-option {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.js-cookie-btn-primary {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.js-cookie-btn-secondary {
    background: #6c757d;
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.js-cookie-btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    h1 {
        font-size: calc(1.8rem + 1vw);
    }

    h2 {
        font-size: calc(1.5rem + 0.8vw);
    }

    h3 {
        font-size: calc(1.2rem + 0.5vw);
    }

    .js-cookie-consent-banner {
        padding: 20px;
        width: 100%;
    }

    .js-cookie-consent-buttons button {
        width: 100%;
    }
}

/* ===== header ===== */
#main-header {
    font-family: sans-serif;
}

#main-header a:hover {
    color: var(--accent-color) !important;
}

#main-header .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

#main-header a.btn,
#main-header a.btn:hover,
#main-header a.btn:focus,
#main-header a.btn:active,
.js-mobile-link.btn,
.js-mobile-link.btn:hover,
.js-mobile-link.btn:focus,
.js-mobile-link.btn:active {
    color: #ffffff !important;
    background-color: var(--accent-color) !important;
}

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

.js-mobile-link:hover {
    color: var(--accent-color) !important;
}

.gap-4 {
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .js-mobile-link {
        font-size: 1rem !important;
        line-height: 1.2;
    }
}

/* ===== hero_section ===== */
#hero .hero-title {
    color: var(--dark-accent-text);
    font-weight: 700;
    line-height: 1.2;
    hyphens: auto;
}

#hero .hero-subtitle {
    color: var(--dark-accent-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

#hero .btn-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    padding: 14px 36px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

#hero .btn-custom:hover {
    background-color: #9b7209;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

@media (max-width: 767.98px) {
    #hero .hero-title {
        font-size: 1.125rem;
        line-height: 1.3;
    }

    #hero .hero-subtitle {
        font-size: 0.875rem;
    }

    #hero .btn-custom {
        padding: 10px 24px;
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    #hero .hero-title {
        font-size: 3.5rem;
    }

    #hero .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* ===== about_concept ===== */
#about .display-6 {
    font-size: 2.25rem;
}

#about h3 {
    line-height: 1.2;
}

@media (max-width: 767px) {
    #about {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    #about .display-6 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    #about h3 {
        font-size: 0.875rem !important;
        line-height: 1.3 !important;
    }

    #about p {
        font-size: 0.875rem !important;
    }

    #about #concept-image-container {
        height: 280px !important;
    }
}

/* ===== product_catalog ===== */
#catalog .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

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

#catalog .btn:hover {
    background-color: var(--accent-color) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    #catalog h2 {
        font-size: 1rem;
    }

    #catalog h3 {
        font-size: 0.875rem;
    }

    #catalog p {
        font-size: 0.8rem;
    }
}

/* ===== interior_transformation ===== */
#transformation {
    background-color: var(--secondary-bg);
}

.transformation-title {
    font-size: calc(1.5rem + 1vw);
    hyphens: auto;
}

.transformation-text {
    font-size: 1.1rem;
}

.transformation-img-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

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

@media (max-width: 767px) {
    .transformation-title {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    .transformation-text {
        font-size: 0.875rem !important;
    }

    #transformation h3 {
        font-size: 0.875rem !important;
    }

    .transformation-img-container {
        height: 300px;
    }
}

/* ===== popular_categories ===== */
#categories .category-card-wrapper {
    text-decoration: none;
    display: block;
}

#categories .category-card {
    height: 380px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s ease;
    box-shadow: var(--box-shadow);
}

#categories .category-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

#categories .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
    transition: background 0.3s ease;
}

#categories .category-inner {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

#categories .category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s ease;
}

#categories .category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    hyphens: auto;
}

#categories .category-card-wrapper:hover .category-bg-img {
    transform: scale(1.1);
}

#categories .category-card-wrapper:hover .category-overlay {
    background: rgba(0, 0, 0, 0.35);
}

#categories .category-card-wrapper:hover .category-inner {
    transform: translateY(-5px);
}

#categories .category-card-wrapper:hover .category-icon {
    transform: scale(1.1);
}

@media (max-width: 767.98px) {
    #categories {
        padding: 40px 0;
    }

    #categories h2 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    #categories .category-title {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #categories .category-card {
        height: 280px;
    }

    #categories .category-icon {
        font-size: 2rem;
    }
}

/* ===== quality_benefits ===== */
#advantages {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, #ffffff 100%);
}

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

@media (min-width: 992px) {
    .col-lg-custom-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 767.98px) {
    #advantages h2 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    #advantages h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #advantages p {
        font-size: 0.8rem !important;
    }

    .adv-card {
        padding: 1.5rem !important;
    }
}

/* ===== selection_guide ===== */
#guide {
    hyphens: auto;
}

.guide-title {
    font-size: 2rem;
    line-height: 1.2;
}

.guide-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.guide-item-title {
    font-size: 1.25rem;
}

.guide-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

@media (max-width: 767px) {
    .guide-title {
        font-size: 1rem !important;
        line-height: 1.1;
    }

    .guide-item-title {
        font-size: 0.875rem !important;
    }

    .guide-text {
        font-size: 0.85rem;
    }

    .guide-subtitle {
        font-size: 0.9rem;
    }
}

/* ===== service_details ===== */
#service h2 {
    font-size: 2rem;
    line-height: 1.2;
}

#service h3 {
    font-size: 1.25rem;
    line-height: 1.3;
}

#service p {
    hyphens: auto;
}

@media (max-width: 767.98px) {
    #service {
        padding: 40px 0;
    }

    #service h2 {
        font-size: 1rem !important;
    }

    #service h3 {
        font-size: 0.875rem !important;
    }

    #service .p-4 {
        padding: 1.5rem !important;
    }

    #service .fab {
        font-size: 2rem !important;
    }
}

#service .h-100:hover {
    transform: translateY(-5px);
}

/* ===== client_reviews ===== */
#reviews h2 {
    font-size: 1.75rem;
}

@media (max-width: 767px) {
    #reviews {
        padding: 40px 0;
    }

    #reviews h2 {
        font-size: 1rem;
        line-height: 1.2;
    }

    #reviews h3 {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #reviews p {
        font-size: 0.875rem;
    }
}

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

/* ===== contact_and_order ===== */
#order-form h2,
#order-form h3 {
    hyphens: auto;
    line-height: 1.2
}

#order-form input::placeholder,
#order-form textarea::placeholder {
    color: var(--secondary-text);
    opacity: 0.7
}

#order-form .form-control:focus,
#order-form .form-select:focus {
    box-shadow: none;
    border: 1px solid var(--accent-color)
}

#order-form .btn:hover {
    filter: brightness(1.1);
    transition: all 0.3s ease
}

@media(max-width:767px) {
    #order-form h2 {
        font-size: 1rem
    }

    #order-form h3 {
        font-size: 0.875rem
    }

    #order-form .container {
        padding-left: 15px;
        padding-right: 15px
    }
}

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

#main-footer a:hover {
    color: var(--accent-color) !important;
}

#main-footer .footer-logo {
    display: block;
    object-fit: contain;
}

@media (max-width: 767px) {

    #main-footer h2,
    #main-footer h3 {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #main-footer .footer-main-nav ul {
        padding: 0;
    }

    #main-footer .footer-main-nav li {
        display: block;
        margin-bottom: 10px;
    }

    #main-footer .legal-links-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 8px !important;
    }
}