/* static/css/home.css - CLEANED & DE-DUPLICATED */

/* ===== HOMEPAGE INTRO SECTION ===== */
.home-intro {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.home-intro h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.home-intro > p:first-of-type {
  font-size: 1.325rem;
  color: white;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
}

/* ===== NON-GALLERY HEADER (For Homepage) ===== */
/* Match EXACTLY the .site-header styling from base.css */
.non-gallery-header {
    width: 100%;
    background: url('../images/wallpaper/nav.avif') no-repeat center center;
    background-size: cover;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Container that holds logo+title - MUST match .header-container */
.non-gallery-header .header-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.non-gallery-header .logo {
    height: 35px;
    width: auto;
    max-height: 60px;
}

.non-gallery-header .site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #222;
    margin: 0;
    line-height: 1.2;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .non-gallery-header {
        padding: 10px 0; /* Match base.css mobile padding */
    }

    .non-gallery-header .header-container {
        gap: 10px; /* Match base.css mobile gap */
    }

    .non-gallery-header .logo {
        height: 25px;
        max-height: 30px;
    }

    .non-gallery-header .site-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .non-gallery-header .site-title {
        font-size: 1.1rem;
    }
}

/* ===== NOTICE & CTA ===== */
.simple-notice {
  list-style: none;
  font-size: 1.125rem;
  padding-left: 0;
  margin: 2rem 0;
  color: white;
  text-align: center;
}

.simple-notice li {
  padding: 0.375rem 0;
  color: white;
  line-height: 1.5;
  opacity: 0.9;
}

.home-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn.secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn.secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Homepage-specific button overrides */
.home-intro .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #e74c3c;
  color: white;
  text-decoration: none;
  border-radius: 0.3rem;
  transition: background 0.3s, transform 0.2s;
}

.home-intro .btn:hover,
.home-intro .btn:focus {
  background-color: #c0392b;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .home-intro {
    padding: 3rem 1rem;
  }

  .home-intro h2 {
    font-size: 2rem;
  }

  .home-intro p {
    font-size: 1.1rem;
  }

  /* Header adjustments - ONLY adjust logo & text size, NOT layout */
  .non-gallery-header .logo {
    height: 30px;
  }

  .non-gallery-header .site-title {
    font-size: 1.5rem;
    line-height: 30px;
  }

  .home-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .simple-notice {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .simple-notice li {
    padding-left: 1.25rem;
    font-size: 0.95rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .non-gallery-header .site-title {
    font-size: 1.2rem;
  }

  .home-intro h2 {
    font-size: 1.8rem;
  }
}
