/* ========================================
   LuxLoo — Luxury Restroom Website
   Bold & Luxurious Theme
   ======================================== */

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

:root {
  --bg-dark: #081328;
  --bg-card: #0F1E3B;
  --bg-card-hover: #162A4F;
  --gold: #F3CA62;
  --gold-light: #F6D57E;
  --gold-glow: rgba(243, 202, 98, 0.4);
  --white: #f5f5f5;
  --gray: #aaaaaa;
  --gray-dark: #555555;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Raleway", "Segoe UI", sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gold-light);
}

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.gold-text {
  color: var(--gold);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 0 20px var(--gold-glow);
  color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Spacing --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--bg-card);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(8, 19, 40, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(243, 202, 98, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--gold);
  color: var(--bg-dark) !important;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light);
  box-shadow: 0 0 15px var(--gold-glow);
  color: var(--bg-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  background: linear-gradient(
    135deg,
    rgba(8, 19, 40, 0.97) 0%,
    rgba(15, 30, 59, 0.95) 50%,
    rgba(8, 19, 40, 0.97) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(243, 202, 98, 0.03) 0%,
    transparent 70%
  );
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5%, 5%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--gold);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   WHAT WE DO
   ======================================== */
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 2rem;
}

.wwd-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(243, 202, 98, 0.1);
  border-radius: 8px;
  transition: all 0.3s;
}

.wwd-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.wwd-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  display: block;
}

.wwd-card h3 {
  margin-bottom: 0.8rem;
  color: var(--gold);
}

.wwd-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-item h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 40px 24px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.step h3 {
  margin-bottom: 0.8rem;
}

.step p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ========================================
   UNIT / SERVICE CARDS
   ======================================== */
.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.unit-card {
  background: var(--bg-card);
  border: 1px solid rgba(243, 202, 98, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.unit-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.unit-image {
  width: 100%;
  height: 240px;
  background: var(--bg-card-hover);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  font-size: 0.9rem;
}

.unit-info {
  padding: 28px;
}

.unit-info h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.unit-price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.unit-features {
  margin-bottom: 1.5rem;
}

.unit-features li {
  color: var(--gray);
  font-size: 0.9rem;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.unit-features li::before {
  content: "✦";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 6px;
}

/* ========================================
   TRAILER SHOWCASE / SLIDESHOW
   ======================================== */
.trailer-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.slideshow {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(243, 202, 98, 0.15);
  background: var(--bg-card);
}

.slideshow-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slideshow-slide {
  min-width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-card-hover);
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 19, 40, 0.7);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  line-height: 1;
  padding: 0;
  z-index: 2;
  font-family: inherit;
}

.slideshow-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
  box-shadow: 0 0 15px var(--gold-glow);
}

.slideshow-prev { left: 16px; }
.slideshow-next { right: 16px; }

.slideshow-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 1;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}

.slideshow-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.trailer-details h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.trailer-details .unit-price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.trailer-details .unit-features {
  margin-bottom: 1.75rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(243, 202, 98, 0.1);
  border-radius: 8px;
  padding: 36px;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-event {
  color: var(--gray-dark);
  font-size: 0.85rem;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 280px;
  background: var(--bg-card-hover);
  border: 1px solid rgba(243, 202, 98, 0.1);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  font-size: 0.9rem;
  position: relative;
}

.gallery-item:hover {
  border-color: var(--gold);
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  color: var(--gray);
  font-size: 1.2rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.3s;
  background: none;
  border: none;
  font-family: inherit;
}

.lightbox-close:hover {
  color: var(--white);
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(243, 202, 98, 0.2);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(243, 202, 98, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #e74c3c;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 8px;
}

.form-success.active {
  display: block;
}

.form-success h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ========================================
   CONTACT INFO
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--gold);
  min-width: 36px;
  text-align: center;
}

.contact-info-item h4 {
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--bg-card-hover);
  border: 1px solid rgba(243, 202, 98, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  margin-top: 2rem;
}

/* ========================================
   PAGE HEADER (inner pages)
   ======================================== */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(15, 30, 59, 1) 0%,
    rgba(8, 19, 40, 1) 100%
  );
  border-bottom: 1px solid rgba(243, 202, 98, 0.1);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(243, 202, 98, 0.15);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand img {
  height: 85px;
  width: auto;
  display: block;
  border-radius: 4px;
}

.footer-description {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(243, 202, 98, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-dark);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--gray);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--gold);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .units-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .section {
    padding: 70px 0;
  }

  /* Mobile nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(8, 19, 40, 0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(243, 202, 98, 0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* Grids */
  .what-we-do-grid,
  .steps,
  .units-grid,
  .trailer-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .slideshow-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .slideshow-prev { left: 10px; }
  .slideshow-next { right: 10px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-tagline {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
}
