/* Modern Home Page Styles */

:root {
  /* Color Palette */
  --primary: hsl(0, 100%, 25%); /* Dark Maroon */
  --primary-light: hsl(0, 100%, 35%);
  --secondary: hsl(200, 100%, 43%); /* Vibrant Blue */
  --accent: hsl(45, 100%, 50%); /* Gold for accents */
  
  --bg-white: hsl(0, 0%, 100%);
  --bg-soft: hsl(210, 20%, 98%);
  --text-dark: hsl(210, 30%, 15%);
  --text-muted: hsl(210, 15%, 45%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(225, 225, 225, 0.5);
  --glass-blur: blur(10px);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Modern Reset & Typography */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-soft);
  line-height: 1.6;
}

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

/* Navigation */
.navbar-modern {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  padding: 15px 0;
}

.navbar-modern.sticky {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  margin: 0 10px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

/* Hero Section */
.hero-modern {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 0, 0, 0.8) 0%, rgba(0, 147, 221, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-btns .main-btn {
  padding: 15px 35px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
}

.main-btn-primary {
  background: var(--bg-white);
  color: var(--primary);
}

.main-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}

.main-btn-outline {
  border: 2px solid white !important;
  background: transparent;
  color: white;
}

.main-btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* Category/Quick Links Section */
.quick-links-section {
  padding: 80px 0;
}

.modern-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  border: 1px solid var(--glass-border);
}

.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.modern-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition);
}

.modern-card:hover i {
  transform: scale(1.1);
  color: var(--secondary);
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Footer Modern */
.footer-modern {
  background: #1a1a1a;
  color: white;
  padding: 80px 0 40px;
}

.footer-logo img {
  max-width: 120px;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 25px;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #bbb;
  transition: var(--transition);
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

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

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