@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');

:root {
  --primary-gold: #D4AF37;
  --primary-gold-light: #E9D58A;
  --primary-gold-dark: #9D7E2A;
  --dark-bg: #262626;
  --gray-light: #f4f4f4;
  --white: #ffffff;
  --black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--white);
  color: var(--dark-bg);
  line-height: 1.6;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  overflow: hidden;
}

.logo-img img {
  width: 143%;
  border-radius: 50%;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark-bg);
}

.logo-text span {
  color: var(--primary-gold);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-right: 25px;
}

nav ul li a {
  color: var(--dark-bg);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-gold);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  right: 0;
  background-color: var(--primary-gold);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
  right: auto;
  left: 0;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--dark-bg);
  font-size: 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('./images/كامب\ سكن\ العمال.avif') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.gold-text {
  color: var(--primary-gold);
}

.home-btn-collection {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

@media (max-width: 767px) {
  .home-btn-collection {
    flex-direction: column;
  }

  .cta-btn {
    width: 250px;
  }
}

.cta-btn {
  display: inline-block;
  background-color: var(--primary-gold);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  margin: 10px;
  border: 2px solid var(--primary-gold);
}

.cta-btn:hover {
  background-color: transparent;
  color: var(--primary-gold);
}

.cta-btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
}

.cta-btn-outline:hover {
  background-color: var(--white);
  color: var(--dark-bg);
  border-color: var(--white);
}

.cta-btn-pdf {
  background-color: var(--dark-bg);
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  box-shadow: 0 4px 15px rgba(38, 38, 38, 0.3);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.cta-btn-pdf::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-gold-dark), var(--primary-gold));
  transition: left 0.4s ease;
  z-index: -1;
}

/* .cta-btn-pdf:hover::before {
  left: 0;
} */

.cta-btn-pdf:hover {
  color: var(--white);
  border-color: var(--primary-gold-light);
  transform: translateY(-2px);
  /* box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); */
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* About Section */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-bg);

}

@media (min-width: 991px) {
  .section-title .contact-title {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, white 50%, black 50%);
  }
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-gold);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-img {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--dark-bg);
}

.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

/* Features Section */
.features {
  background-color: var(--gray-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  color: var(--primary-gold);
  margin-bottom: 20px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.5s ease;
  position: relative;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

.feature-icon::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px dashed var(--primary-gold-light);
  border-radius: 50%;
  opacity: 0.5;
  animation: spin 15s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--dark-bg);
}

.feature-card p {
  font-size: 14px;
  color: #666;
}

/* Products Section */
.products {
  position: relative;
  overflow: hidden;
}

.swiper {
  width: 100%;
  padding: 30px 0;
}

.swiper-wrapper {
  margin-bottom: 20px
}

.swiper-slide {
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card {
  background-color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-img {
  height: 250px;
  width: 100%;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-bg);
}

.product-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-btn {
  align-self: flex-start;
  background-color: var(--primary-gold);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background-color: var(--primary-gold-dark);
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-gold);
}

.swiper-button-next, .swiper-button-prev {
  color: var(--primary-gold);
}

/* Contact Section */
.contact {
  background: linear-gradient(to right, var(--dark-bg) 50%, var(--white) 50%);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background-color: var(--dark-bg);
  color: var(--white);
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--primary-gold);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 24px;
  color: var(--primary-gold);
  margin-left: 15px;
}

.contact-text span {
  display: block;
  font-size: 14px;
  color: #ccc;
}

.contact-text strong {
  font-size: 16px;
  color: var(--white);
}

.social-links {
  display: flex;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 18px;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-gold);
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background-color: var(--white);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--dark-bg);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background-color: var(--primary-gold);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--primary-gold-dark);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.3);
  animation: pulse 2s infinite;
  z-index: -1;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-tooltip:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 75px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-logo h3 span {
  color: var(--primary-gold);
}

.footer-logo p {
  font-size: 14px;
  color: #bbb;
  max-width: 300px;
}

.footer-links {
  flex: 1;
  min-width: 150px;
  margin-bottom: 30px;
}

.footer-links h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-gold);
}

.footer-contact {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.footer-contact-item {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-icon {
  color: var(--primary-gold);
  margin-left: 10px;
  font-size: 16px;
}

.footer-contact-text {
  font-size: 14px;
  color: #bbb;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #999;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .nav-container {
    padding: 10px 0;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 70%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  nav ul li {
    margin-right: 0;
    margin-bottom: 20px;
  }

  nav ul li a {
    font-size: 18px;
  }

  .hamburger {
    display: block;
    flex: 1;
    text-align: left;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .contact {
    background: var(--white);
  }
}

@media (max-width: 768px) {
  /* .cta-btn {} */

  .section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-img, .about-text {
    flex: none;
    width: 100%;
  }

  .about-text h3 {
    font-size: 24px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    font-size: 36px;
  }

  .product-img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }

  .logo-text {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 14px;
    display: block;
    margin: 10px auto;
    width: 200px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .about-text h3 {
    font-size: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 20px;
    left: 20px;
  }
}