/* === BUTLER FONT FAMILY === */
@font-face {
  font-family: "Butler-Black";
  src: url("fonts/Butler_Black.otf") format("opentype");
}

@font-face {
  font-family: "Butler-Bold";
  src: url("fonts/Butler_Bold.otf") format("opentype");
}

@font-face {
  font-family: "Butler-ExtraBold";
  src: url("fonts/Butler_ExtraBold.otf") format("opentype");
}

@font-face {
  font-family: "Butler-Light";
  src: url("fonts/Butler_Light.otf") format("opentype");
}

@font-face {
  font-family: "Butler-Medium";
  src: url("fonts/Butler_Medium.otf") format("opentype");
}

@font-face {
  font-family: "Butler-Regular";
  src: url("fonts/Butler_Regular.otf") format("opentype");
}

@font-face {
  font-family: "Butler-UltraLight";
  src: url("fonts/Butler_Ultra_Light.otf") format("opentype");
}

/* === CANIS MAJOR === */
@font-face {
  font-family: "CanisMajor";
  src: url("fonts/CANIS-MAJOR.ttf") format("truetype");
}

/* === CINZEL FAMILY === */
@font-face {
  font-family: "Cinzel-Black";
  src: url("fonts/Cinzel-Black.otf") format("opentype");
}

@font-face {
  font-family: "Cinzel-Bold";
  src: url("fonts/Cinzel-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Cinzel-Regular";
  src: url("fonts/Cinzel-Regular.otf") format("opentype");
}

@font-face {
  font-family: "CinzelDecorative-Black";
  src: url("fonts/CinzelDecorative-Black.otf") format("opentype");
}

@font-face {
  font-family: "CinzelDecorative-Bold";
  src: url("fonts/CinzelDecorative-Bold.otf") format("opentype");
}

@font-face {
  font-family: "CinzelDecorative-Regular";
  src: url("fonts/CinzelDecorative-Regular.otf") format("opentype");
}

/* === GILL SANS CONDENSED === */
@font-face {
  font-family: "GillSansCondensed";
  src: url("fonts/gill-sans-mt-condensed.ttf") format("truetype");
}

/* === HERTINE === */
@font-face {
  font-family: "Hertine";
  src: url("fonts/Hertine.woff") format("woff"),
    url("fonts/Hertine.ttf") format("truetype");
}

/* === MISTRAL === */
@font-face {
  font-family: "Mistral";
  src: url("fonts/MISTRAL.ttf") format("truetype");
}

/* === MOVIE FILMSTRIP === */
@font-face {
  font-family: "MovieFilmstrip";
  src: url("fonts/Movie.woff") format("woff"),
    url("fonts/Movie.ttf") format("truetype");
}

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

body {
  font-family: "Rubik", sans-serif;
  background-color: white;
  color: #111;
}

.hero {
  scroll-margin-top: 70vh;
}

.about {
  scroll-margin-top: 15vh;
}

.caftans {
  scroll-margin-top: 100vh;
}

/* elements hidden initially */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

/* when in view */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========= HEADER ========= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  margin-top: 1.5%;
  background-color: transparent;
}

