/* ========================================
   GALLERY PAGE - SPECIFIC STYLES
   ======================================== */

/* Import main styles */
@import url('style.css');

/* ========================================
   1. GALLERY HERO SECTION
   ======================================== */
.gallery-page .service-hero {
  background: var(--gold-gradient);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.gallery-page .service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.gallery-page .service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(26, 26, 26, 0.7) 100%);
  z-index: 0;
}

.gallery-page .service-hero .container {
  position: relative;
  z-index: 1;
}

.gallery-page .service-hero h1 {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
}

.gallery-page .service-hero h1 i {
  color: white;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

.gallery-page .service-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  line-height: 1.6;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ========================================
   2. GALLERY SECTIONS
   ======================================== */
.gallery-page .service-hero .container,
.gallery-page .gallery-container .container,
.gallery-page .offer-banner .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.gallery-page .container h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  position: relative;
}

.gallery-page .container h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.gallery-page .container h2 i {
  color: var(--primary);
  margin-right: 0.5rem;
  animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(5deg); }
  75% { transform: scale(1.1) rotate(-5deg); }
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 300;
}

/* ========================================
   3. GALLERY GRID ENHANCEMENTS
   ======================================== */
.gallery-page .gallery-grid-3x3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}

.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.gallery-page .gallery-grid-3x3 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(228, 179, 42, 0.15);
  border: 2px solid transparent;
  cursor: pointer;
}

.gallery-page .gallery-grid-3x3 img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(228, 179, 42, 0.25);
  border-color: var(--primary);
}

/* ========================================
   4. CTA BANNER SECTION
   ======================================== */
.gallery-page .offer-banner {
  text-align: center;
  background: var(--gold-gradient);
  color: white;
  padding: 4rem 2rem;
  margin: 4rem 0;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gallery-page .offer-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.gallery-page .offer-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(228, 179, 42, 0.8) 0%, rgba(244, 196, 48, 0.9) 50%, rgba(196, 155, 31, 0.8) 100%);
  z-index: 0;
}

.gallery-page .offer-banner > * {
  position: relative;
  z-index: 1;
}

.gallery-page .offer-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: white;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gallery-page .offer-banner h2 i {
  color: white;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

.gallery-page .offer-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  color: white;
  font-weight: 400;
}

.gallery-page .offer-banner .btn-primary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 2px solid white;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.gallery-page .offer-banner .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;
  transition: all 0.3s ease;
  z-index: -1;
}

.gallery-page .offer-banner .btn-primary:hover {
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border-color: white;
  z-index: 2;
}

.gallery-page .offer-banner .btn-primary:hover::before {
  left: 0;
}

.gallery-page .offer-banner .btn-primary:hover i {
  color: var(--dark-bg);
  transition: all 0.3s ease;
}

.gallery-page .offer-banner .btn-primary i {
  color: white;
  transition: all 0.3s ease;
}

/* ========================================
   5. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .gallery-page .service-hero {
    padding: 2rem 1rem;
  }
  
  .gallery-page .service-hero h1 {
    font-size: 2.2rem;
  }
  
  .gallery-page .service-hero p {
    font-size: 1.1rem;
  }
  
  .gallery-page .service-hero .container,
  .gallery-page .gallery-container .container,
  .gallery-page .offer-banner .container {
    padding: 3rem 1rem;
  }
  
  .gallery-page .container h2 {
    font-size: 1.8rem;
  }
  
  .gallery-page .gallery-grid-3x3 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
  }
  
  .gallery-page .gallery-grid-3x3 img {
    height: 250px;
  }
  
  
  .gallery-page .offer-banner {
    padding: 3rem 1rem;
  }
  
  .gallery-page .offer-banner h2 {
    font-size: 1.8rem;
  }
  
  .gallery-page .offer-banner p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .gallery-page .service-hero h1 {
    font-size: 1.8rem;
  }
  
  .gallery-page .service-hero p {
    font-size: 1rem;
  }
  
  .gallery-page .container h2 {
    font-size: 1.6rem;
  }
  
  .gallery-page .gallery-grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1rem;
  }
  
  .gallery-page .gallery-grid-3x3 img {
    height: 200px;
  }
  
  .gallery-page .offer-banner h2 {
    font-size: 1.6rem;
  }
  
  .gallery-page .offer-banner p {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .gallery-page .gallery-grid-3x3 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(12, 1fr);
    gap: 0.8rem;
  }
  
  .gallery-page .gallery-grid-3x3 img {
    height: 180px;
  }
}


/* ========================================
   7. SPECIAL STYLING FOR GALLERY PAGE
   ======================================== */
body.gallery-page {
  background: var(--dark-bg);
}

/* ========================================
   END OF GALLERY STYLES
   ======================================== */
