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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #2b2118;
    background-color: #fffaf3;
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

nav {
    max-width: 1200px;
    height: 110px;
    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav > div a {
    font-size: 24px;
    font-weight: bold;
    color: #6b3e20;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav ul a {
    color: #2b2118;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

nav ul a:hover {
    color: #b77932;
}

#home {
    min-height: 600px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-image:
    linear-gradient(
        to bottom,
        rgba(255, 250, 243, 0.20) 0%,
        rgba(0, 0, 0, 0.15) 10%,
        rgba(0, 0, 0, 0.30) 30%,
        rgba(0, 0, 0, 0.30) 70%,
        rgba(0, 0, 0, 0.15) 90%,
        rgba(255, 250, 243, 0.20) 100%
    ),
    url("../images/Hlqb_Background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
}

#home h1 {
    font-size: 64px;
    margin-bottom: 15px;
}

#home p {
    font-size: 24px;
    margin-bottom: 30px;
}

#home a {
    display: inline-block;

    padding: 14px 28px;

    background-color: #6b3e20;
    color: white;

    text-decoration: none;
    border-radius: 5px;

    font-size: 17px;
}

#home a:hover {
    background-color: #8a542c;
}

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

#about {
    padding: 100px 0;
    background-color: #fffaf3;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.about-text {
    flex: 1;
}

.image-placeholder {
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #e2c9a5;
    border-radius: 8px;

    color: #6b3e20;
    font-size: 18px;
}

.section-label {
    color: #b77932;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 14px;
}

.about-text h2 {
    font-size: 42px;
    margin: 15px 0 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #66594e;
    margin-bottom: 30px;
}

.about-text a {
    color: #6b3e20;
    font-weight: bold;
    text-decoration: none;
}

.about-text a:hover {
    color: #b77932;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
}

#products {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading h2 {
    font-size: 42px;
    margin: 12px 0 15px;
}

.section-heading p {
    font-size: 18px;
    color: #66594e;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #fffaf3;
    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.product-content p {
    color: #66594e;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-content a {
    display: inline-block;

    color: #a51f18;
    font-weight: bold;

    text-decoration: none;
}

.product-content a:hover {
    text-decoration: underline;
}



#gallery {
    padding: 100px 0;
    background-color: #fffaf3;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;

    border-radius: 8px;

    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

#contacts {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #6b3e20;
}

.contact-item p {
    color: #66594e;
    line-height: 1.6;
}

.map {
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
}

footer {
    background-color: #241b15;
    color: white;
    padding-top: 35px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 30px;
}

/* LOGO */

.footer-brand img {
    height: 70px;
    width: auto;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}


/* TITLES */

footer h3 {
    font-size: 17px;
    margin-bottom: 12px;
}


/* TEXT */

footer p {
    color: #cfc5bd;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 7px;
}


/* NAVIGATION */

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

footer li {
    margin-bottom: 6px;
}

footer a {
    color: #cfc5bd;
    text-decoration: none;
    font-size: 14px;
}

footer a:hover {
    color: white;
}


/* FOOTER CONTACTS */

.footer-contacts p {
    margin-bottom: 7px;
}

.footer-contacts strong {
    color: #e5ddd7;
    font-weight: 600;
}


/* BOTTOM COPYRIGHT */

.footer-bottom {
    border-top: 1px solid #40352e;

    text-align: center;

    padding: 14px;

    color: #a99e96;
    font-size: 12px;
}

#advantages {
    padding: 90px 0;
    background-color: #fffaf3;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-card {
    text-align: center;
    padding: 35px 25px;
}

.advantage-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #b77932;
    border-radius: 50%;

    color: #a51f18;
    font-size: 20px;
    font-weight: bold;
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #66594e;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

.modal {
    display: none;

    position: fixed;
    inset: 0;

    background-color: rgba(0, 0, 0, 0.6);

    align-items: center;
    justify-content: center;

    z-index: 1000;
}

