﻿﻿:root {
    --primary-color: #8a6d3b;
    --secondary-color: #f5f5f5;
    --text-color: #333;
}
body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #f8f8f8;/* url("images/pattern.svg") repeat;*/
    color: var(--text-color);
/*    overflow-wrap: break-word;
    hyphens: auto;
*/
    text-align: justify;
}


html {
    scroll-behavior: smooth;
}
/* HERO */
.hero {
    height: 80vh;
    background: url("main_image.webp") center/cover no-repeat;
    background-position-y: top;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 900px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 22px;
    font-style: italic;
}

/* SECTION */
section {
    scroll-margin-top: 80px;
    padding: 60px 20px 0px 20px;
    max-width: 1200px;
    margin: auto;
}

section h2 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 30px;
}

.about {
    background: white;
    border-radius: 12px;
    padding: 1px 40px 40px 40px;
    line-height: 1.8;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
section.pswp__scroll-wrap {
    max-width: 100%;
}

/* SWIPER */
.swiper {
    width: 100%;
    padding-bottom: 40px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

/* MENU & CONTACTS */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card h3 {
    margin-top: 0;
    color: #8a6d3b;
}

/* NAVIGATION MENU */
.menu {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 20px;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu>ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.menu li ul {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 0px;
}

.menu li:hover > ul {
    display: block;
}

.menu .search-item {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.menu li {
    margin: 0;
    flex: 0 0 auto;
}

.menu a, .menu span {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s, background 0.3s;
    font-size: 16px;
}

.menu a:hover, .menu a.is-active, .menu span:hover, .menu span.has-active-child {
    color: #8a6d3b;
    background: #f5f5f5;
}


.menu a.is-active {
    color: #8a6d3b;
}

.menu-underline {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #8a6d3b;
    transform: translateX(0);
    transition: transform 0.3s ease, width 0.3s ease, opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.pagination {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.pagination a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin: 0 5px;
    background: #f0f0f0;
    color: #333;
    border: solid 1px #ddd;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

#wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.product-card a {
    display: block;
    width: 100%;
}

.product-card img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 16px;
}

.product-card h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #2d2d2d;
}

.product-card p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.product-card span {
    font-weight: 700;
    color: #8a6d3b;
}

.product-card button {
    background: #8a6d3b;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(138, 109, 59, 0.2);
}

.important {
    display: inline-block;
    background: #ffeb3b;
    color: #333;
    text-align: center;
    padding: 15px 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px;
    max-width: 800px;
    border-radius: 8px;
    float: right;
}

.important:empty {
    display: none;
}

/* VIP ORDER LINK */
.order-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    margin: 18px 0 10px 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #2b1a0f 0%, #7a5728 55%, #e3c07a 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    box-shadow:
        0 8px 18px rgba(122, 87, 40, 0.28),
        0 0 0 4px rgba(255, 215, 130, 0.12);
    position: relative;
    overflow: hidden;
    animation: none;
}

.order-link::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -20%;
    width: 50%;
    height: 180%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 100%);
    transform: translateX(-160%);
    animation: vipShine 6s ease-in-out infinite;
}

.order-link span {
    font-size: 20px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.order-link a {
    background: #fff;
    color: #4a2b11;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.order-link a:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 22px rgba(0,0,0,0.28);
    background: #ffe3b2;
}

@keyframes vipShine {
    0% { transform: translateX(-160%); }
    60% { transform: translateX(220%); }
    100% { transform: translateX(220%); }
}

@media (max-width: 600px) {
    .order-link {
        flex-direction: column;
        text-align: center;
    }
}

/* FORM STYLING */
.order-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 40px auto;
}

.order-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

.divider {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    text-align: left;
}

.form-group input, textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus, textarea:focus {
    outline: none;
    border-color: #8a6d3b;
    box-shadow: 0 0 5px rgba(138, 109, 59, 0.3);
}

.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group select:focus {
    outline: none;
    border-color: #8a6d3b;
    box-shadow: 0 0 5px rgba(138, 109, 59, 0.3);
}

.form-group select:hover {
    border-color: #8a6d3b;
}

.form-group select option {
    padding: 10px;
    background: white;
    color: #333;
}

.order-form button {
    padding: 12px 30px;
    background: #8a6d3b;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    align-self: center;
    margin-top: 10px;
}

.order-form button:hover {
    background: #6d5628;
}

footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 34px;
    }
    .hero p {
        font-size: 18px;
    }
    .menu a {
        padding: 12px 5px;
        font-size: 14px;
    }
    section {
    scroll-margin-top: 80px;
        padding: 60px 0px 0px 0px;
    }
    div.about {
        padding: 0px;
    }
    div.about p {
        padding: 0px 20px;
    }
    #wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0px;
        padding: 0px;
        gap: 5px;
    }
    .product-card {
        padding: 5px;
        gap: 0px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {

    .swiper-slide {
        height: 75vh;
    }

    .hero {
        height: 65vh;
    }

    section {
    scroll-margin-top: 80px;
        padding-top: 30px;
    }

}
.swiper-slide img {
    cursor: zoom-in;
}

/* Product Detail Page Styles */
.product-detail img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-detail h2 {
    font-size: 2rem;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.product-detail span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8a6d3b;
    display: block;
    margin-bottom: 20px;
}

.product-detail button {
    background: #8a6d3b;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 20px;
}

.product-detail button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(138, 109, 59, 0.2);
}

.product-detail p {
    text-align: justify;
    line-height: 1.6;
    color: #555;
    margin-top: 20px;
}

/* Reviews Styles */
.response {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.response p {
    margin: 5px 0;
}

.response strong {
    color: #8a6d3b;
}
