/* ---------- Variables ---------- */
:root {
    --mainColor: #8e7754;
    --secondaryColor: #000000;
    --accent: #8e7754;
    --maxWidth: 1200px;
    --gap: 24px;
    --radius: 12px;
}

/* ---------- Reset / Base ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Merienda", cursive;
    color: #222;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-transform: capitalize;
    position: relative;
    background: #ffffff;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: linear-gradient(45deg,
            rgba(110, 85, 55, 0.25),
            rgba(140, 110, 70, 0.15),
            rgba(110, 85, 55, 0.10));
    animation: rotateBG 20s linear infinite;
    z-index: -1;
}

@keyframes rotateBG {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body::after {
    content: "";
    position: fixed;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(110, 85, 55, 0.2);
    box-shadow:
        80px 120px rgba(110, 85, 55, 0.2),
        200px 60px rgba(110, 85, 55, 0.2),
        350px 140px rgba(110, 85, 55, 0.2),
        500px 90px rgba(110, 85, 55, 0.2),
        650px 200px rgba(110, 85, 55, 0.2);
    animation: floatParticles 12s linear infinite;
    z-index: -1;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Links reset */
a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.621);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dots {
    display: flex;
    gap: 10px;
}

.dots span {
    width: 15px;
    height: 15px;
    background: var(--mainColor);
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }

}

/* ---------- Navbar ---------- */
.nav_bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    gap: 16px;
    z-index: 999;
    background-color: var(--secondaryColor);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

h2 .highlight {
    color: var(--mainColor);

}

a h2 {
    font-size: 24px;
    color: #fff;
    margin: 0;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

a h2::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: var(--mainColor);
    transition: width 0.3s ease;
}

a:hover h2::after {
    width: 100%;
}

a h2 .highlight {
    color: var(--mainColor);
}

.logo img {
    width: 50px;
    display: block;
    transition: transform .25s ease;
}

/* links */
.links ul {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: 8px
}

.links ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    position: relative;
}

.links ul li a span {
    position: relative;
    display: inline-block;
}

.links ul li a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.links ul li a:hover span::after {
    width: 100%;
}


/* hamburger (mobile) */
#hamburger {
    display: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

/* ---------- Header / Hero ---------- */
.nav_head {
    width: 100%;
    min-height: 100vh;
    padding-top: 80px;
    background-image: url("../img/cover.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    text-align: center;
}

header .welcome {
    max-width: 1100px;
    padding: 40px 20px;
    border-right: 4px solid #8e7754;
    background: linear-gradient(135deg, rgba(142, 119, 84, 0.56), rgba(200, 180, 150, 0.3));
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.welcome p {
    font-size: 20px;
}

.welcome h1 {
    font-size: 50px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: capitalize
}

.btn_brown,
.btn_transparent {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 28px;
    margin: 18px 8px 0 0;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn_brown {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(142, 119, 84, 0.12);
}

.btn_transparent {
    background: transparent;
    color: #fff;
}

.btn_brown:hover,
.btn_transparent:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.btn_brown::after,
.btn_transparent::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.2) 100%);
    transition: all 0.5s ease;
}

.btn_brown:hover::after,
.btn_transparent:hover::after {
    left: 100%;
}