.modal-content {
    position: relative;

    background-color: #fffaf3;

    width: 90%;
    max-width: 500px;

    padding: 35px;

    border-radius: 12px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-content h3 {
    margin-top: 25px;
    margin-bottom: 8px;

    color: #a51f18;
}

.modal-content p {
    color: #66594e;
    line-height: 1.6;
}

.close-modal {
    position: absolute;

    top: 15px;
    right: 20px;

    font-size: 30px;
    cursor: pointer;
}

.contact-item a {
    color: #66594e;
    text-decoration: none;
}

.contact-item a:hover {
    color: #a51f18;
}

.about-stats {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px 30px 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #e2c9a5;
}

.stat {
    text-align: center;
    padding: 10px 20px;
}

.stat strong {
    display: block;

    color: #a51f18;
    font-size: 32px;
    margin-bottom: 8px;
}

.stat span {
    color: #66594e;
    font-size: 15px;
}


#philosophy {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 30px;

    background-image:
        linear-gradient(
            rgba(30, 20, 12, 0.65),
            rgba(30, 20, 12, 0.65)
        ),
        url("../images/quote.png");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    text-align: center;
    color: white;
}

.philosophy-content {
    max-width: 800px;
}

.philosophy-content > span {
    display: block;

    margin-bottom: 15px;

    color: #e7bd78;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.philosophy-content h2 {
    font-size: 48px;
    margin-bottom: 35px;
}

.philosophy-lines {
    margin-bottom: 30px;
}

.philosophy-lines p {
    font-size: 23px;
    line-height: 1.7;
}

.philosophy-final {
    max-width: 650px;
    margin: 0 auto;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.35);

    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
}


/* =========================
   ABOUT PAGE
========================= */

.about-page-hero {
    min-height: 500px;
    padding: 110px 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    background-image:
        linear-gradient(
            rgba(20, 10, 5, 0.38),
            rgba(20, 10, 5, 0.38)
        ),
        url("../images/Backgrount_About.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-page-hero span {
    color: #f0c36a;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.about-page-hero h1 {
    max-width: 900px;

    margin: 20px auto;

    font-size: 52px;
    line-height: 1.2;
}

.about-page-hero p {
    font-size: 20px;
    color: #f5ddd8;
}


/* HISTORY */

.about-page-section {
    padding: 100px 0;
}

.about-page-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.about-page-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 10px;
}

.about-page-text h2 {
    margin: 15px 0 25px;

    font-size: 40px;
}

.about-page-text p {
    margin-bottom: 18px;

    color: #66594e;

    font-size: 17px;
    line-height: 1.8;
}


/* CONTENT SECTIONS */

.about-detail-section {
    padding: 90px 0;
}

.about-detail-section .container {
    max-width: 900px;
}

.about-detail-section h2 {
    margin: 15px 0 25px;

    font-size: 40px;
}

.about-detail-section p {
    margin-bottom: 18px;

    color: #66594e;

    font-size: 18px;
    line-height: 1.8;
}

.light-section {
    background-color: #fffaf3;
}


/* PRODUCT LIST */

.about-list {
    margin: 30px 0;
    padding-left: 25px;
}

.about-list li {
    margin-bottom: 12px;

    color: #66594e;

    font-size: 17px;
}

.about-more {
    display: inline-block;
    margin-top: 10px;

    color: #a51f18;
    font-weight: bold;
    text-decoration: none;
}

.about-more:hover {
    text-decoration: underline;
}





@media (max-width: 768px) {

    /* GENERAL */

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    section {
        scroll-margin-top: 20px;
    }


    /* NAVIGATION */

    nav {
        height: auto;
        padding: 15px 20px;

        flex-direction: column;
        gap: 15px;
    }

    .logo img {
        height: 70px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    nav ul a {
        font-size: 15px;
    }


    /* HERO */

    #home {
        min-height: 500px;
        padding: 60px 20px;

        background-position: center;
    }

    #home h1 {
        font-size: 40px;
        line-height: 1.1;
    }

    #home p {
        font-size: 18px;
        line-height: 1.5;
    }


    /* ABOUT */

    #about {
        padding: 70px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 35px;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-image img {
        height: 280px;
    }

    .about-text h2 {
        font-size: 32px;
    }


    /* PRODUCTS */

    #products {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .section-heading p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card {
        width: 100%;
    }

    .product-card img {
        height: 250px;
    }

    .product-content {
        padding: 22px;
    }


    /* ADVANTAGES */

    #advantages {
        padding: 70px 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .advantage-card {
        padding: 20px;
    }

    .advantage-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }

    .advantage-card p {
        max-width: 350px;
    }


    /* GALLERY */

    #gallery {
        padding: 70px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-grid img {
        height: 260px;
    }


    /* CONTACTS */

    #contacts {
        padding: 70px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .map,
    .map iframe {
        min-height: 300px;
    }


    /* FOOTER */

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
}

