/*
Theme Name: Ms. V's Hair Braiding - Modern Version 2 (Hero Photo)
Theme URI: https://example.com/
Author: Ms. V's Hair Braiding
Description: Modern Version 2 WordPress theme for Ms. V's Hair Braiding, Original African Hair Braiding.
Version: 1.2.0
Text Domain: ms-vs-hair-braiding
*/

:root{
  --burgundy:#6d1f35;
  --rose:#b85c72;
  --cream:#fffaf6;
  --gold:#c99a45;
  --ink:#2a2022;
  --muted:#6f6366;
  --white:#fff;
  --shadow:0 16px 40px rgba(42,32,34,.10);
  --radius:22px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
}

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

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

.container{
  width:min(1120px,92%);
  margin:auto;
}

/* TOP BAR */
.topbar{
  background:var(--burgundy);
  color:#fff;
  text-align:center;
  padding:9px 15px;
  font-size:.9rem;
}

/* HEADER / MENU */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,250,246,.98);
  backdrop-filter:blur(12px);
  border-bottom:1px solid #eadfe1;
}

.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo{
  font-family:Georgia,serif;
  font-size:1.55rem;
  font-weight:700;
  color:var(--burgundy);
}

.logo span{
  display:block;
  font:600 .68rem Inter,Arial,sans-serif;
  letter-spacing:2px;
  color:var(--gold);
  text-transform:uppercase;
}

.navlinks{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.navlinks a{
  font-size:.92rem;
  font-weight:700;
}

.navlinks a:hover{
  color:var(--rose);
}

.btn{
  display:inline-block;
  padding:13px 21px;
  border-radius:999px;
  background:var(--burgundy);
  color:#fff;
  font-weight:800;
  border:2px solid var(--burgundy);
  transition:.2s;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

.btn.alt{
  background:transparent;
  color:var(--burgundy);
}

.menu{
  display:none;
  background:none;
  border:0;
  font-size:1.7rem;
}

/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

.hero{
  position:relative;
  min-height:650px;
  display:flex;
  align-items:center;
  justify-content:center;

  background:
    linear-gradient(
      90deg,
      rgba(35,20,25,.58),
      rgba(35,20,25,.18)
    ),
    url("https://msvshairbraiding.com/wp-content/uploads/2026/08/IMG_2496.jpg")
    center center / cover no-repeat;

  color:#fff;
}

/*
  Logo that sits BETWEEN the menu and hero content.
  front-page.php adds the .hero-logo element.
*/
.hero-logo{
  position:absolute;
  top:-72px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;

  width:280px;
  height:auto;

  border-radius:14px;
  box-shadow:0 12px 35px rgba(0,0,0,.30);
}

.hero-inner{
  width:100%;
  padding:145px 0 90px;
  text-align:left;
}

.hero .eyebrow{
  text-transform:uppercase;
  letter-spacing:3px;
  font-weight:800;
  color:var(--gold);
  font-size:.85rem;
}

h1,
h2,
h3{
  font-family:Georgia,serif;
  line-height:1.15;
}

h1{
  font-size:clamp(3rem,7vw,5.8rem);
  margin:12px 0;
}

h2{
  font-size:clamp(2rem,4vw,3.3rem);
  margin:0 0 14px;
}

h3{
  font-size:1.45rem;
}

.hero p{
  max-width:650px;
  font-size:1.15rem;
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
}

/* SECTIONS */

.section{
  padding:82px 0;
}

.section-head{
  max-width:720px;
  margin-bottom:34px;
}

.section-head p{
  color:var(--muted);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.card{
  background:#fff;
  border:1px solid #eadfe1;
  border-radius:var(--radius);
  padding:28px;
  box-shadow:0 8px 28px rgba(42,32,34,.05);
}

.card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:18px;
}

.card p{
  color:var(--muted);
}

.icon{
  font-size:2rem;
}

/* BURGUNDY BAND */

.band{
  background:var(--burgundy);
  color:#fff;
}

.band .muted{
  color:#f2dfe4;
}

/* PAGE HERO */

.page-hero{
  padding:110px 0;
  background:linear-gradient(120deg,#6d1f35,#9b4960);
  color:#fff;
}

.page-hero p{
  max-width:700px;
  font-size:1.1rem;
}

/* PRICES */

.price-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.price{
  background:#fff;
  padding:18px 20px;
  border-radius:16px;
  border:1px solid #eadfe1;
  display:flex;
  justify-content:space-between;
  gap:15px;
}

/* GALLERY */

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

.gallery img{
  aspect-ratio:1;
  object-fit:cover;
  border-radius:18px;
}

.gallery-item{
  margin:0;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #eadfe1;
  box-shadow:0 8px 24px rgba(35,24,28,.07);
}

.gallery-item img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}

.gallery-item figcaption{
  padding:12px 14px;
  font-weight:700;
}

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

/* NOTICE */

.notice{
  padding:18px 20px;
  border-left:5px solid var(--gold);
  background:#fff4df;
  border-radius:12px;
}

/* STUDIO */

.photo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.studio-photo{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:#eee;
  box-shadow:0 8px 24px rgba(35,24,28,.08);
}

.studio-photo img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

.studio-photo:hover img{
  transform:scale(1.03);
}

/* CONTACT */

.page-hero .card{
  color:var(--ink);
}

.page-hero .card h3{
  color:var(--burgundy);
  margin-top:0;
  margin-bottom:8px;
}

.page-hero .card p{
  color:var(--muted);
}

.page-hero .card a{
  color:var(--burgundy);
  font-weight:700;
}

.page-hero .card a:hover{
  color:var(--rose);
}

/* FORMS */

.form{
  display:grid;
  gap:15px;
  max-width:700px;
}

input,
textarea,
select{
  width:100%;
  padding:14px 16px;
  border:1px solid #ddcfd2;
  border-radius:12px;
  font:inherit;
  background:#fff;
}

textarea{
  min-height:150px;
}

label{
  font-weight:800;
}

/* FOOTER */

footer{
  background:#23181c;
  color:#fff;
  padding:55px 0 25px;
}

.footergrid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:35px;
}

footer a{
  color:#eadfe1;
}

.small{
  font-size:.9rem;
  color:#cbbec1;
}

/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:900px){

  .navlinks{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:78px;
    background:var(--cream);
    padding:20px;
    flex-direction:column;
    align-items:flex-start;
    border-bottom:1px solid #eadfe1;
  }

  .navlinks.open{
    display:flex;
  }

  .menu{
    display:block;
  }

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

  .gallery,
  .featured-gallery{
    grid-template-columns:1fr 1fr;
  }

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

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

/* =========================================================
   PHONE
   ========================================================= */

@media(max-width:620px){

  .grid,
  .gallery,
  .price-list,
  .footergrid,
  .featured-gallery{
    grid-template-columns:1fr;
  }

  .hero{
    min-height:570px;
    background-position:center center;
  }

  .hero-logo{
    width:210px;
    top:-55px;
  }

  .hero-inner{
    padding:120px 0 70px;
    text-align:center;
  }

  .hero p{
    margin-left:auto;
    margin-right:auto;
  }

  .actions{
    justify-content:center;
  }

  .section{
    padding:60px 0;
  }

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

  .studio-photo img{
    height:420px;
  }
}