/* =============================================
   LP Couture - Styles
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #171717;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =============================================
   Top Bar
   ============================================= */
.top-bar {
  background: #f3f4f6;
  text-align: center;
  padding: 0.5rem 0;
}
.top-bar p {
  font-size: 0.875rem;
  font-weight: 500;
}
.top-bar a {
  color: #2563eb;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* =============================================
   Header / Navigation
   ============================================= */
.site-header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo img {
  height: auto;
  width: 200px;
  flex-shrink: 0;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  gap: 2rem;
}
.desktop-nav a {
  color: #374151;
  font-weight: 500;
  transition: color 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: #111827;
}
.desktop-nav a.active {
  border-bottom: 2px solid #2563eb;
  padding-bottom: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: #374151;
  transition: background 0.2s;
}
.mobile-menu-btn:hover {
  background: #f3f4f6;
  color: #111827;
}
.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  color: #374151;
  font-weight: 500;
  padding: 0.25rem 1rem;
}
.mobile-nav a:hover {
  color: #111827;
}
.mobile-nav a.active {
  color: #2563eb;
  border-left: 4px solid #2563eb;
}

/* =============================================
   Hero Slider
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Background slides */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 5;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 5rem 1rem;
}
.hero-card {
  background: rgba(255,255,255,0.5);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
}
.hero-card h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}
.hero-card .subtitle {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}
.hero-card .tagline {
  font-size: 1.125rem;
  color: #111827;
}
.hero-card .phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.75rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s;
  padding: 0;
}
.slider-dot:hover {
  background: rgba(255,255,255,0.75);
}
.slider-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Prev/Next buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.75rem;
  border-radius: 50%;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: rgba(255,255,255,0.3);
}
.slider-btn svg {
  width: 24px;
  height: 24px;
}
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

/* Auto-play toggle */
.autoplay-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.autoplay-btn.playing {
  background: rgba(34,197,94,0.2);
  color: #86efac;
}
.autoplay-btn.paused {
  background: rgba(107,114,128,0.2);
  color: #d1d5db;
}
.autoplay-btn svg {
  width: 16px;
  height: 16px;
}

/* =============================================
   Sections
   ============================================= */
.section {
  padding: 5rem 0;
}
.section.bg-white { background: #fff; }
.section.bg-light { background: #f9fafb; }

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 4rem;
}

/* =============================================
   Expertise Cards
   ============================================= */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.expertise-card {
  text-align: center;
}
.expertise-card .icon {
  margin-bottom: 1.5rem;
}
.expertise-card .icon img {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}
.expertise-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.expertise-card p {
  color: #4b5563;
  line-height: 1.75;
}

/* =============================================
   Gallery Preview (Home page)
   ============================================= */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

/* =============================================
   Gallery Card (Shared)
   ============================================= */
.gallery-card {
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.gallery-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  transform: translateY(-0.5rem);
}

.gallery-card .image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.gallery-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-card:hover .image-wrapper img {
  transform: scale(1.1);
}

/* Hover overlay */
.gallery-card .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-card:hover .hover-overlay {
  background: rgba(0,0,0,0.3);
}
.gallery-card .hover-overlay .inner {
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  text-align: center;
}
.gallery-card:hover .hover-overlay .inner {
  opacity: 1;
}
.gallery-card .hover-overlay svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.25rem;
}
.gallery-card .hover-overlay p {
  font-size: 0.875rem;
  font-weight: 500;
}

.gallery-card .card-info {
  padding: 1rem;
  background: #fff;
}
.gallery-card .card-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}
.gallery-card .card-info .category {
  color: #2563eb;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Gallery page: larger card info */
.gallery-full .gallery-card .card-info {
  padding: 1.5rem;
}
.gallery-full .gallery-card .card-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.gallery-full .gallery-card .card-info .category {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.gallery-full .gallery-card .card-info .description {
  color: #4b5563;
  font-size: 0.875rem;
}

/* See More Button */
.btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #1d4ed8;
}

/* =============================================
   Gallery Page - Hero
   ============================================= */
.gallery-hero {
  background: linear-gradient(to bottom right, #f9fafb, #ffffff);
  padding: 5rem 0;
  text-align: center;
}
.gallery-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}
.gallery-hero p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto;
}

/* =============================================
   Gallery Page - Category Filter
   ============================================= */