.nav-wrapper {
  max-width: 80%;
  margin: auto;
  padding: 7px 30px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  border-radius: 90px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

/* ========= NAVIGATION (VERSION PC) ========= */
nav {
  /* === TBEDIL JDID HNA === */
  display: grid; /* Bdelnaha men 'flex' l 'grid' */
  grid-template-columns: auto 1fr auto; /* 3 colonnes: Left(auto), Center(1fr), Right(auto) */
  align-items: center;
  padding: 0 70px;
  position: relative;
}

.logo {
  width: 77px;
  margin-top: 1%;
  grid-column: 1; /* Logo f Colonne 1 */
  flex-shrink: 0;
}

/* === TBEDIL JDID HNA === */
/* F PC, kan-7eydo l-wrapper "nav-content" bach n-ferqo l-links w l-icons */
.nav-content {
  display: contents; /* Hada ki-rje3 l-links w l-icons b7al ila mkaynch wrapper */
}

nav ul {
  /* === TBEDIL JDID HNA === */
  grid-column: 2; /* Links f Colonne 2 (Center) */
  justify-self: center; /* N-centriw l-ul west l-colonne */

  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #6e0136;
  font-family: "Cinzel-Bold", cursive;
  font-size: 15px;
  position: relative;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #000;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #000;
  transition: width 0.3s;
}

nav ul li a.active::after {
  width: 100%;
}

/* ========= ICONS (VERSION PC) ========= */
.nav-icons {
  /* === TBEDIL JDID HNA === */
  grid-column: 3; /* Icons f Colonne 3 (Right) */
  justify-self: end; /* N-leşqo l-icons f-limen */

  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-icons a,
.search-container i {
  color: #6e0136;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.nav-icons a:hover,
.search-container i:hover {
  color: #000;
  transform: scale(1.1);
}

/* ========= BURGER MENU (VERSION PC) ========= */
.burger {
  /* === TBEDIL JDID HNA === */
  grid-column: 3; /* Hta howa f Colonne 3 */
  justify-self: end; /* F-limen */

  display: none; /* Mkhabbi f PC */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.burger div {
  height: 3px;
  background-color: #6e0136;
  border-radius: 5px;
  transition: 0.3s;
}
/* home page */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8%;
  padding: 0px 50px;
  height: 85vh;
  background-color: white;

  flex-direction: row-reverse;
}

.text-content {
  max-width: 50%;
  margin-left: 4%;
}

.img-content {
  max-width: 45%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-content img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

/* Title */
.text-content h1 {
  font-family: "Cinzel-Bold", cursive;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: #000;
}

.text-content .highlight {
  color: #6e0136;
}

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

.small-text {
  font-size: 15px;
  font-family: "GillSansCondensed", sans-serif;
  color: #6e0136;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.contact-btn,
.order-btn {
  padding: 15px 25px;
  font-family: "Cinzel-Bold", cursive;
  font-size: 13px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: transform 0.4s;
}

.contact-btn {
  background-color: black;
  color: white;
}

.order-btn {
  background-color: #6e0136;
  color: white;
}

.contact-btn:hover,
.order-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* About Section Wrapper */
.about {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 80px 0;
  background-color: #ffffff;
}

/* Card Style */
.about-card {
  display: flex;
  align-items: center;
  background-color: #000000;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 95%;
  padding: 10px;
  gap: 40px;
  box-sizing: border-box;
}

/* Image inside the card */
.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Text Content */
.about-content {
  flex: 2;
  text-align: left;
  margin-bottom: 5%;
  margin-top: 5%;
}

.about-title {
  margin-bottom: 20px;
}

.about-title h2 {
  font-size: 43px;
  color: #ffffff;
  font-family: "Cinzel-Bold", cursive;
  margin-bottom: 0px;
}

.about-title .about02 {
  display: block;
  margin-top: -35px;
  color: #6e0136;
  font-family: "Hertine";
  font-size: 40px;
  font-weight: bold;
}

.about-content p {
  font-size: 17px;
  font-family: "GillSansCondensed", sans-serif;
  color: #ffffff;
  line-height: 1.7;
  max-width: 90%;
  margin-bottom: 5%;
}

/* Stats Container */
.about-stats {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

/* Single Small Card */
.stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #000000;
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 190px;
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.05);
}

/* Icon */
.stat-card i {
  font-size: 25px;
  color: #6e0136;
}

/* Text Info */
.stat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  font-size: 10px;
  font-weight: bold;
  color: #ffffff;
  font-family: "Cinzel-Bold";
}

.stat-number span {
  font-size: 20px;
}

/*cards caftans*/

.collections-section {
  padding: 80px 40px;
  text-align: center;
  background-color: #fff;
}

.section-title {
  font-size: 35px;
  color: #6e0136;
  font-family: "Cinzel-Bold", serif;
  margin-bottom: 30px;
}

.outro {
  text-align: center;
  color: #000;
  font-size: 17px;
  line-height: 1.6;
  font-family: "Gill Sans MT Condensed", sans-serif;
  margin-bottom: 70px;
}

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

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 400px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* L'ombre qui monte du bas au survol */
.collection-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2),
    transparent
  );
  transition: height 0.4s ease-out;
  z-index: 1; /* Hada li kaykheliha yban taht l'text w l'btn */
}

.collection-card:hover::before {
  height: 100%;
}

/* Styles pour H3, P et le bouton */
.collection-card h3,
.collection-card p,
.collection-card .details-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 2; /* Hada li kaykhelih yban foq l'image w l'shadow */
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none; /* Empêche le clic tant que c'est invisible */
}

/* Positionnement des éléments */
.collection-card h3 {
  bottom: 110px;
  font-family: "Cinzel-Bold", serif;
  font-size: 16px;
  white-space: nowrap;
}

.collection-card p {
  bottom: 70px;
  font-family: "Gill Sans MT Condensed", sans-serif;
  font-size: 12px;
  text-align: center;
  width: 90%;
  white-space: normal;
}

