/* ==========================================================================
   Haukadalsvöllur - Geysir Golf Course
   Custom Stylesheet & WordPress Conversion Utility
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Ubuntu+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --primary-gold: #c59b27;
  --primary-gold-light: #e5c158;
  --primary-gold-dark: #9d7b1b;
  --golf-green-dark: #0f2e20;
  --golf-green: #143d2b;
  --golf-green-light: #235d43;
  --golf-accent-blue: #38bdf8;
  --font-ubuntu: 'Ubuntu', sans-serif;
}

body {
  font-family: 'Ubuntu', sans-serif;
  color: #334155;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Custom Typography */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Ubuntu', sans-serif;
  letter-spacing: -0.015em;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f2e20;
}
::-webkit-scrollbar-thumb {
  background: #c59b27;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e5c158;
}

/* Glassmorphism Classes */
.glass-header {
  background: rgba(15, 46, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card-dark {
  background: rgba(15, 46, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 155, 39, 0.2);
}

/* Animation Keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes steam-rise {
  0% {
    opacity: 0.2;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateY(-15px) scale(1.1);
  }
  100% {
    opacity: 0.2;
    transform: translateY(-30px) scale(1.2);
  }
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(197, 155, 39, 0);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-steam {
  animation: steam-rise 6s ease-in-out infinite;
}

.pulse-button {
  animation: pulse-gold 2.5s infinite;
}

/* Hero Parallax Background Overlay */
.hero-gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 46, 32, 0.4) 0%,
    rgba(15, 46, 32, 0.75) 60%,
    rgba(15, 46, 32, 0.95) 100%
  );
}

.section-divider-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* WordPress Semantic Markers */
.wp-section {
  position: relative;
}

/* Dropdown Menu Styles */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scorecard Table Styling */
.scorecard-table th, .scorecard-table td {
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.scorecard-table th:first-child, .scorecard-table td:first-child {
  text-align: left;
  padding-left: 1rem;
}

/* Custom Tabs */
.hole-tab.active {
  background-color: #c59b27;
  color: #0f2e20;
  border-color: #c59b27;
  font-weight: 700;
  transform: scale(1.05);
}

/* Badge Glow */
.badge-glow {
  box-shadow: 0 0 15px rgba(197, 155, 39, 0.5);
}
