/* Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Slab", serif;
}


.myanmar-text {
    font-family: 'Myanmar Text', sans-serif; /* Myanmar font for Burmese content */
}


.hero {
    font-family: "Roboto Slab", serif;
}

.header {
    font-family: "Roboto Slab", serif;
}



body {
    font-family: 'Myanmar Text', "Roboto Slab", serif;
    line-height: 1.6;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 80px;
    padding-top: 120px;
}
/* Hero Section */
.hero {
    font-family: "Roboto Slab", serif;
    background-image: url('img/bg-1.jpg');
    border:none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    padding-top: 10rem;
    display: flex;
    justify-content:center;
    padding-left: 15rem;
    align-items: center;
    color: #000;
    text-align: center;
    position: relative;
}

/* Tablet view */
@media screen and (max-width: 768px) {
  .hero {
    background-image: url(img/phh.jpg);
    background-position: 85% center;/* ဂုဏ်ရည်ဆေးဘက်အလယ်ထား */
  }
}



.hero .img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Optional: Content Section */
.hero .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.3;
    color: black;


}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: black;
    word-wrap: break-word;
    font-weight: 500;

}


@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}

/* .hero .btn {
    background-color: gray;
    padding: 1rem 2rem;
    margin: 0 10rem;
    border-radius: 50px;
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 3px solid white;
} */
/* 
.hero .btn:hover {
    background-color: gray;
    border: 3px solid white;
    color: black;
    transform: scale(1.1);
    /* Hover ပေါ်လာတဲ့အခါ button ကို ပြောင်းလဲမယ် 
} */

body,
html {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Navbar Styling */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(0, 100, 0, 0.85);
    backdrop-filter: blur(6px);
    color: white;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3%;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
}
/* Mobile & Tablet Responsive Navbar */
@media screen and (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        padding: 0.8rem 0.5rem;
    }

    .navbar a {
        font-size: 1.1rem;
        margin: 0 10px 10px 10px;
        padding: 0.4rem 0.6rem;
    }
}

/* Extra Small Devices (phones) */
@media screen and (max-width: 480px) {
    .navbar {
        gap: 0.8rem;
        padding: 1rem 0.3rem;
    }

    .navbar a {
        font-size: 1rem;
        margin: 0 8px 8px 8px;
    }
}
/* Mobile & Tablet Responsive for Navbar + Language Toggle */
@media screen and (max-width: 768px) {

    /* Navbar */
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        padding: 0.8rem 0.5rem;
    }

    .navbar a {
        font-size: 1rem;
        margin: 0 8px 8px 8px;
        padding: 0.4rem 0.6rem;
        display: inline-block;
    }

    /* Language Toggle Buttons */
    #language-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.8rem;
        flex-wrap: wrap;
    }

    #language-toggle .lang-btn {
        padding: 0.3rem 0.5rem;
        border-radius: 20px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #language-toggle img {
        width: 20px;
        height: auto;
    }
}
/* Mobile-Friendly Navbar Clean Layout */
@media screen and (max-width: 768px) {

    /* Navbar container */
    .navbar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
        background-color: rgba(0, 100, 0, 0.95);
        border-radius: 0.5rem;
    }

    /* Navbar links */
    .navbar a {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: background-color 0.2s ease;
    }

    .navbar a:last-child {
        border-bottom: none;
    }

    .navbar a:hover {
        background-color: rgba(255,255,255,0.1);
    }

    /* Language toggle placement */
    #language-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }

    #language-toggle .lang-btn {
        padding: 0.4rem 0.6rem;
        border-radius: 20px;
    }

    #language-toggle img {
        width: 20px;
        height: auto;
    }
}

.header .logo h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: white;
    font-family: "Roboto", sans-serif;
    line-height: 80px;
    margin: 0;
}

/* Navbar Hidden by Default */
.navbar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(0, 100, 0, 0.95);
  border-radius: 0.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 999;
}

/* Navbar Open State */
.navbar.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Navbar Links */
.navbar a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background-color 0.3s;
}

.navbar a:last-child {
  border-bottom: none;
}

.navbar a:hover {
  background: rgba(255,255,255,0.1);
}


/* Featured Products Section */
.featured-products {
    display: flex;
    justify-content: space-around;
    padding: 4rem 3%;
    background-color: white;
    flex-wrap: wrap;
    /* responsive အတွက် */
    gap: 2rem;
    /* product များအကြား အကွာအဝေး */
}

.product {
    text-align: center;
    width: 20%;
    /* 4 item ထည့်မယ့်အတွက် */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.product h3 {
    font-size: 19px;
    color: #333;
    margin-bottom: 2rem;
    min-height: 3.5em;
    /* text မတူလဲ height ကို တူအောင် */
}

.product .btn {
    padding: 0.5rem 1rem;
    background-color: #9acd32;
    color: white;
    text-decoration: none;
    border-radius: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    text-align: center;
    transition: 1s ease;
    line-height: 1.5;
    min-height: 44px;
    box-sizing: border-box;
}

.product .btn:hover {
    background-color: gray;
}



/* ---- product section ---- */

.product__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6rem;
    padding: 1rem 3%;
    background-color: white;
    margin-top: 2rem;
    box-sizing: border-box;
    width: 100%;
}