.filter-section {
  padding: 2rem 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s;
  background: #f3f4f6;
  color: #374151;
}
.filter-btn:hover {
  background: #e5e7eb;
}
.filter-btn.active {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(37,99,235,0.3);
}

.filter-count {
  text-align: center;
  margin-top: 1rem;
  color: #4b5563;
  font-size: 0.875rem;
}

/* =============================================
   Gallery Page - Full Grid
   ============================================= */
.gallery-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery-full-grid .gallery-card.hidden-card {
  display: none;
}

/* =============================================
   Lightbox
   ============================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 56rem;
  width: 100%;
  max-height: 100%;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-close svg {
  width: 24px;
  height: 24px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}
.lightbox-nav svg {
  width: 20px;
  height: 20px;
}
.lightbox-nav.prev { left: 0.5rem; }
.lightbox-nav.next { right: 0.5rem; }

.lightbox-image-container {
  position: relative;
}
.lightbox-image-container img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.5rem;
  margin: 0 auto;
}

.lightbox-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
}
.lightbox-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.lightbox-info .category {
  color: #93c5fd;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.lightbox-info .description {
  color: #e5e7eb;
}

/* =============================================
   Our Journey
   ============================================= */
.journey-map {
  display: inline-block;
  transition: opacity 0.2s;
}
.journey-map:hover {
  opacity: 0.8;
}
.journey-map img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   Contact Section
   ============================================= */
.contact-description {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.landmarks-list {
  margin-bottom: 2rem;
}
.landmarks-list li {
  display: flex;
  align-items: flex-start;
  color: #4b5563;
  margin-bottom: 0.75rem;
}
.landmarks-list li .name {
  font-weight: 600;
  color: #111827;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
.contact-grid h3 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}
.contact-grid a {
  color: #2563eb;
}
.contact-grid a:hover {
  text-decoration: underline;
}
.contact-grid .phone-link {
  font-size: 1.125rem;
}

.max-w-4xl {
  max-width: 56rem;
  margin: 0 auto;
}

/* =============================================
   Business Hours
   ============================================= */
.business-hours {
  margin-top: 3rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.hours-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #fff;
}
.hours-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: #fff;
}
.hours-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hours-list {
  padding: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s;
}
.hours-list li:last-child {
  border-bottom: none;
}
.hours-list li:nth-child(even) {
  background: #fafbfc;
}
.hours-list li:hover {
  background: #f0f4ff;
}

.hours-list .day-name {
  font-weight: 500;
  color: #374151;
}
.hours-list .day-hours {
  font-weight: 600;
  color: #111827;
  font-size: 0.9375rem;
}

/* Closed day */
.hours-list li.closed {
  background: #fef2f2;
}
.hours-list li.closed:hover {
  background: #fee2e2;
}
.hours-list li.closed .day-name {
  color: #991b1b;
}
.hours-list li.closed .day-hours {
  color: #dc2626;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fee2e2;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
}

/* Today highlight */
.hours-list li.today {
  background: #eff6ff;
  border-left: 3px solid #2563eb;
  padding-left: calc(1.5rem - 3px);
}
.hours-list li.today .day-name {
  color: #1d4ed8;
  font-weight: 700;
}
.hours-list li.today .day-name::after {
  content: ' (Today)';
  font-size: 0.75rem;
  font-weight: 500;
  color: #60a5fa;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: #111827;
  color: #fff;
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #d1d5db;
}

/* =============================================
   Responsive Breakpoints
   ============================================= */

/* md: 768px+ */
@media (min-width: 768px) {
  /* Header */
  .desktop-nav {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }

  /* Hero */
  .hero-card h1 {
    font-size: 3.75rem;
  }
  .hero-card .subtitle {
    font-size: 1.5rem;
  }

  /* Expertise */
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Gallery preview */
  .gallery-preview-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  /* Gallery hero */
  .gallery-hero h1 {
    font-size: 3.75rem;
  }

  /* Filter buttons */
  .filter-buttons {
    gap: 1rem;
  }
  .filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  /* Gallery full grid */
  .gallery-full-grid {
    gap: 2rem;
  }

  /* Lightbox */
  .lightbox {
    padding: 1rem;
  }
  .lightbox-nav {
    padding: 0.75rem;
  }
  .lightbox-nav svg {
    width: 24px;
    height: 24px;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* sm: 640px+ */
@media (min-width: 640px) {
  .gallery-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* lg: 1024px+ */
@media (min-width: 1024px) {
  .gallery-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