.about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10px;

    margin-top: 40px;
    padding-top: 30px;
}

.stat strong {
    font-size: 27px;
}

#philosophy {
    min-height: 450px;
    padding: 60px 20px;

    /* fixed backgrounds can behave badly on phones */
    background-attachment: scroll;
}

.philosophy-content h2 {
    font-size: 34px;
}

.philosophy-lines p {
    font-size: 19px;
}

.philosophy-final {
    font-size: 17px;
}

@media (max-width: 768px) {

    .about-page-hero {
        padding: 70px 20px;
    }

    .about-page-hero h1 {
        font-size: 36px;
    }

    .about-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-page-image img {
        height: 300px;
    }

    .about-page-text h2,
    .about-detail-section h2 {
        font-size: 32px;
    }

    .about-page-section,
    .about-detail-section {
        padding: 65px 0;
    }
}



/* PRODUCT FILTERS */

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 35px 0 45px;
}

.filter-btn {
    padding: 12px 24px;
    border: 1px solid #d8c5af;
    border-radius: 30px;
    background: #fffaf3;
    color: #38281d;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #8b3024;
    color: white;
    border-color: #8b3024;
}

/* PRODUCT GRID */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-card {
    background: #fffaf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s;
}

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

.product-image-placeholder {
    height: 230px;
    background: linear-gradient(135deg, #f0e2ce, #dbc09c);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #8a6a4c;
}


.product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}


.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.product-info p {
    color: #66594e;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-details-btn {
    background: none;
    border: none;
    padding: 0;
    color: #a51f18;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
}

/* PRODUCT POPUP */

.product-dialog {
    position: fixed;
    margin: auto;
    width: min(90%, 550px);
    max-height: 85vh;
    overflow-y: auto;
    border: none;
    border-radius: 14px;
    padding: 40px;
    background: #fffaf3;
    color: #30251d;
    box-shadow: 0 15px 60px rgba(0,0,0,0.2);
}

.product-dialog::backdrop {
    background: rgba(0,0,0,0.65);
}

.product-dialog h2 {
    margin-bottom: 20px;
}

.product-dialog h3 {
    margin: 25px 0 10px;
}

.product-dialog p {
    line-height: 1.7;
    color: #66594e;
}

.dialog-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image-placeholder {
        height: 240px;
    }

    .product-dialog {
        padding: 30px 22px;
    }
}


.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.nutrition-table td {
    padding: 12px;
    border-bottom: 1px solid #e5d8c9;
}

.nutrition-table td:last-child {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.nutrition-table tr:nth-child(even) {
    background-color: #f7efe5;
}



.product-image-placeholder {
    height: 280px;
    background-color: #f8f4ee;
    overflow: hidden;
}

.product-dialog p {
    white-space: pre-line;
}



/* =========================
   ABOUT SECTION LAYOUT
========================= */

#about .container {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
}

/* Photo - Text - Photo */
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 35px;
    align-items: center;
    width: 100%;
}

/* LEFT PHOTO */
.about-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.about-images img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto;
}

/* MIDDLE TEXT */
.about-layout .about-text {
    width: 100%;
    min-width: 0;
}

/* RIGHT PHOTO */
.about-photo {
    width: 100%;
    min-width: 0;
}

.about-photo img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    margin: 0 auto;
}

/* TABLETS */
@media (max-width: 1100px) {
    .about-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 20px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-images,
    .about-photo {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .about-images img,
    .about-photo img {
        width: 100%;
        height: auto;
    }

    .about-layout .about-text {
        width: 100%;
    }
}