/* public/css/public.css */
/* 
  KGTCAS Public Website Styles
  For external-facing pages (Home, About, Gallery, Contact)
*/

/* ===== BASE STYLES ===== */
:root {
  --primary-green: #2ecc71;
  --dark-green: #27ae60;
  --light-green: #d5f4e6;
  --coffee-brown: #8B4513;
  --golden-yellow: #FFD700;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-green), var(--dark-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== BUTTONS ===== */
.btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.btn-outline-success {
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-outline-success:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
}

/* ===== NAVIGATION ===== */
.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* ===== HERO SECTIONS ===== */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 6rem 0;
  position: relative;
}

.hero-section .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-card h4 {
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-bg);
  color: white;
  margin-top: auto;
}

.footer a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--primary-green) !important;
  opacity: 1 !important;
}

.hover-opacity-100:hover {
  opacity: 1 !important;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}

/* ===== FORMS ===== */
.form-control {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.stagger-delay-1 { animation-delay: 0.1s; }
.stagger-delay-2 { animation-delay: 0.2s; }
.stagger-delay-3 { animation-delay: 0.3s; }
.stagger-delay-4 { animation-delay: 0.4s; }

/* ===== GALLERY ===== */
.gallery-item {
  margin-bottom: 1.5rem;
}

.gallery-image {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.modal-content {
  border-radius: 12px;
  overflow: hidden;
}

/* ===== UTILITIES ===== */
.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-green);
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.bg-gradient-success {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .stat-card {
    margin-bottom: 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}