/* CSS Variables for Theme */
:root {
  --primary-dark: #0B2E33; /* Deep Islamic Green */
  --primary-light: #15454C;
  --accent-gold: #C5A059;
  --accent-light: #F3ECAF; /* Soft sand gold */
  --bg-color: #FAFAFA;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --text-muted: #666666;
  --transition: all 0.3s ease-in-out;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

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

/* Typography Utility */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 0 auto 3rem auto;
  color: var(--primary-dark);
  position: relative;
  width: fit-content;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.text-gold {
  color: var(--accent-gold);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg-color); /* Light background */
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.navbar .logo img {
  height: 70px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 16px;
  background-color: var(--accent-gold); /* Kahverengi kalınca çizgi */
  margin-left: 1rem;
}

.nav-links li a {
  color: var(--accent-gold); /* Kahverengi metin */
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--text-dark); /* Üzerine gelince siyah */
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  font-size: 2rem;
  color: var(--text-dark);
  cursor: pointer;
  background: none;
  border: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: -2;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 46, 51, 0.3), rgba(11, 46, 51, 0.6));
  z-index: -1;
}

.hero-content {
  color: var(--text-light);
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 1s ease-out;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--accent-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 5% 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

.social-icons a:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Containers and Layouts */
.section {
  padding: 6rem 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Announcements Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(11, 46, 51, 0.1);
}

.card-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.card-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(197, 160, 89, 0.1);
  color: var(--accent-gold);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 2rem;
    transition: 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
    position: relative;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 5%;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}
