/* ===== VARIABLES ===== */
:root {
  --bg-primary: #12181b;
  /* Dark charcoal */
  --bg-secondary: #1f2933;
  /* Slightly lighter dark */
  --text-primary: #e0e6f0;
  --text-secondary: #a0aec0;
  --accent-primary: #00a8ff;
  /* Bright cyan */
  --accent-primary-darker: #0086cc;
  --accent-secondary: #00e676;
  /* Vibrant green for specific highlights */
  --warning-bg: #d32f2f;
  /* Darker red for bg */
  --warning-text: #ffffff;

  --font-primary: 'Inter', sans-serif;
  --font-headings: 'Oswald', sans-serif;

  --container-width: 90%;
  --max-width: 1200px;
  --border-radius: 8px;
  --section-padding: 4rem 0;
  --transition-main: 0.3s ease;
  /* Renamed from --transition-speed for clarity */
}

/* ===== BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Base font size */
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-main);
}

a:hover {
  color: var(--accent-primary-darker);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  /* Consistent bottom margin */
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

/* Adjusted clamps */
h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

section {
  padding: var(--section-padding);
  width: 100%;
  opacity: 0;
  /* For scroll animation */
  transform: translateY(30px);
  /* For scroll animation */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.appear {
  /* For scroll animation */
  opacity: 1;
  transform: translateY(0);
}


.section-container {
  width: var(--container-width);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== ALERTS ===== */
.alerts {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.alert {
  padding: 0.75rem 1.25rem;
  /* Adjusted padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert p,
.alert h2 {
  margin: 0;
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  /* Adjusted font size */
  flex-grow: 1;
  line-height: 1.4;
}

.alert#price-warning {
  background-color: var(--warning-bg);
  color: var(--warning-text);
  text-align: center;
}

.alert#price-warning p {
  width: 100%;
}

.alert#cookie-notice {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  display: none;
}

.alert#cookie-notice .closebtn {
  color: var(--text-secondary);
  font-weight: bold;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-main);
  margin-left: 1rem;
  padding: 0 0.5rem;
  /* Easier to click */
  line-height: 1;
}

.alert#cookie-notice .closebtn:hover {
  color: var(--accent-primary);
}

.alert#cookie-notice a {
  color: var(--accent-primary);
  text-decoration: underline;
  font-weight: 500;
}

/* Add padding to body to prevent content from being hidden by fixed alerts */
body {
  /* This needs to be dynamic if alert heights change, or fixed if heights are known */
  /* Assuming price warning is approx 45-55px, cookie notice similar. If both show, ~100px */
  /* This is a simple approach; JS can make it more robust */
  padding-top: 3.5rem;
  /* Default for one alert, adjust as needed or use JS */
}

/* If only price warning is showing, padding-top can be less.
   This can be handled by adding a class to body when cookie notice is shown.
   For simplicity, a general padding is added.
*/


/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background-color: #000;
  /* Fallback */
  /* The first "section" (hero is a header) should be visible immediately */
  opacity: 1;
  transform: translateY(0);
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0.3;
  z-index: -1;
}

.hero__logo {
  width: clamp(120px, 25vw, 200px);
  height: auto;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  /* Larger title */
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.hero__subtitle {
  font-size: clamp(1.1rem, 3.5vw, 1.8rem);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  /* More space before buttons */
  max-width: 650px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  /* For aligning icon and text */
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  /* Slightly larger buttons */
  font-family: var(--font-primary);
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-main);
  min-width: 220px;
}

.btn svg {
  transition: transform 0.2s ease-in-out;
}

.btn:hover svg {
  transform: scale(1.1);
}


.btn--primary {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
}

.btn--primary:hover {
  background-color: var(--accent-primary-darker);
  border-color: var(--accent-primary-darker);
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 168, 255, 0.35);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn--secondary:hover {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 168, 255, 0.25);
}

.btn--whatsapp {
  background-color: #25D366;
  color: white;
  border-color: #25D366;
}

.btn--whatsapp:hover {
  background-color: #1DAE54;
  border-color: #1DAE54;
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(37, 211, 102, 0.35);
}

/* ===== INFO SECTION ===== */
.info-section {
  background-color: var(--bg-secondary);
}

.info-section__title {
  text-align: center;
  margin-bottom: 3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  /* Increased gap */
}

