/* ========================================
   Amy's Nails & Spa 2 - Custom Styles
   Color Palette: Purple (#6B2FA0), Pink (#D4267E), Gold (#FCC30C)
   ======================================== */

/* --- Google Fonts loaded in HTML --- */

:root {
  --primary: #6B2FA0;
  --primary-dark: #4A1D73;
  --primary-light: #8B4FC0;
  --accent: #D4267E;
  --gold: #FCC30C;
  --gold-dark: #CA9C0A;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #f5f5f5;
  --gray: #888888;
  --font-heading: 'Playfair Display', 'Adamina', Georgia, serif;
  --font-body: 'Fauna One', 'Open Sans', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
}

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 12px;
  padding: 6px 0;
  text-align: right;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--gold); }
.top-bar span { margin: 0 10px; }

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  background: var(--primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  max-width: 1170px;
  margin: 0 auto;
}
.site-logo img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
}
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  color: var(--white);
  padding: 10px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,.15);
  color: var(--gold);
}
.btn-book {
  background: var(--gold);
  color: var(--black) !important;
  padding: 8px 20px !important;
  border-radius: 25px;
  font-weight: 700 !important;
  margin-left: 10px;
  transition: background .2s;
}
.btn-book:hover {
  background: var(--gold-dark);
  color: var(--black) !important;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: all .3s;
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-slideshow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(107, 47, 160, 0.45);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 20px;
}
.hero-content .hero-frame {
  border: 2px solid rgba(255,255,255,.5);
  padding: 50px 60px;
  display: inline-block;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,.4);
}
.hero-content p {
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: italic;
  text-shadow: 1px 1px 6px rgba(0,0,0,.4);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text { padding: 20px 0; text-align: right; }
.about-text p {
  font-family: 'Fauna One', var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}
.about-text .highlight {
  color: var(--gold);
  font-weight: 700;
  text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #fff, 1px 1px 1px #000;
}
.about-text .address-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
}
.about-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0,0,0,.3);
}
.about-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.btn-primary-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--gold);
  border-radius: 5px;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary-cta:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--black);
}
.btn-outline-cta {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--white);
  border-radius: 5px;
  transition: all .2s;
  cursor: pointer;
}
.btn-outline-cta:hover {
  background: var(--white);
  color: var(--primary);
}

/* ========================================
   SERVICES OVERVIEW (Homepage)
   ======================================== */
.services-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8e8f0 0%, #e8d0f0 30%, #f0e0e8 70%, #f5ead0 100%);
  position: relative;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g"><stop offset="0%" stop-color="%23D4267E" stop-opacity="0.05"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="20" cy="80" r="40" fill="url(%23g)"/><circle cx="80" cy="20" r="35" fill="url(%23g)"/></svg>');
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.service-card { margin-bottom: 20px; }
.service-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,.15);
  margin-bottom: 15px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: italic;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}
.service-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 10px;
}
.service-card .service-list {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #555;
}
.service-card .service-list li {
  padding: 2px 0;
}
.service-separator {
  border: none;
  border-top: 3px solid #000;
  margin: 10px 0 30px;
}

/* ========================================
   HEAD SPA SECTION
   ======================================== */
.headspa-section {
  padding: 50px 0 60px;
  background: var(--white);
  text-align: center;
}
.headspa-section h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: italic;
  margin-bottom: 30px;
  color: #333;
}
.headspa-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.headspa-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}
.headspa-section p {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  text-align: left;
}
.btn-booking {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 14px 35px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--gold);
  border-radius: 5px;
  transition: all .2s;
}
.btn-booking:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--black);
}

/* ========================================
   FOLLOW US SECTION
   ======================================== */
.followus-section {
  background: var(--primary);
  color: var(--white);
  padding: 30px 0;
  text-align: center;
}
.followus-section h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-body);
  font-weight: 700;
}

/* ========================================
   CONTACT / LOCATION SECTION
   ======================================== */
