/* =========================================================
   Glam Royal Nail Studios — FINAL styles.css (No Conflicts)
   File: /assets/css/styles.css
   ========================================================= */

/* --------- Fonts --------- */
@import url(
"https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap"
);

/* --------- Theme --------- */
:root{
  --bg: #fbf7f6;
  --text: #1a1a1a;
  --muted: rgba(0,0,0,0.62);
  --line: rgba(0,0,0,0.08);

  /* Ethereal accents */
  --brand: #b88a9b;   /* blush */
  --brand2:#d8c6ff;   /* soft lavender */

  --card: rgba(255,255,255,0.72);
  --shadow: 0 18px 60px rgba(0,0,0,0.10);
  --radius: 22px;
}

/* --------- Base --------- */
*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

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

/* =========================================================
   Gentle Background Texture (Marble + Linen + Soft Glow)
   ========================================================= */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;

  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(255,255,255,0.70), transparent 60%),
    radial-gradient(1000px 700px at 80% 15%, rgba(216,198,255,0.28), transparent 62%),
    radial-gradient(900px 600px at 70% 85%, rgba(184,138,155,0.22), transparent 62%),
    linear-gradient(180deg, #fbf7f6, #f6f1ee);
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.015),
      rgba(0,0,0,0.015) 1px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.012),
      rgba(0,0,0,0.012) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.35;
}

/* --------- Typography helpers --------- */
h1, h2, h3{ letter-spacing: 0.1px; }

h1{
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
}

h2{
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 30px;
}

.lead{
  margin: 0 0 18px;
  color: rgba(0,0,0,0.72);
  font-size: 16px;
}

.eyebrow{
  margin: 0 0 10px;
  color: rgba(0,0,0,0.55);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
}

/* --------- Topbar / Nav (class-based only) --------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251,247,246,0.65);
  border-bottom: 1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 14px 0;
}

/* Brand */
.brand{
  display:inline-flex;
  align-items:center;
  gap: 10px;
}

.brand__name{
  font-family: "Playfair Display", serif;
  letter-spacing: 0.2px;
}

