/* ==========================================================================
   Design System & Variables
   ========================================================================== */
   :root {
    --copper-primary: #d97736;
    --copper-light: #e88d55;
    --iron-dark: #0d1b2a;
    --iron-blue: #1b263b;
    --iron-gray: #415a77;
    --accent-orange: #ff5a00;
    --bg-light: #f4f6f8;
    --bg-white: #ffffff;
    --text-main: #333333;
    --text-light: #e0e1dd;
    
    --font-main: 'Tajawal', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
    --shadow-copper: 0 8px 20px rgba(217, 119, 54, 0.3);
  }
  
  /* ==========================================================================
     Base Styles
     ========================================================================== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  ul {
    list-style: none;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .bg-light {
    background-color: var(--bg-light);
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
    color: var(--iron-dark);
    font-weight: 800;
    margin-bottom: 10px;
  }
  
  .underline {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--copper-primary), var(--accent-orange));
    margin: 0 auto;
    border-radius: 2px;
  }
  
  /* ==========================================================================
     Buttons
     ========================================================================== */
  .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    border: none;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--copper-primary), var(--accent-orange));
    color: var(--bg-white);
    box-shadow: var(--shadow-copper);
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 90, 0, 0.4);
  }
  
  .btn-secondary {
    background-color: rgba(255,255,255,0.1);
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    backdrop-filter: blur(10px);
  }
  
  .btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--iron-dark);
  }
  
  .btn-facebook {
    background-color: #1877F2;
    color: #fff;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  .btn-facebook:hover {
    background-color: #0d65d9;
    transform: translateY(-2px);
  }
  
  /* ==========================================================================
     Navigation
     ========================================================================== */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
  }
  
  .navbar.scrolled {
    background-color: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo h1 {
    color: var(--bg-white);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
  }
  
  .logo h1::after {
    content: '.';
    color: var(--copper-primary);
  }
  
  .nav-links {
    display: flex;
    gap: 30px;
  }
  
  .nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--copper-primary);
    transition: var(--transition);
  }
  
  .nav-links a:hover {
    color: var(--copper-primary);
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .menu-toggle {
    display: none;
    cursor: pointer;
  }
  
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--bg-white);
    transition: var(--transition);
  }
  
  /* ==========================================================================
     Hero Section
     ========================================================================== */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('./images/image.png') center/cover no-repeat;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9), rgba(27, 38, 59, 0.7));
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    color: var(--bg-white);
    text-align: right;
    max-width: 800px;
  }
  
  .hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeUp 1s ease forwards;
    opacity: 0;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-light);
    font-weight: 300;
    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeUp 1s ease 0.6s forwards;
    opacity: 0;
  }
  
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ==========================================================================
     About Section
     ========================================================================== */
  .about-content {
    display: flex;
    gap: 50px;
    align-items: center;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-text h3 {
    font-size: 2rem;
    color: var(--copper-primary);
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--iron-gray);
  }
  
  .about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-bottom: 4px solid var(--copper-primary);
    transition: var(--transition);
  }
  
  .stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
  }
  
  .stat-card h4 {
    font-size: 1.5rem;
    color: var(--iron-dark);
    margin-bottom: 10px;
  }
  
  .stat-card p {
    color: var(--iron-gray);
  }
  
  /* ==========================================================================
     Gallery Section
     ========================================================================== */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.8), transparent);
    opacity: 0;
    transition: var(--transition);
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .gallery-item:hover::after {
    opacity: 1;
  }
  
  /* ==========================================================================
     Contact Section
     ========================================================================== */
  .contact-info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .contact-card {
    background: var(--bg-white);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--copper-light);
  }
  
  .contact-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .contact-card h3 {
    font-size: 1.5rem;
    color: var(--iron-dark);
    margin-bottom: 15px;
  }
  
  .contact-card p, .contact-card a {
    font-size: 1.2rem;
    color: var(--iron-gray);
    font-weight: 500;
    direction: ltr; /* Ensure phone numbers look correct */
    display: inline-block;
  }
  
  .contact-card a:hover {
    color: var(--copper-primary);
  }
  
  /* ==========================================================================
     Footer
     ========================================================================== */
  footer {
    background-color: var(--iron-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
    border-top: 4px solid var(--copper-primary);
  }
  
  /* ==========================================================================
     Responsive
     ========================================================================== */
  @media (max-width: 992px) {
    .about-content {
      flex-direction: column;
    }
    .contact-info-container {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .hero-title {
      font-size: 3rem;
    }
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      z-index: 1001;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100vh;
      background-color: var(--iron-dark);
      flex-direction: column;
      padding-top: 100px;
      padding-right: 30px;
      transition: 0.4s ease-in-out;
      box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
      right: 0;
    }
    
    .menu-toggle.active .bar:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
  
    .hero-title {
      font-size: 2.2rem;
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
    
    .hero-buttons {
      flex-direction: column;
    }
    
    .about-stats {
      grid-template-columns: 1fr;
    }
  }

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

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

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: var(--copper-primary);
}

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