.info-card {
  background-color: var(--bg-primary);
  padding: 2rem;
  /* More padding */
  border-radius: var(--border-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-main), box-shadow var(--transition-main);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.info-card__title {
  color: var(--accent-primary);
  margin-bottom: 1.25rem;
}

.info-card img {
  width: 100%;
  max-width: 220px;
  /* Slightly smaller controlled size */
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.25rem;
  border: 3px solid var(--bg-secondary);
  /* Subtle border */
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  /* Changed from justify for card style */
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.info-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.info-card__actions .btn {
  width: 100%;
}

/* ===== MAP SECTION ===== */
.map-section__title {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== ABOUT US SECTION ===== */
.about-us-section {
  background-color: var(--bg-secondary);
}

.about-us-section__title {
  text-align: center;
  margin-bottom: 2rem;
}

.about-us-content {
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-us-content p {
  font-size: 1.05rem;
  /* Slightly larger for readability */
  color: var(--text-secondary);
  line-height: 1.8;
  /* More line height */
  text-align: justify;
}

/* ===== GALLERY SECTION ===== */
.gallery-section__title {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* Larger min size */
  gap: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  /* For potential overlay effects */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Smoother zoom */
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-primary-darker));
  /* Gradient bg */
  color: var(--bg-primary);
}

.contact-section h1,
.contact-section h2,
.contact-section h3 {
  color: #fff;
  /* Brighter text on gradient */
}

.contact-section p {
  color: var(--text-primary);
  /* Lighter paragraph text */
}

.contact-section__title {
  text-align: center;
  margin-bottom: 3rem;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.contact-card {
  display: grid;
  background-color: rgba(255, 255, 255, 0.08);
  /* More subtle glassmorphism */
  backdrop-filter: blur(5px);
  /* Optional: if browser supports well */
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card h3 {
  font-size: 1.6rem;
  /* Larger card titles */
  margin-bottom: 1.25rem;
  color: #fff;
}

.contact-card p {
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-card .btn {
  margin-top: 1.25rem;
  background-color: #fff;
  /* White button */
  color: var(--accent-primary);
  border-color: #fff;
}

.contact-card .btn:hover {
  background-color: var(--text-primary);
  /* Off-white hover */
  color: var(--accent-primary-darker);
  border-color: var(--text-primary);
}

.opening-hours {
  display: flex;
  justify-content: space-between;
  max-width: 280px;
  margin: 0 auto;
}

.opening-hours__days p,
.opening-hours__times p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.opening-hours__days p {
  text-align: left;
}

.opening-hours__times p {
  text-align: right;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
  /* More padding */
  text-align: center;
}

.footer__logo-link {
  display: block;
  width: clamp(180px, 25vw, 280px);
  /* Adjusted size */
  margin: 0 auto 1.5rem auto;
  background-image: url(https://ik.imagekit.io/wi13omdv75/logos/hglooweb_logo.png?updatedAt=1657511777226&ik-s=7364f291eb6e7cea80ba990384585106284b4a14);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 2/1;
  transition: transform var(--transition-main);
}

.footer__logo-link:hover {
  transform: scale(1.05);
}

.footer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  /* Spacing for copyright */
}

.footer p a {
  color: var(--accent-primary);
  font-weight: 500;
}

.footer p a:hover {
  text-decoration: underline;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
  /* Slightly wider */
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
  /* Darker track */
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: var(--border-radius);
  border: 2px solid var(--bg-primary);
  /* Creates a 'floating' thumb effect */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary-darker);
}

/* ===== RESPONSIVENESS ===== */
@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
    gap: 1.5rem;
  }

  .info-card__actions {
    flex-direction: row;
    justify-content: center;
  }

  .info-card__actions .btn {
    width: auto;
    min-width: 160px;
    /* Adjusted min-width */
  }
}

@media (max-width: 767px) {
  html {
    font-size: 15px;
  }

  /* Slightly smaller base on mobile */
  .hero {
    padding: 1.5rem;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .hero__subtitle {
    font-size: clamp(1rem, 5.5vw, 1.6rem);
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    /* Ensure readability */
    min-width: 180px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .map-container {
    aspect-ratio: 1/1;
  }

  .footer__logo-link {
    width: clamp(150px, 45vw, 220px);
  }

  .alerts {
    /* Adjust if alerts become too crowded */
  }

  .alert p {
    font-size: 0.75rem;
  }

  body {
    padding-top: 3rem;
    /* Adjust based on final alert height on mobile */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .btn {
    min-width: 100%;
  }

  /* Full width buttons on very small screens */
  .hero__actions {
    width: 90%;
  }

  /* Constrain button group width */
  .info-card__actions .btn {
    min-width: 100%;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .footer {
    padding: 2rem 0;
  }

  body {
    padding-top: 4rem;
    /* Potentially more if text in alerts wraps significantly */
  }
}