/**
 * Modern Hero Section Redesign with Gaelic Typography
 * Using cutting-edge design patterns and Irish cultural elements
 */

/* Import Celtic/Gaelic-inspired fonts */
@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Celtic+Garamond:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

/* CSS Variables for modern theming */
:root {
  --celtic-green: #00853E;
  --irish-orange: #FF883E;
  --emerald: #50C878;
  --forest-green: #228B22;
  --shamrock: #009E60;
  --dark-emerald: #046A38;
  --cream: #FFF8E7;
  --celtic-gold: #FFD700;
  --mist-white: #F8F8FF;
  --peat-brown: #3E2723;
  
  /* Gradient definitions */
  --hero-gradient: linear-gradient(135deg, 
    rgba(0, 133, 62, 0.95) 0%, 
    rgba(34, 139, 34, 0.9) 50%, 
    rgba(80, 200, 120, 0.85) 100%
  );
  
  --text-gradient: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
  
  /* Shadows and effects */
  --celtic-shadow: 0 4px 30px rgba(0, 133, 62, 0.3);
  --text-shadow-gold: 2px 2px 4px rgba(255, 215, 0, 0.3);
  --glass-blur: blur(12px);
}

/* Enhanced Hero Section */
.hero-section-enhanced {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
}

/* Smooth gradient overlay without stripes */
.hero-section-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 50%, 
      rgba(0, 0, 0, 0.2) 0%, 
      rgba(0, 0, 0, 0.4) 100%
    );
  z-index: 1;
  pointer-events: none;
}

/* Subtle vignette effect */
.hero-section-enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, 
      transparent 0%, 
      rgba(0, 0, 0, 0.3) 100%
    );
  z-index: 2;
  pointer-events: none;
}

/* Hero Content Wrapper - Full Width Glass */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 0;
  background: 
    /* Noise texture overlay */
    url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj4KPGZpbHRlciBpZD0ibm9pc2UiPgo8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC45IiBudW1PY3RhdmVzPSI0IiAvPgo8L2ZpbHRlcj4KPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI25vaXNlKSIgb3BhY2l0eT0iMC4wMiIvPgo8L3N2Zz4='),
    /* Smooth gradient */
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.15) 20%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.15) 80%,
      rgba(255, 255, 255, 0.1) 100%
    );
  backdrop-filter: blur(40px) saturate(140%) brightness(1.1);
  -webkit-backdrop-filter: blur(40px) saturate(140%) brightness(1.1);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 0 100px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Content Container */
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
}

/* Subtle inner highlight */
.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center top,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 40%
  );
  pointer-events: none;
  z-index: -1;
}

/* Website Name - Celtic Style */
.hero-brand {
  font-family: 'Uncial Antiqua', 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--celtic-gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
  text-shadow: 
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(255, 215, 0, 0.3);
  padding-top: 2.5rem;
}

/* Golden Shamrock Above Title */
.hero-brand::before {
  content: '☘';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 2rem;
  color: var(--celtic-gold);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  animation: shamrock-bloom 1.5s ease-out 0.3s forwards;
  transform-origin: center bottom;
}

@keyframes shamrock-bloom {
  0% {
    transform: translateX(-50%) scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Decorative line under brand */
.hero-brand::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--celtic-gold) 50%,
    transparent 100%
  );
  opacity: 0;
  animation: fade-in-line 1s ease-out 1.5s forwards;
}

@keyframes fade-in-line {
  to { 
    opacity: 0.6;
  }
}

/* Main Title - Gaelic Inspired */
.hero-title {
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 215, 0, 0.3),
    0 0 60px rgba(0, 133, 62, 0.2);
  letter-spacing: -0.02em;
  position: relative;
}

/* Subtitle with better contrast */
.hero-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* Stats Section - Modern Card Design */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--text-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 133, 62, 0.3);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 600;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  font-weight: 500;
}

/* CTA Buttons - Modern Irish Design */
.hero-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 100;
  margin-top: 2rem;
}

.btn {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
  pointer-events: none;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--celtic-green) 0%, var(--dark-emerald) 100%);
  color: white;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 133, 62, 0.4);
  position: relative;
  z-index: 10;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 133, 62, 0.6);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 2.5rem 1.5rem;
  }
  
  .hero-brand {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title::before {
    display: none;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}

/* Animation for initial load */
.hero-content > * {
  animation: fade-up 0.8s ease-out backwards;
}

.hero-brand { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.4s; }
.hero-subtitle { animation-delay: 0.6s; }
.hero-stats { animation-delay: 0.8s; }
.hero-cta-buttons { animation-delay: 1s; }

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}