/* Custom CSS for Gender And Development Office Website */

:root {
  --primary-pink: #e91e63;
  --accent-purple: #9c27b0;
  --light-pink: #fce4ec;
  --dark-pink: #c2185b;
  
  --primary-purple: #9c27b0;
  --accent-pink: #e91e63;
  --highlight-pink: #FF69B4;
  --light-purple: #f3e5f5;
  --dark-purple: #7b1fa2;
  --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
  --gradient-light: linear-gradient(135deg, var(--light-purple), #fce4ec);
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0;
}

.logo-img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.brand-text .brand-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-purple);
  line-height: 1.2;
}

.brand-text .brand-subtitle {
  font-size: 0.8rem;
  color: var(--accent-pink);
  font-weight: 400;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333 !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: var(--gradient-primary);
  color: white !important;
  transform: translateY(-2px);
}

/* Hero Carousel Styles */
.carousel {
  height: 100vh;
  margin-top: 0;
}

.carousel-item {
  height: 100vh;
  position: relative;
}

.carousel-item img {
  height: 100vh;
  object-fit: cover;
  /* filter: brightness(0.7); */
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
}

.glassmorphic-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glassmorphic-card h1 {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

.glassmorphic-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(156, 39, 176, 0.4);
  background: var(--gradient-primary);
}

/* Event Highlights Styles */
.event-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(156, 39, 176, 0.2);
  border-color: var(--primary-purple);
}

.event-image {
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.event-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-primary);
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  min-width: 60px;
}

.event-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.event-content h5 {
  color: var(--primary-purple);
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.modal-header .btn-close {
  filter: invert(1);
}

/* Footer Styles */
/* footer {
  background: #1a1a1a !important;
} */

.footer-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

footer .text-muted {
  /* color: #cccccc !important; */
  color: #ffffff !important;
}

footer a {
  color: #cccccc !important;
}

footer a:hover {
  /* color: var(--primary-purple) !important; */
  color: var(--highlight-pink) !important;
  transition: color 0.3s ease;
}

footer h5 {
  color: #ffffff !important;
}

footer p {
  /* color: #cccccc !important; */
  color: #ffffff !important;
}

.social-links a {
  font-size: 1.2rem;
  transition: all 0.3s ease;
  /* color: #cccccc !important; */
  color: #ffffff !important;
}

.social-links a:hover {
  transform: translateY(-3px);
  /* color: var(--primary-purple) !important; */
  color: var(--highlight-pink) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .glassmorphic-card {
    padding: 2rem 1.5rem;
  }

  .glassmorphic-card h1 {
    font-size: 2rem;
  }

  .brand-text .brand-title {
    font-size: 0.9rem;
  }

  .brand-text .brand-subtitle {
    font-size: 0.7rem;
  }

  .logo-img {
    height: 40px;
    width: 40px;
  }
}

@media (max-width: 576px) {
  .carousel-caption {
    width: 95%;
  }

  .glassmorphic-card {
    padding: 1.5rem 1rem;
  }

  .glassmorphic-card h1 {
    font-size: 1.5rem;
  }

  .glassmorphic-card p {
    font-size: 1rem;
  }
}

/* Custom Bootstrap Overrides */
.text-primary {
  color: var(--primary-purple) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.border-primary {
  border-color: var(--primary-purple) !important;
}