/*btn cards*/
.collection-card .details-btn {
  bottom: 20px;
  cursor: pointer;
  padding: 8px 25px;
  font-family: "Cinzel-Bold", cursive;
  font-size: 13px;
  border-radius: 25px;
  border: none;
  background-color: #6e0136;
  white-space: nowrap;
  pointer-events: auto; /* Active le clic au survol */
}

.collection-card .details-btn:hover {
  background-color: #000;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Rendre les éléments visibles au survol */
.collection-card:hover h3,
.collection-card:hover p,
.collection-card:hover .details-btn {
  opacity: 1;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 8px;
}

.page-btn {
  width: 38px;
  height: 38px;
  font-family: "Cinzel-Bold", cursive;
  border-radius: 8px;
  border: none;
  background-color: #f0f2f5;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background-color: #e4e6eb;
}

.page-btn.active {
  background-color: #6e0136;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.dots {
  font-size: 16px;
  color: #999;
  padding: 0 5px;
}

.page-btn.prev,
.page-btn.next {
  font-size: 16px;
}

/* Section contact */

.styled-card-section {
  padding: 50px 0;
  background-color: white;
}

/* Titre principal */
.contact-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 5%;
  font-family: "Cinzel-Bold", serif;
  color: #6e0136;
}

/* Paragraphe d'intro sous le titre */
.intro-text {
  font-size: 17px;
  font-family: "GillSansCondensed", sans-serif;
  color: #000000;
  margin-bottom: 50px;
  line-height: 1.7;
  text-align: center;
}

/* Carte contenant le fond + contenu */
.styled-card {
  width: 95%;
  margin: auto;
  position: relative;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0)
    ),
    url("imgs/contact.jpeg");
  background-size: cover;
  background-position: center;
}

/* Contenu textuel à l'intérieur de la carte */
.card-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px 30px;
}

/* Texte descriptif dans la carte */
.card-text {
  font-size: 17px;
  font-family: "GillSansCondensed", sans-serif;
  color: #ffffff;
  max-width: 1100px;
  margin-bottom: 40px;
  line-height: 1.7;
  text-align: center;
}

/* Bouton Learn More */
.card-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: #fff;
  color: #000;
  border-radius: 50px;
  padding: 10px 15px 10px 25px;
  font-family: "Cinzel-Bold", serif;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  gap: 10px;
}

.card-button:hover {
  background-color: #000;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Espace entre texte et icônes */
.social-cards {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  width: 160px;
  padding: 25px 20px;
  color: #6e0136;
  text-align: center;
  box-shadow: 0 4px 15px rgba(110, 1, 54, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(110, 1, 54, 0.5);
}

.social-card i {
  color: #fff;
  font-size: 40px;
  margin-bottom: 15px;
}

.social-card h3 {
  color: #fff;
  margin: 0 0 8px;
  font-family: "Cinzel-Bold", serif;
  font-weight: 500;
  font-size: 15px;
}

.social-card p {
  color: #fff;
  margin: 0;
  font-size: 12px;
  font-family: "GillSansCondensed", sans-serif;
}

#hhh {
  font-size: 13px;
}

/* ======= FOOTER ======= */
#main-footer {
  background-color: rgba(255, 255, 255, 0.9);
  color: white;
  padding: 40px 20px;
  font-family: "Cinzel-Bold", serif;
}

#main-footer .footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left h3 {
  font-family: "Cinzel-Bold", serif;
  margin-bottom: 20px;
  font-size: 20px;
  color: #6e0136;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
  min-width: 230px;
}

.footer-center {
  margin-left: 7%;
}

.footer-left p {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
  margin-top: 5%;
  text-align: start;
}

.footer-center h3 {
  font-family: "Cinzel-Bold", serif;
  margin-bottom: 20px;
  font-size: 20px;
  color: #6e0136;
}

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

.footer-center ul li {
  margin-bottom: 10px;
}

.footer-center ul li a {
  text-decoration: none;
  font-family: "GillSansCondensed", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
  transition: color 0.3s;
  text-align: start;
}

.footer-center ul li a:hover {
  color: #6e0136;
}

.footer-right h3 {
  font-family: "Cinzel-Bold", serif;
  margin-bottom: 20px;
  font-size: 20px;
  color: #6e0136;
}

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

.footer-right ul li {
  margin-bottom: 12px;
  font-family: "GillSansCondensed", sans-serif;
  font-size: 15px;
  color: #000000;
}

#main-footer {
  text-align: start;
  margin-top: 35px;
  font-family: "GillSansCondensed", sans-serif;
  font-size: 14px;
  color: #000000;

  padding-top: 15px;
}

.footer-center-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-center-links li {
  margin-bottom: 10px;
  text-align: start;
}