/* ---------- Who_Are Section ---------- */
.who_are .container {
    max-width: var(--maxWidth);
    margin: 80px auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.who_image {
    flex: 1 1 44%;
    min-width: 260px;
}

.who_image img {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease;
    display: block;
}

.who_image img:hover {
    transform: translateY(-8px);
}

.who_info {
    flex: 1 1 52%;
    min-width: 260px;
}

.who_info h2 {
    font-size: 30px;
    margin-bottom: 14px;
    text-transform: capitalize;
}

.who_info p {
    color: var(--mainColor);
    font-size: 16px;
    line-height: 1.9;
    border-left: 4px solid var(--mainColor);
    padding-left: 16px;
    margin-bottom: 18px;
}

/* icon rows */
.who_info .icon {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.who_info .icon img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--mainColor);
    padding: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.who_info .icon span {
    color: #333;
    font-weight: 700;
}

/* ---------- My_Logo / About ---------- */
.my_logo .this_words {
    max-width: var(--maxWidth);
    margin: 120px auto;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.picture {
    flex: 1 1 42%;
    min-width: 260px
}

.picture img {
    width: 100%;
    transition: transform .25s ease;
}

.picture img:hover {
    transform: translateY(-8px)
}

.letter {
    flex: 1 1 55%;
    min-width: 260px
}

.letter h1 {
    text-transform: capitalize;
    font-size: 34px;
    margin-bottom: 12px
}

.letter p {
    color: var(--mainColor);
    font-size: 16px;
    line-height: 1.9;
    padding-left: 14px;
    border-left: 4px solid var(--mainColor);
}

/* ---------- Products ---------- */
.products {
    max-width: var(--maxWidth);
    margin: 150px auto;
}

.texts {
    text-align: center;
    margin-bottom: 28px
}

.texts h3 {
    font-size: 22px;
    margin-bottom: 8px;
    text-transform: capitalize
}

.texts p {
    color: var(--mainColor);
    font-size: 16px
}

/* grid for mobiles */
.MobileItems {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

/* each product card */
.MobileItems .item {
    background: #fff;
    border: 2px solid rgba(142, 119, 84, 0.14);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.MobileItems .item:nth-child(1) {
    animation-delay: 0s;
}

.MobileItems .item:nth-child(2) {
    animation-delay: 0.2s;
}

.MobileItems .item:nth-child(3) {
    animation-delay: 0.4s;
}

.MobileItems .item:nth-child(4) {
    animation-delay: 0.6s;
}

.MobileItems .item:nth-child(5) {
    animation-delay: 0.8s;
}

.MobileItems .item:nth-child(6) {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effect */
.MobileItems .item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.MobileItems .item img {
    width: 160px;
    max-width: 60%;
    display: block;
    object-fit: contain;
}

.MobileItems .item h3 {
    font-size: 18px;
    margin-top: 6px;
    text-transform: capitalize
}

.MobileItems .item p {
    color: var(--mainColor);
    font-size: 15px;
    text-align: center
}

/* show more button */
.btn-container {
    text-align: center;
    margin: 28px 0 60px
}

#showMoreBtn {
    background: var(--mainColor);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .14s ease, background .14s ease;
    animation: pulse 2s infinite;

}

#showMoreBtn:hover {
    transform: scale(1.04);
    background: #222
}

.item .price {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondaryColor);
}

.item .buy-btn {
    padding: 8px 15px;
    background-color: var(--mainColor);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .14s ease, background .14s ease;
    animation: pulse 2s infinite;
}

.item .buy-btn:hover {
    transform: scale(1.04);
    background: #222
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(142, 119, 84, 0.7);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(142, 119, 84, 0.5);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(142, 119, 84, 0.7);
    }
}

/* ---------- Our Offer ---------- */
.our_offer {
    max-width: var(--maxWidth);
    margin: 150px auto;
}

.offer_items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.offer_card {
    background: #fff;
    border: 2px solid rgba(142, 119, 84, 0.14);
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease;
}

.offer_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.offer_card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.offer_card h4 {
    margin-bottom: 8px;
    font-size: 18px
}

.offer_card p {
    color: var(--mainColor);
    font-size: 15px
}

/* ---------- Blog ---------- */
.blog {
    max-width: var(--maxWidth);
    margin: 120px auto;
}

.blog_items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.blog_card {
    background: #fff;
    border: 2px solid rgba(142, 119, 84, 0.14);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

.blog_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.blog_card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.blog_card h4 {
    margin-bottom: 8px;
    font-size: 18px
}

.blog_card p {
    color: var(--mainColor);
    font-size: 15px;
    margin-bottom: 10px
}

.blog_card a {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
    transition: color .18s ease;
}

.blog_card a:hover {
    color: #000
}

.offer_card .emoji,
.blog_card .emoji {
    font-size: 3rem;
    text-align: center;
    margin: 20px 0 10px;
}

.blog_card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog_card a:hover {
    background: var(--mainColor);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.blog_card .message {
    display: none;
    margin-top: 15px;
    padding: 12px;
    border-radius: 12px;
    background-color: rgba(101, 88, 70, 0.1);
    color: #222;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* ---------- Contact Form Section ---------- */
.contact_form {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px 20px;
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact_form .container-text {
    margin-bottom: 30px;
}

.contact_form .container-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.contact_form .container-text p {
    font-size: 16px;
    color: var(--mainColor, #8e7754);
}

.contact_form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact_form input,
.contact_form textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.25s ease, box-shadow 0.25s ease;
    resize: none;
}

.contact_form input:focus,
.contact_form textarea:focus {
    border-color: var(--mainColor, #8e7754);
    box-shadow: 0 0 6px rgba(142, 119, 84, 0.3);

}

.contact_form button {
    background: var(--mainColor, #8e7754);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contact_form button:hover {
    background: #222;
}

.form-message {
    margin-top: 14px;
    font-weight: 600;
    color: #c82333;
}

/* ---------- Location Section ---------- */
.loction {
    background: #e9e9e9;
    margin: 0 auto;
    padding: 30px;
}

.loction .loction_info {
    max-width: var(--maxWidth);
    margin: 0 auto 40px;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.loction_text {
    flex: 1 1 48%;
    min-width: 280px;
}

.loction_words h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: #111;
}

.loction_words p {
    color: var(--mainColor);
    line-height: 1.8;
}

.animation {
    flex: 1 1 48%;
    min-width: 260px;
}

.animations {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 16px 0;
}

.animations img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--mainColor);
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.animations span {
    font-weight: 700;
    color: #222;
}

/* Map Block */
.loction_map {
    max-width: var(--maxWidth);
    margin: 0 auto;
    padding: 0 20px;
}

.loction_map iframe {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    display: block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease;
    margin: 0;
}

.loction_map iframe:hover {
    transform: scale(1.02);
}

/* ---------- Footer ---------- */
.end {
    padding: 29px 20px;
    background-color: var(--secondaryColor);
    color: #fff;
}

.end_page {
    max-width: var(--maxWidth);
    margin: 0 auto;
    text-align: center;
    padding-bottom: 10px;
}

.end_page img {
    width: 90px;
    display: inline-block;
    margin-bottom: 10px
}

.end_page p {
    color: #fff;
    margin-top: 5px;
    font-weight: 600
}

/* social */
.social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: transform .18s ease, background .18s ease;
}

.social a i {
    color: #fff;
    font-size: 16px
}

.social a:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.2)
}

.end_page a {
    position: relative;
    color: var(--mainColor);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.end_page a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 0%;
    height: 2px;
    background: var(--mainColor);
    transition: width 0.4s ease;
}

.end_page a:hover {
    color: var(--mainColor);
}

.end_page a:hover::after {
    width: 100%;
}

/* ---------- Accessibility / Small helpers ---------- */
a:focus,
button:focus {
    outline: 3px solid rgba(142, 119, 84, 0.25);
    outline-offset: 3px;
}

/* ---------- Responsive: Tablet ---------- */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Header */
    .welcome h1 {
        font-size: 48px;
    }

    .logo img {
        width: 70px;
    }

    /* Who / About Sections */
    .who_are .container,
    .my_logo .this_words {
        gap: 24px;
        padding: 0 18px;
    }

    /* Location Map */
    .loction_map iframe {
        height: 360px;
    }

    /* Products Section */
    .MobileItems {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {

    /* Hamburger */
    #hamburger {
        display: block;
        cursor: pointer;
        z-index: 10000;
    }

    /* Navbar Links Hidden */
    .links {
        display: none;
    }

    /* Mobile Links Panel */
    .links {
        display: none;
        position: fixed;
        top: 4.4rem;
        right: 0;
        width: 90%;
        max-width: 250px;
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 0 0 20px 20px;
        box-shadow: -6px 8px 20px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        gap: 18px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        transform: translateX(100%);
        z-index: 9999;
    }

    .links.show {
        display: flex;
        opacity: 1;
        transform: translateX(0);
    }

    .links.show ul {
        flex-direction: column;
        gap: 16px;
    }

    .links.show ul li a {
        color: #222;
        font-weight: 600;
        background: rgba(142, 119, 84, 0.1);
        padding: 10px 16px;
        border-radius: 8px;
        transition: background 0.25s ease, transform 0.2s ease;
        display: block;
    }

    .links.show ul li a:hover {
        background: rgba(142, 119, 84, 0.2);
        transform: translateX(4px);
    }

    /* Navbar Height */
    .nav_bar {
        padding: 8px 14px;
        height: 70px;
    }

    /* Header Text */
    .welcome h1 {
        font-size: 32px;
    }

    .welcome p {
        font-size: 15px;
    }

    /* Buttons */
    .btn_brown,
    .btn_transparent {
        padding: 10px 16px;
        font-size: 14px;
    }

    /* Stack Who / About / Location Sections */
    .who_are .container,
    .my_logo .this_words,
    .loction .loction_info {
        flex-direction: column;
        align-items: center;
        padding: 0 16px;
        text-align: center;
    }

    /* Borders in Text */
    .who_info p,
    .letter p,
    .loction_words p {
        padding-left: 0;
        border-left: none;
        border-top: 4px solid var(--mainColor);
        padding-top: 12px;
        margin-top: 12px;
    }

    /* Products Grid One Column */
    .MobileItems {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .MobileItems .item img {
        width: 55%;
        max-width: 200px;
    }

    /* Location Map Smaller */
    .loction_map iframe {
        height: 300px;
    }

    /* Footer */
    .end_page img {
        width: 72px;
    }

    .end_page p {
        font-size: 10px;
    }

    /* Contact Form */
    .contact_form {
        margin: 40px 16px;
        padding: 30px 16px;
    }

    .contact_form .container-text h3 {
        font-size: 22px;
    }

    .contact_form .container-text p {
        font-size: 14px;
    }

    .contact_form input,
    .contact_form textarea {
        font-size: 14px;
    }

    .contact_form button {
        font-size: 14px;
        padding: 10px 18px;
    }

}