/* Icon in brand (all pages) — KEEP this hover animation */
.brand__icon{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Subtle luxury hover */
.brand:hover .brand__icon{
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* Nav */
.nav{
  margin-left: auto;
  display:flex;
  gap: 14px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
}

.nav a{
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(0,0,0,0.72);
  font-weight: 500;
}

.nav a[aria-current="page"]{
  background: rgba(0,0,0,0.06);
}

.nav a:hover{
  background: rgba(0,0,0,0.05);
}

/* --------- Buttons (class-based only) --------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: transform .12s ease, background .12s ease, opacity .12s ease;
}

.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: linear-gradient(135deg, rgba(184,138,155,0.95), rgba(216,198,255,0.95));
  color: #1b1b1b;
  border-color: rgba(0,0,0,0.10);
}

.btn--primary:hover{
  background: linear-gradient(135deg, rgba(184,138,155,1), rgba(216,198,255,1));
}

.btn--ghost{
  background: rgba(255,255,255,0.55);
}

.btn--ghost:hover{
  background: rgba(255,255,255,0.75);
}

.btn--disabled{
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------- Hero (used on Home) --------- */
.hero{
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}

.hero__bg{
  position:absolute;
  inset: -40px;
  z-index: 0;
  background:
    radial-gradient(600px 420px at 30% 20%, rgba(255,255,255,0.60), transparent 60%),
    radial-gradient(700px 520px at 70% 10%, rgba(216,198,255,0.35), transparent 62%),
    radial-gradient(700px 520px at 70% 70%, rgba(184,138,155,0.30), transparent 62%);
}

/* soft overlay */
.hero::after{
  content: "";
  position: absolute;
  inset: -60px;
  z-index: 0;
  background: radial-gradient(600px 400px at 50% 30%, rgba(255,255,255,0.45), transparent 60%);
  pointer-events: none;
}

/* IMPORTANT: keep hero content on top */
.hero__inner{
  position: relative;
  z-index: 2;
}

/* Keep your hero card exactly as-is */
.hero__card{
  max-width: 720px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
}

.hero__actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.hero__meta{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(0,0,0,0.60);
  font-size: 13px;
}

/* =========================================================
   HOME HERO RIGHT IMAGE (home.jpg)
   Add this element in index.html:
   <div class="hero__visual"><img src="assets/img/home.jpg" ...></div>
   ========================================================= */

.hero__inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero__visual{
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  min-height: 260px;
}

.hero__visual img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* --------- Sections --------- */
.section{ padding: 52px 0; }

.section--soft{
  background: rgba(255,255,255,0.22);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head{ margin-bottom: 18px; }

.section__head p{
  margin: 0;
  color: rgba(0,0,0,0.60);
}

.section__cta{ margin-top: 18px; }

/* --------- Grid & Cards --------- */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card{
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.06),
    inset 0 0 40px rgba(255,255,255,0.35);
}

.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: rgba(0,0,0,0.65); }

/* --------- Split Layout (general) --------- */
.split{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items:center;
}

.photo{
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.photo__placeholder{
  padding: 64px 18px;
  text-align:center;
  color: rgba(0,0,0,0.55);
}

/* --------- Footer --------- */
.footer{
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.footer__inner{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  align-items:center;
  color: rgba(0,0,0,0.65);
}

.footer__links{ display:flex; gap: 12px; }
.footer__links a{ color: rgba(0,0,0,0.65); }
.footer__links a:hover{ color: rgba(0,0,0,0.90); }

.textlink{
  display:inline-block;
  margin-top: 10px;
  color: rgba(0,0,0,0.70);
  font-weight: 600;
}

/* =========================================================
   ABOUT SECTION – SOFT LUXURY POLISH (Glow + Marble hint)
   Use this by adding: class="section section--soft section--about"
   ========================================================= */
.section--about{
  position: relative;
  overflow: hidden;
}

.section--about::before{
  content: "";
  position: absolute;
  inset: -140px -120px;
  background:
    radial-gradient(60% 42% at 72% 40%, rgba(200,170,185,0.26), transparent 70%),
    radial-gradient(52% 32% at 28% 20%, rgba(255,255,255,0.50), transparent 65%),
    radial-gradient(55% 40% at 80% 80%, rgba(216,198,255,0.20), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section--about::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background:
    repeating-linear-gradient(
      25deg,
      rgba(0,0,0,0.020),
      rgba(0,0,0,0.020) 1px,
      transparent 1px,
      transparent 6px
    );
}

.section--about > *{
  position: relative;
  z-index: 1;
}

/* About page split (text left, image right) */
.split--about{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch; /* equal height columns */
}

/* Portrait frame */
.about-photo{
  height: 100%;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  display: flex;
}

/* Supports either <img> or <img class="photo__img"> */
.about-photo img,
.about-photo .photo__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 70%; /* helps avoid dark top band */
}

/* Responsive About */
@media (max-width: 900px){
  .split--about{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about-photo{
    min-height: 420px;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 26px;
  }
}

/* --------- Responsive (global) --------- */
@media (max-width: 900px){
  .hero__inner{
    grid-template-columns: 1fr;
  }
  .hero__visual{
    max-width: 520px;
    margin: 18px auto 0;
  }
}

@media (max-width: 860px){
  .nav{ display:none; }
  .grid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .topbar__inner{ gap: 12px; }
}

/* =========================================================
   HOME HERO IMAGE (right side) — NO layout changes
   ========================================================= */

   .hero__visual{
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: min(420px, 38vw);
    aspect-ratio: 4 / 3;
  
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.35);
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  
    z-index: 1;           /* above background */
    pointer-events: none; /* purely decorative */
  }
  
  .hero__visual img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  
  /* Keep it clean on smaller screens */
  @media (max-width: 900px){
    .hero__visual{
      position: relative;
      right: auto;
      top: auto;
      transform: none;
      margin: 18px auto 0;
      width: min(520px, 100%);
    }
  }