.product__item {
    font-family: "Roboto Slab", serif;
    width: 300px;
    border: 2px solid black;
    border-radius: 1rem;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product__banner {
    text-align: center;
    width: 100%;
    display: flex;
    padding: 1.5rem;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: 1rem;
    flex-grow: 1;
}

.product__image {
    width: 100%;
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
}

.product__img {
    width: 100%;
    background-color: brown;
    height: 100%;
    border-radius: 10px;
    border: 1px solid black;
    transition: 0.5s;
    object-fit: cover;
    justify-content: center;
    text-align: center;
}

.product__img:hover {
    transform: scale(1.5);
}

.product__info {
    padding: 1rem;
    text-align: center;
    overflow: hidden;
    font-family: 'Myanmar Text', sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product__category {
    font-size: 1.3rem;
    color: black;
    font-weight: bold;
    text-align: center;
    /* center align ပြောင်း */
    margin-bottom: 0.5rem;
}

.product__name {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    /* center align ပြောင်း */
    margin-bottom: 0.5rem;
}

.product__text {
    font-family: 'Myanmar Text', sans-serif;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    display:block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.buttom {
    text-align: center;
    margin-top: auto;
}

.btn,
.btn_shop {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background-color: #9acd32;
    color: white;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 1.1rem;
    text-align: center;
    margin: 0 auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 140px;
    /* ခလုတ် width သတ်မှတ် */
}

.btn_shop:hover {
    background-color: #7ca92b;
    transform: scale(1.05);
    border: 3px solid #7ca92b;
    color: white;
}

.btn_shop:focus {
    outline: none;
}

/* Footer section */

.footer {
    background-color: #006400;
    color: white;
    padding: 3rem 0;
    text-align: center;
    font-family: 'Roboto Slab', serif;
    box-sizing: border-box;
}

.footer .footer-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #2c6b2f;
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.footer .box,
.footer .box_footer {
    flex: 1 1 45%;
    min-width: 200px;
    padding: 1rem;
    text-align: left;
    box-sizing: border-box;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;

}

.footer a:hover {
    color: #9acd32;
}

/* Footer section */


/* product-detail */

.main-product {
    margin-bottom: 40px;
    width: 80%;
}

.product .btn {
    width: fit-content;
    max-width: 200x;
    margin: 1rem auto 0 auto;
}

#product-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    padding: 20px;
    text-align: center;
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 30vh;
    padding-top: 20vh; */
}

.product-detail-container {
    display: flex;
    gap: 30px;
    width: 100%;
}

.product-image {
    position: relative;
    top: -50px;
    width: 50%;
    height: auto;
    margin-bottom: 0;
    z-index: 100;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    z-index: 100;
}

.product-info {
    width: 50%;
    margin-top: 1rem;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    margin-left: 6rem;
    text-align: center;
}

.product-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: justify;
    margin-left: 6rem;
}

.product-info .btn-go-back {
    background-color: #006400;
    padding: 12px 24px;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.5s;
}

.product-info .btn-go-back:hover {
    background-color: #004d00;
    color: gold;
}

.related-products {
    margin-top: 50px;
    text-align: center;
}

.related-products h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.product-previews {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-preview {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.product-preview:hover {
    transform: scale(1.05);
}

.product-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-preview p {
    font-size: 1rem;
    margin-top: 10px;
}


.contact_us {
    max-width: 1100px;
    margin: 30px auto 60px;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    height: 80vh;
    padding: 1rem 3rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    font-family: "Roboto Slab", serif;
    color: #2c6b2f;
    flex-wrap: wrap;
}

.contact_us .contact {
    flex: 1 1 40%;
    font-size: 1.5rem;
    line-height: 1.7;
    min-width: 280px;
    
}

.contact_us h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c6b2f;
}

.contact_us strong {
    color: #185020;
}

.contact_us a {
    color: #3a7d44;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact_us a:hover {
    color: #689f57;
}

.contact_us .map {
    flex: 1 1 55%;
    min-width: 320px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 4px solid #2c6b2f;
}


/* Related Product Previews Section */

.realted-products {
    margin-top: 50px;
    padding: 20px;
    margin-bottom: 30px;
}

.realted-products h2 {
    font-size: 1.8rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
}

.product-previews {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    padding-left: 13vh;
    padding-top: 5rem;
}

.product-preview {
    width: 200px;
    height: 250px;
    text-align: center;
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-preview:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-preview img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}


/* Related Product Previews Section */




/* Activites Page */

h1 {
    text-align: center;
    margin-bottom: 100px;
    margin-bottom: 30px;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #2c6b2f;

}

.activity-content {
    flex-grow: 1
}

.activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.activity-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    width: 280px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-direction: column;
}

.activity-card.expanded {
    max-height: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.activity-card.expanded .activity-image {
    height: 350px;
}


.activity-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    transition: height 0.6s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.activity-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #1b4d2a;
}

/* Paragraph styling */
.activity-description {
    margin-bottom: 1.5rem;
}

.activity-description.expanded {
    max-height: 500px;
}

.activity-date {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    text-align: center;
    justify-content: space-between;
}

body {
    padding-top: 80px;
    margin: 0;
    font-family: "Roboto Slab", serif;
}



/* Language toggle button style */
#language-toggle {
    position: fixed;
    top: 10px;
    right: 80px;
    z-index: 10000;
}

