@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
html, body {
  overflow-x: hidden;
}
body {
  min-height: 100vh;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

/* ================= NAVBAR ================= */
.language-menu { position: relative; display: inline-block; font-family: Arial, sans-serif; color: #fff; }
.language-menu ul { list-style: none; margin: 0; padding: 0; }
.language-menu > ul > li { background: linear-gradient(135deg,#800,#b22222); padding: 8px 14px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; user-select: none; position: relative; }
.language-menu img { width:22px; height:15px; object-fit:cover; border-radius:3px; }

.language-menu ul ul {
  display: none;
  position: absolute;
  top: 115%;
  left: 0;
  background-color: #800000;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
}

.language-menu ul ul.active {
  display: block;
}
/* Hidden dropdown */
#lang-options {
  position: absolute;
  top: 120%;
  left: 0;
  background: #b22222;
  border-radius: 10px;
  min-width: 150px;
  padding: 6px 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 2000;
  pointer-events: none;
}

/* Visible when active */
#lang-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* items */
#lang-options li { padding: 8px 12px; display:flex; gap:8px; align-items:center; white-space:nowrap; border-radius:6px; cursor:pointer; }
#lang-options li:hover, #lang-options li:focus { background:#ff4c4c; }
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: fit-content;
  background: transparent;
  transition: 0.3s;
  padding: 10px;
  z-index: 999;
  color: #000;
}

header.active {
  background: #800000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header.active li a {
  color: #fff;
}

header.active li a:hover {
  color: #fce4b7;
}

header.active .action-btn {
  background-color: #fdf5e6;
  color: #800000;
}

header.active .logo {
  background-color: #fdf5e6;
  padding: 5px 10px;
  border-radius: 15px;
}

.navbar {
  width: 100%;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .links {
  display: flex;
  gap: 2rem;
}

.links li a {
  border-radius: 25px;
  transition: background-color 0.2s ease-in-out;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
}

.links li a:hover {
  color: #800000;
}

.navbar .toggle-btn {
  color: white;
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.logo-text {
  font-size: x-large;
  font-weight: 700;
}

.logo-img {
  padding: 0 10px;
}

.logo img {
  height: 40px;
  vertical-align: middle;
}

.action-btn {
  background-color: #800000;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.5s ease;
}

.action-btn:hover {
  scale: 1.05;
  color: #fff;
}

.dropdown_menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 60px;
  height: 0;
  width: 300px;
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(25px);
  border-radius: 10px;
  overflow: hidden;
  transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
  display: block;
  height: 400px;
}

.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown_menu .action-btn {
  width: 100%;
  display: flex;
  justify-content: center;
}


/* ================= HERO SECTION ================= */

.hero-section {
  background: url("/images/tjm.png") no-repeat center center;
  background-size: cover;
  height: 100vh;
  width: 100%;
  background-color: #fdf5e6;
  padding: 125px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-around;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.hero-section h1 {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  font-weight: 600;
  width: 550px;
}

.hero-section p {
  font-weight: 300;
  font-size: 18px;
  width: 309px;
  padding: 30px 0;
}

.hero-section button {
  font-weight: 700;
  font-size: 20px;
  padding: 15px 50px;
  color: #fff;
  height: 65px;
  border-radius: 20px;
  background-color: #830707;
  border: none;
  cursor: pointer;
  transition: all 0.5s ease;
}

.hero-section button:is(:hover,:focus) {
  box-shadow: 0 5px 7px #000;
}

.hero-img img {
  width: 25rem;
  animation: rotate360 8s linear infinite;
}

@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-down {
  width: 100%;
  background-color: #920505;
  background-image: url("/images/egrv.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 20px 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-down .Services {
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-down img {
  height: 3.5rem;
  padding-right: 10px;
}


/* ================= ABOUT US ================= */
.wrapper {
  width: 100%;
  min-height: 100vh;
  background: #0f0f0f;
  overflow: hidden;
}

.row {
  width: 100%;
  padding: 50px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.image-section {
  width: 36%;
  position: relative;
}

.image-section .aboutus {
  width: 100%;
  height: auto;
}

.image-section .tutku {
  position: absolute;
  top: -40px;        /* moves logo above the photo */
  left: 10%;
  transform: translateX(-50%);
  width: 120px;
  z-index: 2; 
}

.content {
  width: 50%;
  color: white;
}

.content h1 {
  font-size: 90px;
  letter-spacing: 2.5px;
  margin-top: 25px;
  color: #830707;
}

.content h2 {
  font-size: 40px;
  font-family: sans-serif;
  margin-top: 25px;
}

.content p {
  font-size: 20px;
  font-family: serif;
  margin-top: 10px;
  line-height: 1.5;
  color: rgb(183, 193, 193);
}
/*-----------OUR TEAM----------*/

/* OUR BUTCHERS SECTION */

.butchers {
  text-align: center;
  padding: 20px 20px;
  background-color: #fffaf6;
}

.butchers h1 {
  font-size: 45px;
  font-weight: 700;
  color: #b71c1c;
  margin-bottom: 50px;
  position: relative;
}

.butchers h1::after {
  content: "";
  width: 80px;
  height: 4px;
  background-color: #b71c1c;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

.butcher-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.butcher-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 300px;
  transition: all 0.3s ease;
}
.butcher-card img {
  z-index: 2;
}

.butchers-content {
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.5s all ;
  z-index: -99999999;
  overflow: hidden;
}
.butchers-content.visible{
  transform: translateY(-10%);
  opacity: 1;
}
.butcher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


.butcher-card h2 {
  font-size: 22px;
  margin: 15px 0 5px;
  color: #333;
}

.butcher-card p {
  color: #777;
  font-size: 16px;
}
.butcher-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: all 0.4s ease-in-out;
}


.butcher-card:hover img {
  transform: scale(1.02);
  filter: grayscale(1);
}


/*--------------Pricing Section-----------------*/

 .pricing {
    background-color: #171717;
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 150px;
    text-align: center;
    color: #fff;
  }
  .pricing-content {
    max-width: 715px;
  }
  .pricing .pricing-content h2 {
    color: #800000;
    margin-bottom: 30px;
    font-weight: 500;
    font-family: "Playfair Display", serif;
    font-size: 20px;
  }
  .pricing-content h1 {
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
    font-size: 65px;
  }

  .pricing-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
  }

  .fi-column,
  .se-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

.product {
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: auto 1fr;
    gap:10px;
    padding: 20px;
    border-radius: 8px;
    min-height: 140px;
    height: 160px;
    width: 100%;
    min-width: unset;
    width: 100%;
  }
.pro-img {
    grid-row: 1 / 3;
    width: 120px;
    height: 120px;
  }
  .pro-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .pro-title {
    font-size: 18px;
    width: 100%;
    height: fit-content;
    text-align: left;
    font-weight: 600;
  }
  .price {
    color: #fce4b7;
    font-size: 20px;
  }
  .p-pricing {
    grid-column: 2 / 3;
    width: 100%;
    color: gray;
    text-align: left;
    overflow: hidden;
  }

 .p-pricing {
    grid-column: span 3 / span 3;
    grid-column-start: 2;
    width: 70%;
    color: gray;
  }
  
  /* BACKGROUND DECORATIONS */
  .background-1,
  .background-2 {
    position: absolute;
    z-index: 0;
    opacity: 0.5;
  }
  .pricing-halal{
  display: flex;
  justify-content: end;
  width: 100%;
  }
  .pricing-halal img {
    right: 0;
    height: 150px;
    transform: rotate(15deg);
  }
/*========== CONTACT SECTION ===============*/
.contact-section {
  padding: 100px 10%;
  background-color: #f4e8d5; /* dark butcher style */
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  font-size: 36px;
  color: #800000;
  margin-bottom: 15px;
}

.contact-info p {
  color: #0a0a0a;
  line-height: 1.6;
  margin-bottom: 25px;
}

.info-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-box i {
  font-size: 28px;
  color: #800000;
  margin-right: 15px;
}

.info-box h4 {
  margin: 0;
  color: #171616;
  font-size: 18px;
}

.info-box p {
  color: #0e0c0c;
  font-size: 15px;
}

/* Map */
.contact-map {
  flex: 1;
  min-width: 350px;
  text-align: center;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 2px solid #800000;
  box-shadow: 0 0 20px rgba(203, 173, 98, 0.3);
}

/* Button */
.view-map-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background-color: #a20707;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.view-map-btn:hover {
  background-color: #fff;
  color: #cbad62;
  transform: translateY(-3px);
}

/*=============== FOOTER SECTION==========*/
footer{
  padding: 50px 13% 70px;
}

.footer{
  display: grid;
  grid-template-columns:repeat(auto-fit , minmax(200px,auto));
  gap: 3.5rem;
  background-color: #5b0505;
}
.footer-content h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 20px;
}
.footer-content li {
  margin-bottom: 10px;
}
.footer-content li a {
  display: block;
  color:#d6d6d6;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.4s ease;
}
.footer-content li a:hover {
  transform: translateY(-3px) translateX(-5px);
}
.icons{
  grid-column: span 2 / span 2;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
.icons a {
  grid-row-start: 2;
  font-size: 22px;
  color: #d6d6d6;
  margin-right: 17px;
  transition: all .40s ease;

}
.icons a:hover {
   color: #fff;
   transform: translateY(-5px);
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 2rem;      /* أصغر وأكثر توازنًا */
    width: 90%;           /* بدل من 550px الثابتة */
    line-height: 1.2;     /* لتحسين القراءة */
  }

}


/* Navbar adjustments */
@media (max-width: 600px) {
  .hero-section {
    padding: 60px 20px;
  }
}
@media (max-width: 600px) {
  .pricing {
    padding: 80px 20px;
  }
}
@media (max-width: 600px) {
  .row {
    padding: 30px 20px;
  }
}
@media (max-width: 600px) {
  .product {
    min-width: 100%;
  }
}
@media (max-width: 992px) {
  header {
    padding: 0.5rem 4%;
    height: 80px;
  }

  .navbar .links,
  .navbar .action-btn ,.btns {
    display: none;
  }

  .navbar .toggle-btn {
    display: block;
    color: #000;
  }

  .dropdown_menu {
    display: block;
  }
}

@media (max-width: 576px) {
  header{
    background-color: #800000;
  }
  .navbar .toggle-btn {
    color: #fff;
  }
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
}



/* Hero Section */

/* Large tablets */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 120px;
  }
  .hero-text { max-width: 90%; }
  .hero-section h1 { font-size: 2.5rem; }
  .hero-section p { font-size: 16px; }
  .hero-img img { width: 20rem; margin-top: 20px; }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .hero-down {
    padding: 20px 40px;
    justify-content: center;
  }
  .hero-down img { height: 3rem; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-section {
    flex-direction: column;
    padding: 125px;
  }
  .hero-section h1 { font-size: 2rem; }
  .hero-section p { font-size: 10px; }
  .hero-img img { width: 100%; }
  .hero-section button { height: 50px; font-size: 18px; }

  .hero-down { flex-direction: column; text-align: center; padding: 20px; }
  .hero-down .Services { flex-direction: column; }
  .hero-down img { padding-right: 0; margin-bottom: 8px; height: 2.8rem; }
}


/* About Us  media*/
@media (max-width: 1050px) {
  .row {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .image-section,
  .content {
    width: 100%;
  }

  .content {
    margin-top: 30px;
  }

  .content h1 {
    font-size: 60px;
  }

  .content h2 {
    font-size: 30px;
  }

  .content p {
    font-size: 18px;
  }

  /* keep tutku logo above aboutus image */
  .image-section {
    position: relative;
  }

  .image-section .tutku {
    position: absolute;
    top: -30px; /* slightly above the image */
    left: 5%;
    transform: translateX(-50%);
    width: 80px; /* smaller for mobile */
    z-index: 2;  /* make sure it's above the image */
  }
}
/***********************************/
/* team media*/
/* Tablet */
@media (max-width: 992px) {
  .butchers {
    padding: 60px 20px;
  }

  .butcher-container {
    gap: 25px;
  }

  .butcher-card {
    width: 45%; /* 2 per row */
  }

  .butchers h1 {
    font-size: 38px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .butcher-card {
    width: 90%; /* single column */
  }

  .butchers h1 {
    font-size: 30px;
  }

  .butcher-card h2 {
    font-size: 20px;
  }

  .butcher-card p {
    font-size: 14px;
  }

  .butcher-card img {
    height: 280px;
  }
}
@media (min-width: 331px) and (max-width: 681px) {
  .butcher-card img {
    height: auto;          /* خلي الارتفاع مرن */
    max-height: none;      /* إزالة الحد الأقصى */
    object-fit: contain;   /* الصورة تظهر بالكامل بدون قص */
  }
}


/* Pricing Section */

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .pricing-content h1 { font-size: 45px; }
  .pricing-content h2 { font-size: 18px; }
  .pricing-list { grid-template-columns: 1fr; }
  .product { width: 100%; }
}

/* Small screens */
@media (max-width: 768px) {
  .background-1,
  .background-2 { display: none; }
  .pricing { padding: 100px 15px; }
  .pricing-content h1 { font-size: 38px; }
  .pricing-content p { font-size: 15px; }
  .product { grid-template-columns: 1fr; text-align: center; padding: 15px; }
  .pro-img { margin: 0 auto 10px; width: 130px; }
  .pro-title { font-size: 18px; }
  .price { font-size: 18px; }
  .p-pricing { text-align: center; font-size: 14px; }
}

/* Extra small screens */
@media (max-width: 480px) {
  .pricing { padding: 80px 10px; }
  .pricing-content h1 { font-size: 30px; }
  .pricing-content h2 { font-size: 16px; }
  .product { padding: 12px; }
  .pro-img { width: 100px; }
  .pro-title { font-size: 17px; }
  .price { font-size: 16px; }
  .p-pricing { font-size: 13px; }
}

/*=========media contact=========*/
/* Tablets */
@media (max-width: 992px) {
  .contact-section {
    padding: 80px 6%;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info h2 {
    font-size: 34px;
  }

  .contact-map iframe {
    height: 300px;
  }

  .info-box {
    justify-content: center;
  }
}

/* Mobile Phones */
@media (max-width: 600px) {
  .contact-section {
    padding: 60px 5%;
  }

  .contact-info h2 {
    font-size: 28px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .info-box i {
    font-size: 24px;
  }

  .info-box h4 {
    font-size: 16px;
  }

  .info-box p {
    font-size: 14px;
  }

  .contact-map iframe {
    height: 250px;
  }

  .view-map-btn {
    padding: 10px 25px;
    font-size:14px;
  }
}