/* style.css - Al Badr Group */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Cairo:wght@400;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary-color: #0B1B3D;    /* Light Blue */
  --secondary-color: #C5A059;  /* Elegant Gold */
  --accent-color: #0A422D;     /* Deep Emerald Green */
  --light-bg: #F8F9FA;         /* Light Gray */
  --white: #FFFFFF;
  --text-dark: #333333;
  --text-muted: #6c757d;

  /* Fonts */
  --font-en: 'Outfit', sans-serif;
  --font-ar: 'Cairo', sans-serif;
}

body {
  font-family: var(--font-en);
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}

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

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.bg-light-gray { background-color: var(--light-bg) !important; }

/* Buttons */
.btn-gold {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 4px;
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 4px;
}

.btn-outline-gold:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* Navbar */
.navbar {
  transition: all 0.4s ease-in-out;
  padding: 1rem 0;
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar-brand img {
  max-height: 80px;
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color) !important;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(11, 27, 61, 0.8), rgba(10, 66, 45, 0.8)), url('../assets/home-hero.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  color: var(--white);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 800px;
  color: #F8F9FA;
}

/* Section Padding */
.section-padding {
  padding: 100px 0;
}

/* Cards */
.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  height: 100%;
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--secondary-color);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11,27,61, 0.9), transparent);
  padding: 30px 20px 20px;
  color: var(--white);
  transition: all 0.3s ease;
}

.service-card-body h4 {
  color: var(--white);
  margin-bottom: 10px;
}

/* Portfolio Filtering */
.portfolio-filters {
  margin-bottom: 40px;
}

.portfolio-filters button {
  background: transparent;
  border: none;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.portfolio-filters button.active, .portfolio-filters button:hover {
  background: var(--secondary-color);
  color: var(--white);
}

.portfolio-item {
  margin-bottom: 30px;
}

.portfolio-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.portfolio-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.portfolio-wrap:hover img {
  transform: scale(1.1);
}

.portfolio-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 27, 61, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
  text-align: center;
  padding: 20px;
}

.portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio-info h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.portfolio-wrap:hover .portfolio-info h4 {
  transform: translateY(0);
}

.portfolio-info p {
  color: var(--secondary-color);
  font-weight: 500;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.portfolio-wrap:hover .portfolio-info p {
  transform: translateY(0);
}

/* Values Grid */
.value-box {
  text-align: center;
  padding: 30px;
  background: var(--light-bg);
  border-radius: 8px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.value-box:hover {
  background: var(--primary-color);
  color: var(--white);
}

.value-box:hover h5, .value-box:hover .feature-icon {
  color: var(--white);
}

.value-box .feature-icon {
  margin-bottom: 15px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

footer h5 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

footer p, footer li, footer a {
  color: rgba(255,255,255,0.7);
}

footer a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.footer-social a:hover {
  background: var(--secondary-color);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .section-padding { padding: 60px 0; }
}
