/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* BASE STYLES */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom right, #f0f9ff, #dff1fb);
  color: #333;
  min-width: 768px;
}

/* HEADER */
header {
  background-image: linear-gradient(#56c7f4, #FFC067);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  flex-wrap: wrap;
}

/* LOGOS */
.logo-iceplanet,
.logo-snowbar {
  max-width: 160px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-iceplanet:hover,
.logo-snowbar:hover {
  transform: scale(1.05);
}

/* CENTERED TITLE */
.center-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  min-width: 250px;
}

.center-content h1 {
  font-size: clamp(2.4rem, 6vw, 3.5rem); /* bigger */
  margin: 0;
  font-weight: 600;
}

.center-content p {
  font-size: clamp(1.1rem, 3vw, 1.75rem); /* bigger */
  margin: 0;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.center-content .tagline {
  font-size: clamp(1rem, 2.4vw, 1.5rem); /* bigger */
  font-weight: 500;
  margin-top: 0.5rem;
}

/* NAVIGATION (desktop default) */
nav {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-size: 18px;
  font-weight: bold;
  padding: 0.4rem 0.5rem;

}

nav a:hover {
  color: #fceabb;
}

/* NAV CONTAINER for mobile override */
.mobile-nav {
  display: none;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-size: 18px;
  font-weight: bold;
  padding: 0.4rem 0.8rem;

}

.mobile-nav a:hover {
  color: #fceabb;
}

/* HOMEPAGE: HERO BACKGROUND */
.home .background-hero {
  position: relative;
  background-image: url('/static/images/combined-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem 2rem;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  border-top: 4px solid white;
}

.home .background-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* HOMEPAGE: FLOATING PANEL */
.home .overlay-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2.5rem;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: fadeIn 1s ease-in-out;
  margin-bottom: 0;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MAIN + SECTION STYLES */
main {
  width: 100%;
}

section {
  margin-bottom: 2.5rem;
}

section:last-of-type {
  margin-bottom: 0;
}

/* TITLES */
h2 {
  color: #0077b6;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* SOCIAL SECTION */
.social-links {
  text-align: center;
  margin-top: 1rem;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0;
  text-align: center;
}

.location-name {
  font-weight: 500;
  min-width: unset;
  text-align: center;
}

.icons a,
.social-links a {
  margin: 0 0.3rem;
  font-size: 1.5rem;
  color: #4fc3f7;
  transition: color 0.3s ease;
}

.icons a:hover,
.social-links a:hover {
  color: #0077b6;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #caf0f8;
  color: #444;
  font-size: 0.95rem;
  border-top: 1px solid #bde0fe;
  margin-top: 1rem;
}

/* PHOTO GRID */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.photo-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-iceplanet {
    max-width: 38vw; /* reduced */
  }

  .logo-snowbar {
    max-width: 60vw;
  }

  .center-content nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
  }
}
