:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray: #e0e0e0;
    --dark-gray: #7f8c8d;
    --gold: #d4af37;
    --dark-blue: #1e3a8a;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #d7cfc4;
}

/* Header */
.navbar-container {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  width: 100%;
}

.navbar {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  width: 90%;
  max-width: 1200px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  position: relative;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #1e1e50;
  position: relative;
}

.logo::after {
  content: 'خيال';
  position: absolute;
  left: 10px;
  top: 5px;
  color: #c8513c;
  font-size: 26px;
  transform: rotate(-10deg);
  opacity: 0.6;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1e1e50;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 16px;
  align-items: center;
  transition: max-height 0.4s ease-in-out;
}

.nav-links a {
  color: #2c2c2c;
  text-decoration: none;
  font-weight: 500;
}

.contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone {
  font-weight: bold;
  color: #000;
  display: flex;
  align-items: center;
}

.phone i {
  color: #f2785f;
  margin-right: 5px;
}

.whatsapp-btn {
  background-color: #f2785f;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* ✅ القائمة على الهاتف */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 30px;
    top: 20px;
  }

  .nav-links {
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    width: 100%;
    gap: 15px;
    margin-top: 10px;
    transition: max-height 0.4s ease-in-out;
  }

  .nav-links.show {
    max-height: 500px;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .whatsapp-btn {
    padding: 8px 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 15px 10px;
  }

  .logo {
    font-size: 24px;
  }

  .logo::after {
    font-size: 20px;
  }

  .nav-links {
    font-size: 14px;
  }

  .phone {
    font-size: 14px;
  }
}


/* Hero Section */
/* Hero Section */
.hero {
  margin-top: 150px;
  position: relative;
  min-height: 59vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  flex-wrap: wrap;
  padding: 20px;
  gap: 30px;
}

.hero-text {
  max-width: 50%;
  margin-top: -103px;
}

.hero-text h1 {
  color: #1e1e4f;
  font-size: 40px;
  margin: 0;
  line-height: 1.4;
}

.hero-text p {
  color: #de5b5b;
  font-weight: bold;
  margin-top: 20px;
}

.hero-image img {
  width: 460px;
  max-width: 100%;
  height: auto;
  margin-top: -103px;
}

/* ✅ Responsive */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
    margin-top: 100px;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 0;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-image img {
    margin-top: 20px;
    width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-image img {
    width: 250px;
  }
}

/* catcory */
.products {
  padding: 20px 20px;
  text-align: center;
  background-color: #ffffff;
  color: #2f1c64;
}

.products p {
  margin-top: 10px;
  color: black;
}

.section-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 20px;
  justify-content: center;
}

.card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.card-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.card-button:hover {
  background: #eee;
}

.card.large {
  width: 557px;
  height: 597px;
}

.card.small {
  width: 250px;
  height: 300px;
}

.card1,
.card2 {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  transition: 0.3s ease;
}

.card .hover-info {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  z-index: 3;
}

.card:hover img {
  opacity: 0.4;
  transform: scale(1.05);
}

.card:hover .hover-info {
  opacity: 1;
}

.card:hover .card-content {
  opacity: 0;
}

/* ✅ Responsive */
@media (max-width: 991px) {
  .card.large {
    width: 100%;
    height: auto;
  }

  .card.small {
    width: 47%;
    height: auto;
  }
}

@media (max-width: 600px) {
  .card.large,
  .card.small {
    width: 100%;
    height: auto;
  }

  .card img {
    height: auto;
  }

  .products h1 {
    font-size: 22px;
  }

  .products p {
    font-size: 14px;
  }

  .card-content div {
    font-size: 14px;
    padding: 4px 10px;
  }

  .card .hover-info {
    font-size: 14px;
  }
}


/* travail */
.section-travail {
    text-align: center;
    padding: 60px 20px;
}

.section-travail h2 {
    font-size: 36px;
    color: #b44444;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.step {
    max-width: 280px;
}

.step i {
    font-size: 40px;
    color: #f08372;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 22px;
    color: #b44444;
    margin-bottom: 10px;
}

.step p {
    font-size: 16px;
    color: #1d2353;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
}

/* prods */
.prods {
  position: relative; 
  height: auto;      
  padding: 40px 20px;
  background-color: #fff;
  color: #222;
}


.txt{
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

p.description {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.tab {
    cursor: pointer;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: color 0.3s;
}

.tab:hover {
    color: #ff4d4d;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #ff4d4d;
    transition: width 0.3s;
}

.tab:hover::after {
    width: 100%;
}

.tab.active {
    color: #000;
}

.tab.active::after {
    width: 100%;
}

.tab i {
    font-style: normal;
    font-size: 18px;
}

.product-slider {
    position: relative;
}

.products45 {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 16px;
    margin-left: 41px;
    justify-content: center;
}

.product45 {
    flex: 165px 0 190px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}

.product45:hover {
    background-color: #f0f0f0;
}

.product45 img.main-img,
.product45 img.hover-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: opacity 0.7s ease-in-out;
}

.product45 img.hover-img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    opacity: 0;
    z-index: 1;
}

.product45:hover img.hover-img {
    opacity: 1;
}

.product45:hover img.main-img {
    opacity: 0;
}

.color-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.color-label {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    color: black;
    font-weight: bold;
}

.color-red {
    background-color: #fff;
}

.color-blue {
    background-color: #fff;
}

.product45-info {
    text-align: left;
    padding: 0 4px;
}