.footer-center-links li a {
  font-family: "GillSansCondensed", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-center-links li a:hover {
  color: #6e0136;
}

.copyright {
  text-align: center;
  margin-top: 2%;
  padding-top: 2%;
  margin-bottom: -6px;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 14px;
  color: #000000;
  border-top: 1px solid #6e0136;
}

.highlight {
  font-family: "Cinzel-Bold", serif;
  color: #6e0136;
}

/* ========= MEDIA QUERIES FOR PHONES ========= */
@media (max-width: 600px) {
  /* GLOBAL RESET */
  * {
    box-sizing: border-box;
  }

  .hero {
    scroll-margin-top: 70vh;
  }

  .about {
    scroll-margin-top: 5vh;
  }

  #caftans {
    scroll-margin-top: 7vh;
  }

  html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fff;
  }

  .nav-wrapper {
    max-width: 90%;
    padding: 7px 20px;
  }

  nav {
    display: flex;
    justify-content: space-between;
    padding: 0 7%;
    grid-template-columns: none;
  }

  .logo {
    width: 60px;
    grid-column: auto;
  }

  .burger {
    display: flex;
    grid-column: auto;
    justify-self: auto;
  }

  .nav-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1001;

    /* Style dyal dropdown */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.4s ease-out;
  }

  .nav-content.active {
    max-height: 500px;
    opacity: 1;
    padding: 25px 20px;
  }

  nav ul {
    grid-column: auto;
    justify-self: auto;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    padding: 5% 1%;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  .nav-icons {
    grid-column: auto;
    justify-self: auto;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    width: 100%;
    justify-content: center;
    gap: 30px;
  }

  .burger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.active div:nth-child(2) {
    opacity: 0;
  }
  .burger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Home page */

  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20%;
    padding: 20px;
    height: auto;
    text-align: center;
  }

  .img-content {
    max-width: 100%;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
  }

  .img-content img {
    max-width: 100%;
    max-height: 80vh;
    margin-top: -10%;
  }

  .text-content {
    max-width: 100%;
    margin-left: 0;
  }

  /* Title */
  .text-content h1 {
    font-size: 23px;
    margin-bottom: 20px;
  }

  .text-content .h2 {
    font-size: 18px;
  }

  .small-text {
    font-size: 12px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .contact-btn,
  .order-btn {
    width: 80%;
    font-size: 12px;
    padding: 8px 0;
  }

  .contact-btn:hover,
  .order-btn:hover {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  }

  /* ===== ABOUT SECTION ===== */
  .about-card {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .about-content p {
    max-width: 100%;
    font-size: 12px;
  }

  .about-stats {
    gap: 7px;
    justify-content: center;
  }

  .stat-card {
    min-width: 110px;
    padding: 6px 10px;
    gap: 6px;
  }

  .stat-card i {
    font-size: 14px;
  }

  .stat-number {
    font-size: 7px;
  }

  .stat-number span {
    font-size: 14px;
  }

  .collections-section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 25px;
  }

  .outro {
    font-size: 12px;
    margin-bottom: 40px;
  }

  .collections-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .collection-card {
    height: 180px;
    border-radius: 8px;
  }

  .collection-card .details-btn {
    display: none;
  }
  /* ونجعل الصورة قابلة للنقر */
  .collection-card img {
    cursor: pointer;
  }

  .page-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
    border-radius: 6px;
  }

  .dots {
    font-size: 10px;
  }

  .styled-card-section {
    padding: 30px 15px;
  }

  .contact-title {
    font-size: 28px;
    margin-top: 10%;
    margin-bottom: 7%;
  }

  .intro-text {
    display: none;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.5;
    padding: 0 10px;
  }

  .styled-card {
    width: 100%;
    height: auto;
    flex-direction: column;
    padding: 7px;
  }

  .card-content {
    padding: 15px 20px;
  }

  .card-text {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: center;
  }

  .card-button {
    font-size: 12px;
    padding: 8px 15px 8px 20px;
    border-radius: 40px;
  }

  .social-cards {
    margin-top: 30px;
    gap: 15px;
    justify-content: center;
  }

  .social-card {
    width: 87px;
    padding: 15px 10px;
    border-radius: 12px;
  }

  .social-card i {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .social-card h3 {
    font-size: 10px;
  }

  .social-card p {
    font-size: 11px;
  }
  #hhh {
    font-size: 12px;
  }

  /* ======= FOOTER ======= */

  .footer-left {
    display: none !important;
  }

  #main-footer .footer-container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-center {
    margin-left: 0;
  }

  .footer-right {
    margin-bottom: 10%;
  }
  .footer-center,
  .footer-right {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .footer-center h3,
  .footer-right h3 {
    font-size: 16px;
  }

  .footer-center ul li a,
  .footer-center ul li,
  .footer-right ul li {
    font-size: 15px;
    line-height: 1.4;
  }

  #main-footer {
    padding: 20px 15px;
  }
  .copyright {
    font-size: 12px;
    margin-top: 10px;
  }
}

