﻿:root {
  --primary-color: #876a29;
  --secondary-color: #0d201f;
  --primary-light: #a58b4a;
  --primary-dark: #6a551f;
  --secondary-light: #1a3635;
  --secondary-dark: #061413;
  --dark-color: #333333;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
  --gray: #6c757d;
  --light-gray: #e9ecef;

  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --dark-shadow: 0px 0px 10px #595858;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-color);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

section {
  width: 100%;
  overflow: hidden;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

/* ul,
ol {
  padding-right: 1.5rem;
} */

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-light {
  background-color: var(--light-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-color)
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.section-padding {
  padding: 85px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-header h3 {
  color: var(--secondary-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--gray);
  font-size: 16px;
}

.text-center .section-header p {
  margin-left: auto;
  margin-right: auto;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loader {
  position: relative;

}


.logo-loader {
  text-align: center;
  margin-top: 30px;
}

.logo-loader img {
  /* width: 80px; */
  height: auto;
  margin-bottom: 15px;
}

.logo-loader h3 {
  color: var(--secondary-color);
  font-weight: 700;
  width: 200px;
  position: relative;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* padding: 15px 0; */
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.9);
}

.header.scrolled {
  background-color: white;
  /* padding: 10px 0; */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-color);
}

@media (max-width: 671px) {
  .navbar-brand span {
    display: none;
  }
}

/* .navbar-brand .logo {
  width: 40px;
  height: auto;
  margin-left: 10px;
} */

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 600;
  padding: 8px 15px;
  position: relative;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: calc(100% - 30px);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-toggler {
  color: var(--primary-color);
  font-size: 24px;
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}


.language-switcher .btn {
  padding: 0.5rem 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
  box-shadow: var(--box-shadow);
  border: 1px solid var(--primary-color);
}

/* start hero */
.hero-slider {
  width: 100%;
  height: 100vh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-slider .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: transform 8s ease-out;
}

.hero-slider .swiper-slide-active .slide-bg {
  transform: scale(1.1);
}

.gradient-overlay {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-slider .slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 30px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

.hero-slider .swiper-slide-active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-slider h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;

}

.hero-slider .lead {
  font-size: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  text-transform: uppercase;

}

.hero-slider .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-slider .btn-outline-light {
  border-width: 2px;
}

.hero-slider .btn-outline-light:hover {
  color: var(--primary-color);
  background-color: white;
}

.hero-slider .swiper-pagination {
  bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 2px solid white;
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  background: white;
  transform: scale(1.3);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
  font-size: 1.5rem;
  font-weight: bold;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}



@media (max-width: 991.98px) {
  .hero-slider h1 {
    font-size: 2.8rem;
  }

  .hero-slider .lead {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 500px;
  }

  .hero-slider h1 {
    font-size: 2.2rem;
  }

  .hero-slider .lead {
    font-size: 1.1rem;
  }

  .hero-slider .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }

  .hero-slider .swiper-button-next:after,
  .hero-slider .swiper-button-prev:after {
    font-size: 1rem;
  }
}


/* About Section */
.about-img {
  position: relative;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.03);
}

.experience-box {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.experience-box h3 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1;
}

.experience-box p {
  font-size: 16px;
  margin-bottom: 0;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-weight: 500;
}

.about-list li i {
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 3px;
}

/* Services Section */
.services-section {
  background-color: var(--light-color);
}

.service-card {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--dark-shadow);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);

}

.service-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--gray);
  margin-bottom: 0;
}

.icon-bg {
  position: absolute;
  top: -10px;
  right: 5%;
  font-size: 80px;
  z-index: 0;
  pointer-events: none;
  color: #876a29;
  opacity: 0.2;
  transition: var(--transition);
}

.service-card:hover .icon-bg {
  opacity: 0.3;
  transform: scale(1.1);
}

/* Clients Section */
.clients-section {
  background-color: var(--white);
}

.client-logo {
  background-color: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--dark-shadow);
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.client-logo:hover {
  transform: translateY(-5px);
}

.client-logo img {
  max-height: 60px;
  width: auto;
  transition: var(--transition);
}

.clients-slider {
  padding: 20px 10px 50px;
}

.clients-section .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary-light);
}

.clients-section .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

/* Brands Section */
.brands-section {
  background-color: var(--light-color);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 30px;
}

.brand-item {
  background-color: var(--white);
  padding: 5px;
  border-radius: 10px;
  box-shadow: var(--dark-shadow);
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.brand-item:hover {
  transform: translateY(-5px);
}

.brand-item img {
  max-height: 60px;
  width: auto;
  transition: var(--transition);
}


/* Contact Section */
.contact-item {
  display: flex;
  margin-bottom: 25px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(135, 106, 41, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 20px;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.contact-text p,
.contact-text a {
  color: var(--gray);
  margin-bottom: 0;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  height: 50px;
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  transition: var(--transition);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.form-control option:focus {
  background-color: var(--primary-color);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
}

.contact-form .btn {
  width: fit-content;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 200px;
  height: auto;
  margin-left: 10px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-weight: 500;
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  margin-left: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}


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

.footer-links ul li {
  margin-bottom: 10px;
  font-weight: 500;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  transform: translateX(-5px);
}

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

.footer-contact ul li {
  margin-bottom: 15px;
}

.footer-contact ul li i {
  color: var(--primary-color);
  margin-left: 10px;
  margin-top: 5px;
}

.footer-contact ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-contact ul li a:hover {
  color: var(--primary-color);
}

.copyright {
  background-color: var(--secondary-dark);
  padding: 20px 0;
  margin-top: 50px;
}

.copyright p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.footer-menu {
  text-align: right;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 15px;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--primary-color);
}





/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 33px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-5px);
}



.chat-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  align-items: flex-end;
}

/* WhatsApp Float (existing styles with adjustments) */
.whatsapp-float {
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}


@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-header h3 {
    font-size: 28px;
  }

  .copyright .row>div {
    text-align: center !important;
  }

  .footer-menu {
    text-align: center;
  }

  .copyright {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }

  .navbar-brand span {
    font-size: 15px;
  }

  .clients-section .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--primary-light);
  }


  .footer {
    padding: 60px 0 0;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-about {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-links h4::before {
    right: 50%;
    transform: translateX(50%);
  }

  .copyright {
    font-size: 0.8rem;
  }

  .chat-float-container {
    bottom: 25px;
    left: 14px;
  }

}


/************ Gallery Section **************/
/* .gallery4-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem;
} */

.gallery4-card-image {
  overflow: hidden;
  position: relative;
  height: 250px; /* ✅ الارتفاع الثابت لكل الصور */
  border-radius: 4px;
}

.gallery4-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery4-card-image img:hover {
  transform: scale(1.05);
}


.modal-gallery4 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}

.hidden {
  display: none;
}

.modal-gallery4-content {
  max-width: 80%;
  max-height: 80vh;
  border-radius: 6px;
  position: relative;
}

.modal-gallery4-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.modal-gallery4-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.modal-gallery4-nav.prev {
  left: 30px;
  transform: scale(-1);
}

.modal-gallery4-nav.next {
  right: 30px;
  transform: scale(-1);
}

.modal-gallery4-caption {
  color: white;
  margin-top: 15px;
  font-size: 18px;
  text-align: center;
}

.modal-gallery4-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}