.product45-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
    text-align: center;
}

.product45-description {
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
    text-align: center;
}

.product45-price {
    font-size: 14px;
    font-weight: bold;
    color: #e63946;
    text-align: center;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 10px;
    color: #777777;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
    z-index: 2;
}

.arrow.left {
    left: 290px;
}

.arrow.right {
    right: 250px;
}
/* ✅ ترتيب عمودي للمنتجات على الهاتف */
@media (max-width: 768px) {
  .products45 {
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    gap: 20px;
    margin-left: 0;
  }

  .product45 {
    width: 90%;
    max-width: 360px;
  }

  .arrow {
    display: none;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    justify-content: center;
    padding: 0 10px;
  }

  .txt {
    font-size: 22px;
  }

  .description {
    font-size: 13px;
  }

  .product45-name {
    font-size: 15px;
  }

  .product45-description {
    font-size: 12px;
  }

  .product45-price {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .product45 {
    width: 95%;
  }

  .txt {
    font-size: 20px;
  }

  .product45-name,
  .product45-price {
    font-size: 14px;
  }

  .product45-description {
    font-size: 11px;
  }

  .color-label {
    font-size: 10px;
    padding: 2px 5px;
  }
}


/* section */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #fff;
    color: #222;
    
}

.about-img {
    width: 506px;
    height: 337px;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-content {
    max-width: 650px;
    text-align: center;
}

.about-content h2 {
    color: #2c2f8c;
    font-weight: 700;
    font-size: 28px;
}

.about-content p {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    margin: 0 10px;
}

.social-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    background-color: #d9534f;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #c9302c;
    transform: scale(1.1);
}

/* ✅ استجابة الهاتف والتابلت */
@media screen and (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 15px;
    }

    .about-img {
        width: 90%;
        height: auto;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content p {
        font-size: 14px;
    }

    .social-icons a {
        font-size: 18px;
        padding: 8px 12px;
    }
}

@media screen and (max-width: 480px) {
    .about-content h2 {
        font-size: 20px;
    }

    .about-content p {
        font-size: 13px;
    }

    .social-icons a {
        font-size: 16px;
        padding: 6px 10px;
    }
}


.contier {
    padding: 60px 20px;
    text-align: center;
}

.Témoignages {
    color: #b94949;
    font-size: 36px;
    font-weight: 800;
}

.star {
    margin: 20px auto;
    width: 274px;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.testimonial {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    width: 300px;
    transition: opacity 0.5s ease-in-out;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial p {
    margin-top: 20px;
    color: #444;
    font-size: 15px;
    min-height: 80px;
}

.testimonial strong {
    display: block;
    margin-top: 10px;
}

.clients-section {
  padding: 30px 20px;
  background-color: #fff;
  text-align: center;
}

.clients-section .title {
  font-size: 32px;
  font-weight: bold;
  color: #2A2D5E;
;
}

.clients-section .underline {
  width: 40px;
  height: 4px;
  background-color: #e63946;
  margin: 10px auto 20px;
  border-radius: 10px;
}

.clients-section .subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.images-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: flex-end;
}

.img {
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.img.small {
  width: 140px;
  height: 220px;
}

.img.medium {
  width: 150px;
  height: 240px;
}

.img.large {
  width: 180px;
  height: 260px;
}

.chat-icon {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-box {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 350px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(150%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.chat-box.active {
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header i {
    cursor: pointer;
}

.chat-messages {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    background-color: #f5f5f5;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.incoming {
    background-color: var(--white);
    color: var(--dark-color);
    border-top-right-radius: 0;
    margin-right: auto;
}

.outgoing {
    background-color: var(--gold);
    color: var(--white);
    border-top-left-radius: 0;
    margin-left: auto;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: var(--white);
    border-top: 1px solid var(--gray);
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: 30px;
    outline: none;
}

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    margin-left: 10px;
    cursor: pointer;
}


.footer {
  background-color: #0e0e0e;
  color: #fff;
  text-align: center;
  font-family: sans-serif;
}

/* Top Contact Box */
.contact-box {
  background-color: #c14b4b;
  border-radius: 150px;
  padding: 40px 20px;
  margin: 0 auto;
  margin-top: -100px;
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-img {
  max-width: 160px;
  height: auto;
}

.contact-text {
  max-width: 500px;
  text-align: left;
  color: #fff;
}

.contact-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 16px;
  margin-bottom: 15px;
}

.contact-text input {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: none;
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-text button {
  width: 100%;
  padding: 12px;
  background-color: #fff;
  color: #c14b4b;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer Bottom Section */
.footer-bottom {
  padding: 80px 20px 30px;
  background-color: #0e0e0e; /* إضافة خلفية داكنة للفوتر */
  text-align: center;
}

.footer-logo img {
  width: 150px;
  max-width: 100%;
  margin-bottom: 20px;
}

.footer-links {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.6s, text-decoration 0.6s;
}

.footer-links a:hover {
  text-decoration: underline;
  color: orange;
}

footer p {
  font-size: 14px;
  color: #ccc;
  margin-top: 10px;
}

/* Responsive Footer */
@media (max-width: 600px) {
  .footer-links {
    gap: 10px;
    margin-bottom: 20px;
  }

  footer p {
    font-size: 12px;
  }
}


/* زر الصعود */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 60px;
  height: 60px;
  font-size: 24px;
  background-color: var(--gold);
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 50%;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

