/* Professional Fashion Style CSS for رباط الراقي */

/* GE SS Font - Using IBM Plex Sans Arabic as alternative */
@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GE SS Two';
  src: url('../fonts/IBMPlexSansArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

p {
  margin: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

button:focus {
  outline: none !important;
}

.btn {
  outline: none !important;
  box-shadow: none !important;
}

.rest-btn {
  background: transparent;
  border: 0;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  cursor: pointer;
  transition: none;
}

:root {
  --primaryColor: #1a1a1a;
  --primaryDark: #000000;
  --primaryLight: #333333;
  --accentColor: #d4af37;
  --accentLight: #f4d03f;
  --textDark: #1a1a1a;
  --textLight: #666666;
  --white: #ffffff;
  --lightGray: #f8f8f8;
  --darkGray: #2c2c2c;
  --gradient1: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  --gradient2: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1200px;
  }
}

body {
  font-family: "GE SS Two", "GESS", "GE SS", "Segoe UI", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  text-align: start;
  min-height: 100vh;
  background: var(--white);
  color: var(--textDark);
  line-height: 1.6;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 25px 0;
}

header.transparent {
  background: transparent !important;
  box-shadow: none;
}

header.sticky {
  position: fixed;
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 15px 0;
}

header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header-logo .logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

header.transparent .header-logo .logo-text {
  color: var(--white);
}

header.sticky .header-logo .logo-text {
  color: var(--white);
}

header .header-menu ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

header .header-menu ul li a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header.transparent .header-menu ul li a {
  color: var(--white);
}

header.sticky .header-menu ul li a {
  color: var(--white);
}

header .header-menu ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accentColor);
  transition: width 0.3s ease;
}

header .header-menu ul li a:hover::after,
header .header-menu ul li.active a::after {
  width: 80%;
}

header .header-menu ul li a:hover {
  color: var(--accentColor);
}

header .header-menu ul li.active a {
  color: var(--accentColor);
}

header .header-menu .close-menu-toggle {
  display: none;
}

header .header-inner .menu-toggle {
  display: none;
  color: var(--white);
  padding: 5px;
  min-width: auto;
  width: auto;
  height: auto;
  flex-shrink: 0;
}

header.sticky .header-inner .menu-toggle {
  color: var(--white);
}

@media (max-width: 991px) {
  header .header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primaryColor);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  }

  header .header-menu.show {
    transform: translateX(0);
  }

  header .header-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  header .header-menu ul li a {
    color: var(--white);
    font-size: 20px;
    width: 100%;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  header .header-menu ul li a::after {
    display: none;
  }

  header .header-menu ul li a:hover {
    color: var(--accentColor);
    padding-right: 10px;
  }

  header .header-menu .close-menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--white);
  }

  header .header-menu .close-menu-toggle svg path,
  header .header-menu .close-menu-toggle svg line {
    stroke: var(--white);
  }

  header .header-inner .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    min-width: auto;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  header .header-inner .menu-toggle svg {
    width: 24px;
    height: 24px;
  }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient1);
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  margin-bottom: 40px;
}

.hero-title .title-main {
  display: block;
  font-size: 64px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .title-sub {
  display: block;
  font-size: 22px;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 50px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.btn-primary {
  background: var(--accentColor);
  color: var(--primaryColor);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: var(--accentLight);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primaryColor);
  border-color: var(--white);
}

.hero-contact {
  margin-top: 30px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--accentColor);
  border-color: var(--accentColor);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Styles */
section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 48px;
  font-weight: 300;
  color: var(--textDark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.section-divider {
  width: 100px;
  height: 2px;
  background: var(--accentColor);
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: var(--white);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
  margin-bottom: 60px;
}

.about-text .lead {
  font-size: 24px;
  font-weight: 400;
  color: var(--textDark);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-text p {
  font-size: 18px;
  color: var(--textLight);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-item {
  text-align: center;
  padding: 40px 30px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lightGray);
  border-radius: 50%;
  color: var(--accentColor);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--accentColor);
  color: var(--white);
  transform: scale(1.1);
}

.feature-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--textDark);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-item p {
  font-size: 16px;
  color: var(--textLight);
  line-height: 1.7;
}

/* Products Section */
.products-section {
  background: var(--lightGray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.product-category {
  background: var(--white);
  padding: 50px 40px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.product-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accentColor);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-category:hover::before {
  transform: scaleX(1);
}

.product-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accentColor);
}

.product-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lightGray);
  border-radius: 50%;
  color: var(--accentColor);
  transition: all 0.3s ease;
}

.product-category:hover .product-icon {
  background: var(--accentColor);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.product-category h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--textDark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-category p {
  font-size: 16px;
  color: var(--textLight);
  line-height: 1.8;
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
}

.gallery-swiper {
  padding-bottom: 50px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: var(--lightGray);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 20px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h6 {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--textLight);
  opacity: 0.3;
}

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

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  color: var(--primaryColor);
  background: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--accentColor);
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: 700;
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--accentColor);
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.gallery-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Contact Section */
.contact-section {
  background: var(--lightGray);
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-item {
  text-align: center;
  padding: 50px 40px;
  background: var(--white);
  border-radius: 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accentColor);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lightGray);
  border-radius: 50%;
  color: var(--accentColor);
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: var(--accentColor);
  color: var(--white);
  transform: scale(1.1);
}

.contact-item h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--textDark);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p {
  font-size: 18px;
  color: var(--textLight);
  margin-bottom: 10px;
}

.contact-item a {
  color: var(--accentColor);
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primaryColor);
}

/* Footer */
footer {
  background: var(--primaryColor);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.footer-logo p {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-contact h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--accentColor);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accentLight);
}

.footer-copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 15px;
}

.footer-developer {
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.6;
}

.developer-link {
  color: var(--white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.developer-link:hover {
  opacity: 1;
  color: var(--accentColor);
  text-decoration: underline;
}

.developer-link strong {
  font-weight: 700;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--accentColor);
  color: var(--primaryColor);
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: var(--accentLight);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title .title-main {
    font-size: 42px;
  }

  .hero-title .title-sub {
    font-size: 18px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .hero-title .title-main {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-description {
    font-size: 16px;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Smooth Scroll Offset */
section {
  scroll-margin-top: 80px;
}