.contact-section {
  padding: 60px 0;
  background: url('../images/hero/salon-interior.jpg') center/cover no-repeat fixed;
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.85);
}
.contact-section .container {
  position: relative;
  z-index: 1;
}
.contact-section h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-style: italic;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-dark);
  text-shadow: 1px 1px 2px rgba(0,0,0,.1);
}
.contact-info {
  max-width: 600px;
  margin: 0 auto 30px;
}
.contact-info p {
  font-size: 15px;
  margin-bottom: 12px;
}
.contact-info strong { font-weight: 700; }
.contact-buttons {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.contact-map {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.contact-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 5px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--gold);
  text-shadow: 1px 1px 3px rgba(0,0,0,.3);
}
.footer-col a {
  color: var(--white);
  display: block;
  padding: 5px 0;
  font-size: 15px;
  text-decoration: underline;
}
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 18px;
  text-decoration: none;
}
.footer-social a svg {
  width: 28px;
  height: 28px;
}
.footer-social .social-ig { background: #E1306C; color: var(--white); }
.footer-social .social-fb { background: #1877F2; color: var(--white); }
.footer-social a:hover { opacity: .8; }
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo img {
  height: 180px;
  width: auto;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  padding: 5px;
}
.footer-bottom {
  border-top: 4px solid var(--gold);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-btns {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 25px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
  transition: transform .2s;
  text-decoration: none;
}
.floating-btn:hover { transform: scale(1.05); color: var(--white); }
.floating-btn-phone { background: var(--primary); }
.floating-btn-booking { background: var(--accent); }
.floating-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 110px;
  z-index: 999;
  background: rgba(0,0,0,.4);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); color: var(--white); }

/* ========================================
   SERVICES PAGE (Price List)
   ======================================== */
.services-page {
  background: var(--black);
  min-height: 100vh;
}
.services-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.services-hero-img {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow: hidden;
}
.services-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-price-list {
  padding: 40px;
  color: var(--white);
}
.price-category {
  border: 1px solid rgba(255,255,255,.15);
  padding: 30px;
  margin-bottom: 30px;
}
.price-category h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 25px;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 8px;
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(255,255,255,.2);
}
.price-item:last-child { border-bottom: none; }
.price-name {
  font-weight: 700;
  font-size: 14px;
}
.price-note {
  font-style: italic;
  font-size: 12px;
  color: var(--gray);
  padding: 2px 0 8px;
}
.price-amount {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.price-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,.3);
  margin: 0 10px;
  min-width: 30px;
  position: relative;
  top: -4px;
}

/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-page { background: var(--gray-light); }
.gallery-header {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.gallery-header h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-style: italic;
}
.gallery-header p {
  margin-top: 10px;
  font-size: 16px;
  opacity: .8;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 40px 15px;
  max-width: 1170px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(107, 47, 160, 0.3);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 5px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  background: rgba(255,255,255,.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ========================================
   BEVERAGE PAGE
   ======================================== */
.beverage-page {
  background: var(--black);
  min-height: 100vh;
  color: var(--white);
}
.beverage-header {
  text-align: center;
  padding: 80px 0 40px;
}
.beverage-header h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-style: italic;
  color: var(--gold);
}
.beverage-header p {
  margin-top: 15px;
  font-size: 16px;
  color: var(--gray);
}
.beverage-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 15px 80px;
  text-align: center;
}
.beverage-image img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
}
.beverage-coming {
  font-size: 18px;
  color: var(--gray);
  font-style: italic;
}

/* ========================================
   PAGE HEADER (for inner pages)
   ======================================== */
.page-header-banner {
  background: var(--primary);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.page-header-banner h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-style: italic;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .btn-book { margin: 10px 20px; text-align: center; display: block; }
  .menu-toggle { display: block; }

  .hero-section { height: 350px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 20px; }
  .hero-content .hero-frame { padding: 30px 35px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }

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

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

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

  /* Services page */
  .services-hero { grid-template-columns: 1fr; }
  .services-hero-img {
    position: relative;
    top: auto;
    height: 350px;
  }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .top-bar { font-size: 11px; text-align: center; }
  .top-bar span { display: block; margin: 2px 0; }

  .hero-section { height: 300px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 18px; }
  .hero-content .hero-frame { padding: 20px 25px; }

  .about-buttons { flex-direction: column; align-items: stretch; text-align: center; }

  .services-grid { gap: 20px; }
  .service-card-img { height: 220px; }

  .headspa-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .headspa-gallery img { height: 160px; }

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

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-logo { margin-bottom: 20px; }

  .services-price-list { padding: 20px; }
  .price-category { padding: 20px; }
  .price-category h2 { font-size: 20px; }

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

  .floating-btns { right: 10px; bottom: 15px; }
  .floating-btn { padding: 8px 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .hero-section { height: 250px; }
  .hero-content h1 { font-size: 22px; }
}