#language-toggle button {
    background-color: #4caf50;
    /* အစိမ်းရောင် */
    color: white;
    border: none;
    padding: 8px 16px;
    margin-left: 8px;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Roboto Slab', serif;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#language-toggle button:hover {
    background-color: #357a38;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Active language button style */
#language-toggle button.active {
    background-color: #2e7d32;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

/* General styles */

body.light-mode {
    background-color: #fff;
    color: #222;
}

body.dark-mode {
    background-color: #121212;
    color: #eee;
}

/* 🌿 Global adjustments */
body, html {
  width: 100%;
  overflow-x: hidden;
}

/* 🌟 Header adjustments */
@media screen and (max-width: 768px) {
  .header {
    flex-wrap: wrap;
    height: auto;
    padding: 1rem;
  }
  .header .logo h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  #menu-toggle {
    display: block;
  }
}

/* 🌿 Navbar toggle (if you want hamburger menu open/close)
   Optional: Implement JS to toggle class 'open' on .navbar */
.navbar {
    display: none ;
  flex-direction: column;
}
.navbar.open {
  display: flex;
}
@media screen and (min-width: 769px) {
  .navbar {
    display: flex !important;
    flex-direction: row;
  }
}

/* 🌟 Hero Section */
@media screen and (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
    background-position: center center;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* 🌟 Featured Products (index.html) */
@media screen and (max-width: 992px) {
  .featured-products {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .product {
    width: 45%;
  }
}
@media screen and (max-width: 600px) {
  .product {
    width: 90%;
  }
}

/* 🌟 Products Grid (product.html) */
@media screen and (max-width: 1200px) {
  .product__container {
    gap: 3rem;
  }
}
@media screen and (max-width: 992px) {
  .product__item {
    width: 45%;
  }
}
@media screen and (max-width: 600px) {
  .product__item {
    width: 90%;
  }
}

/* 🌟 Product Detail Page */
@media screen and (max-width: 992px) {
  .product-detail-container {
    flex-direction: column;
    gap: 1rem;
  }
  .product-image,
  .product-info {
    width: 100%;
    margin: 0 auto;
  }
  .product-info h1,
  .product-info p {
    margin-left: 0;
    text-align: center;
  }
}

/* 🌟 Related Products Grid */
@media screen and (max-width: 992px) {
  .product-previews {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
  }
}
@media screen and (max-width: 600px) {
  .product-previews {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 🌟 Contact Page */
@media screen and (max-width: 992px) {
  .contact_us {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }
  .contact_us .contact,
  .contact_us .map {
    width: 100%;
    min-width: unset;
  }
  .contact_us .map iframe {
    width: 100%;
    height: 300px;
  }
}

/* 🌟 Activities Page */
@media screen and (max-width: 992px) {
  .activity-list {
    flex-direction: column;
    align-items: center;
  }
  .activity-card {
    width: 90%;
  }
}
/* Force Language Toggle to Align a bit left */
@media screen and (max-width: 768px) {
  #language-toggle {
    width: 60%;
  }
 

}

#menu-toggle{
    position: relative;
    width: 30px;
    height: 22px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 9999;
}


#menu-toggle .menu-icon,
#menu-toggle .menu-icon::before,
#menu-toggle .menu-icon::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background-color:white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

#menu-toggle .menu-icon{
    top: 50%;
    transform: translateY(-50%);
}
#menu-toggle .menu-icon::before {
    content: '';
    top:-8px;
}

#menu-toggle .menu-icon::after {
    content:  '';
    top: 8px;
}

#menu-toggle.active .menu-icon{
    background: transparent;
}

#menu-toggle.active .menu-icon::before{
    transform: rotate(45deg);
    top: 0;
}

#menu-toggle.active .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}



@media screen and (max-width: 768px) {
  .product-previews {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media screen and (max-width: 768px) {
  .contact_us .contact {
    font-size: 1rem;       /* Font Size လျော့ */
    line-height: 1.6;      /* စာကြားထောင့်ခွက် တိုး */
    padding: 1rem;         /* နားကောင်းစေ */
  }

  .contact_us .contact p {
    margin-bottom: 1rem;   /* စာကြား အနားထည့် */
  }

  .contact_us .contact h1 {
    font-size: 2rem;     /* Heading အနည်းငယ်သေး */
    margin-bottom: 1rem;
  }
}