/* ========= MEDIA QUERIES FOR TABLETS ========= */
@media (min-width: 601px) and (max-width: 1024px) {
  /* GLOBAL RESET */
  * {
    box-sizing: border-box;
  }

  html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fff;
  }

  /* ========= HEADER ========= */
  header {
    padding: 8px 0;
    margin-top: 0.5%;
  }

  .nav-wrapper {
    max-width: 90%;
    padding: 6px 20px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  }

  /* ========= NAVIGATION ========= */
  nav {
    padding: 0 20px;
  }

  .logo {
    width: 65px;
    margin-top: 1%;
  }

  nav ul {
    gap: 20px;
  }

  nav ul li a {
    font-size: 12px;
  }

  /* ========= ICONS ========= */
  .nav-icons {
    gap: 15px;
  }

  .nav-icons a,
  .search-container i {
    font-size: 17px;
  }

  /* ========= HERO ========= */
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 10%;
    padding: 20px;
    height: auto;
    text-align: left;
  }

  .img-content {
    max-width: 50%;
    margin-bottom: 0;
    justify-content: center;
    align-items: center;
  }

  .img-content img {
    max-width: 100%;
    max-height: 80vh;
  }

  .text-content {
    max-width: 45%;
    margin-left: 0;
  }

  .text-content h1 {
    font-size: 25px;
    margin-bottom: 20px;
  }

  .text-content .h2 {
    font-size: 17px;
  }

  .small-text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 15px;
    align-items: center;
  }

  .contact-btn,
  .order-btn {
    width: auto;
    font-size: 11px;
    padding: 8px 20px;
  }

  /* ===== ABOUT SECTION ===== */
  .about-card {
    flex-direction: row;
    gap: 20px;
    padding: 20px;
  }

  .about-content p {
    max-width: 100%;
    font-size: 14px;
  }

  .about-stats {
    gap: 10px;
    justify-content: center;
  }

  .stat-card {
    min-width: 130px;
    padding: 8px 12px;
    gap: 8px;
  }

  .stat-card i {
    font-size: 16px;
  }

  .stat-number {
    font-size: 9px;
  }

  .stat-number span {
    font-size: 16px;
  }

  /* ===== COLLECTIONS SECTION ===== */
  .collections-section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .outro {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .collections-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .collection-card {
    height: 230px;
    border-radius: 8px;
  }

  .collection-card .details-btn {
    display: none;
  }

  .collection-card img {
    cursor: pointer;
  }

  .page-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
    border-radius: 6px;
  }

  .dots {
    font-size: 12px;
  }

  /* ===== STYLED CARD SECTION ===== */
  .styled-card-section {
    padding: 40px 20px;
  }

  .contact-title {
    font-size: 30px;
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .intro-text {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
    padding: 0 15px;
  }

  .styled-card {
    width: 100%;
    height: auto;
    flex-direction: row;
    padding: 10px;
  }

  .card-content {
    padding: 15px 20px;
  }

  .card-text {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: left;
  }

  .card-button {
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 40px;
  }

  .social-cards {
    margin-top: 30px;
    gap: 20px;
    justify-content: center;
  }

  .social-card {
    width: 100px;
    padding: 15px;
    border-radius: 12px;
  }

  .social-card i {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .social-card h3 {
    font-size: 12px;
  }

  .social-card p {
    font-size: 12px;
  }

  #hhh {
    font-size: 13px;
  }
  .footer-left {
    display: none !important;
  }

  #main-footer .footer-container {
    flex-wrap: wrap;
    flex-direction: row; /* hna bdelna l column b row */
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between; /* bach tfrqhom mzyan */
  }

  .footer-center,
  .footer-right {
    flex: 1 1 auto; /* bach kol wa7ed yakhod size b 7sab l contenu */
    min-width: unset; /* bach maykhdch 100% */
  }

  .footer-center h3,
  .footer-right h3 {
    font-size: 16px;
  }

  .footer-center ul li a,
  .footer-center ul li,
  .footer-right ul li {
    font-size: 15px;
    line-height: 1.4;
  }

  #main-footer {
    padding: 20px 15px;
  }

  .copyright {
    font-size: 12px;
    margin-top: 50px;
  }
}
