/* ========================================
   ROCKS BEAUTY STUDIO — Main Stylesheet
   Design: Minimalist, premium, monochrome
   ======================================== */

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

:root {
  --primary: #111111;
  --accent: #9999CC;
  --bg: #f2f2f2;
  --bg-white: #ffffff;
  --text: #4a4a4a;
  --text-light: #888888;
  --text-muted: #b0b0b0;
  --border: #e0e0e0;
  --border-dark: #cccccc;
  --success: #4CAF50;
  --error: #e53935;
  --footer-bg: #1a1a2e;
  --footer-text: #cccccc;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
  --max-w: 1100px;
  --font: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Attentica 4F', 'Arial Narrow', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img.logo-img { height: 44px; width: auto; }
.logo-text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 200;
  letter-spacing: 5px;
  color: var(--primary);
  text-transform: uppercase;
}
.logo-sub {
  font-size: 9px;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: lowercase;
  margin-top: -2px;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* CTA in nav */
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all var(--transition);
}
.nav-cta:hover { background: #333; }
.nav-cta::after { display: none !important; }

/* Language switcher */
.lang-switch {
  display: flex;
  gap: 4px;
  margin-left: 16px;
}
.lang-switch button {
  padding: 5px 10px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  border-radius: 4px;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}
.lang-switch button:hover { border-color: var(--text); }
.lang-switch button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.5px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-lang {
  display: flex;
  gap: 8px;
  padding-top: 12px;
}
.mobile-nav .mobile-lang button {
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  border-radius: 4px;
}
.mobile-nav .mobile-lang button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 200;
  letter-spacing: 3px;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 560px;
  text-transform: uppercase;
}
.hero p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 440px;
  opacity: 0.9;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: #f0f0f0; box-shadow: var(--shadow-hover); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover { background: #333; box-shadow: var(--shadow-hover); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { opacity: 0.9; box-shadow: 0 4px 16px rgba(153,153,204,0.3); }

/* ========================================
   SECTIONS GENERAL
   ======================================== */
.section {
  padding: 80px 0;
}
.section-dark {
  background: var(--bg-white);
}
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 200;
  letter-spacing: 4px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-sub {
  font-size: 15px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.services-tabs button {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  transition: all var(--transition);
}
.services-tabs button:hover { border-color: var(--text); color: var(--text); }
.services-tabs button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow);
}
.service-card .svc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.service-card .svc-meta {
  font-size: 12px;
  color: var(--text-light);
}
.service-card .svc-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.service-card .svc-price small {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  display: block;
}

.services-cta {
  text-align: center;
  margin-top: 40px;
}

/* ========================================
   MASTERS SECTION
   ======================================== */
.masters-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.master-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.master-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.master-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #9999CC 0%, #7a7aaa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 28px;
}
img.master-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  display: block;
  background: var(--border);
}
.master-card .m-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.master-card .m-spec {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.master-card .m-exp {
  font-size: 12px;
  color: var(--text-muted);
}
.master-card .m-stars {
  color: #FFD700;
  font-size: 14px;
  margin-top: 8px;
}

/* ========================================
   ABOUT / INFO SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.about-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
}
.about-card .about-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.about-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.about-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ========================================
   CONTACT / MAP SECTION
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-detail h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.contact-detail p {
  font-size: 14px;
  color: var(--text-light);
}
.contact-detail a {
  color: var(--accent);
  font-weight: 600;
}
.contact-detail a:hover { text-decoration: underline; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

/* ========================================
   CTA BANNER (above footer)
   ======================================== */
.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-logo { margin-bottom: 12px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  font-size: 14px;
  color: var(--footer-text);
  line-height: 1.8;
}
.footer-col a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.footer-bottom a:hover { color: #fff; }

/* ========================================
   BOOKING PAGE SPECIFIC
   (overrides for standalone booking page)
   ======================================== */
.booking-page-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
}
.booking-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .lang-switch { display: none; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 40px; letter-spacing: 2px; }
  .hero { min-height: 420px; }
  .section-title { font-size: 30px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

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

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

/* Mobile */
@media (max-width: 600px) {
  .header-inner { height: 60px; }
  .logo-text { font-size: 22px; letter-spacing: 2px; }
  .logo-sub { font-size: 8px; }

  .hero { min-height: 380px; }
  .hero-content { padding: 60px 20px; }
  .hero h1 { font-size: 30px; letter-spacing: 1px; }
  .section-title { font-size: 26px; letter-spacing: 2px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }

  .services-tabs { gap: 6px; }
  .services-tabs button { padding: 8px 14px; font-size: 12px; }

  .masters-carousel { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .master-card { padding: 20px 12px; }
  .master-avatar { width: 60px; height: 60px; font-size: 22px; }

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

  .cta-banner h2 { font-size: 22px; }
  .cta-banner { padding: 40px 0; }

  .booking-card { padding: 24px; }
  .booking-page-wrapper { padding: 20px 12px; }
}

/* Extra small */
@media (max-width: 400px) {
  .hero h1 { font-size: 24px; }
  .masters-carousel { grid-template-columns: 1fr 1fr; gap: 8px; }
  .master-card { padding: 16px 8px; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.fade-in-d1 { animation-delay: 0.1s; }
.fade-in-d2 { animation-delay: 0.2s; }
.fade-in-d3 { animation-delay: 0.3s; }
.fade-in-d4 { animation-delay: 0.4s; }

/* ========================================
   SEO TEXT BLOCKS
   (visible to crawlers, styled subtly)
   ======================================== */
.seo-text {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 16px;
}
.seo-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 8px;
}
.seo-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--bg-white);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  background: none;
  border: none;
  text-align: left;
}
.faq-q:hover { background: #fafafa; }
.faq-q svg {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-light);
}
.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-a p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* Utility */
.hidden { display: none !important; }
.text-center { text-align: center; }
