/* Author: Alexis Dejesus */

/* ========== RESET ========== */
*,
*::before,
*::after { box-sizing: border-box; }

body, header, nav, main, footer, h1, h2, h3, h4, p, ul, li, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
}

html, body { height: 100%; }

/* ========== VARIABLES ========== */
:root{
  --bg-dark: #000000;
  --pink: #cc3366;       
  --pink-2: #ff4f8b;      
  --pink-soft: #e89ab3;   /* NEW pink for nav + title */
  --nude: #f6efe9;
  --muted: #777777;
  --white: #ffffff;
  --card-shadow: rgba(0,0,0,0.12);
  --container-w: 1200px;
  --radius: 12px;
  --max-content: 1100px;
  --accent-contrast: #f2e9e6;
}

/* ========== HERO SECTION ========== */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    padding: 40px 20px;
}

.hero-left {
    flex: 0 0 auto;
}

.hero-right {
    flex: 1;
}

.hero-logo {
    width: 200px;
    height: auto;
}

.hero-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 15px;
}

/* HERO (#hero) Match Styling */
#hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px rgba(204,51,102,0.20); 
}

#hero img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

/* ========== GLOBAL ========== */
body{
  background: linear-gradient(180deg, #000000 0%, #2a0d15 100%);
  color: var(--white);
  font-family: "Roboto Slab", serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

#container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 16px 40px;
}

.about-video {
    max-width: 100%;
    width: 100%;
    height: auto;       /* keeps aspect ratio */
    max-height: 400px;  /* optional, limits how tall it can get */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


/* ========== HEADER & NAVIGATION ========== */
.mobile-nav {
  background: rgba(204,51,102,0.45);
  position: relative;
  padding: 8px 0;
}

/* NAV LINKS PINK */
#menu-links {
  display: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.3));
  text-align: center;
}

#menu-links a {
  display: block;
  padding: 12px 0;
  color: var(--pink-soft);
  font-family: 'Francois One', sans-serif;
  font-size: 1.05rem;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.03);
}

#menu-links a:hover {
  color: var(--pink-2);
}

/* Menu icon (hamburger) */
.menu-icon, .menu-icon div {
  font-size: 1.75rem;
  color: var(--white);
  padding: 8px 16px;
  cursor: pointer;
  display: inline-block;
  float: right;
}

/* Logo Area */
#np-logo {
  text-align: center;
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.0));
}

/* TITLE PINK */
#np-logo h1, 
#np-logo h2, 
#np-logo span {
    color: var(--pink-soft);
    text-shadow: 0 0 12px rgba(232,154,179,0.5);
}

#np-logo img {
  height: 110px;
  width: auto;
  display: inline-block;
}

/* Hide desktop nav on mobile */
.tablet-desktop { display: none; }

/* DESKTOP NAV */
nav.tablet-desktop {
  background: linear-gradient(90deg, #1a0a0f, #2d0f1a);
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 0 18px rgba(232,154,179,0.35);
}

/* DESKTOP NAV LINK COLORS */
nav.tablet-desktop ul li a {
    color: var(--pink-soft);
    transition: 0.25s ease;
}

nav.tablet-desktop ul li a:hover {
    color: var(--pink-2);
}

/* ========== MAIN CONTENT ========== */
main { 
  background: linear-gradient(180deg, #f6efe9 0%, #f9e2e8 100%);
  color: #111;
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #f0d8df;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.mobile h2, .mobile p, .tablet-desktop h2 {
  font-family: 'Francois One', sans-serif;
  color: #222;
}

.tel-link {
  display: inline-block;
  margin: 12px 0;
  background: #222;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}

.hours { margin: 8px 0 16px 16px; color: var(--muted); }

.action { color: var(--pink); font-weight: 700; }

/* ========== GRID / FEATURE CARDS ========== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 18px;
  margin-top: 20px;
}

.frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--accent-contrast);
  box-shadow: 0 6px 18px var(--card-shadow);
}

.pic-text {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  color: var(--white);
  font-weight: 700;
  font-family: Verdana, Arial, sans-serif;
  letter-spacing: 0.02em;
}

/* ========== GALLERY / SLIDER ========== */
.gallery-section {
  margin: 26px 0;
  text-align: center;
  color: #111;
}

.gallery-section h3 { 
  font-family: 'Francois One', sans-serif;
  color: #222;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

/* Slider wrapper */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Slides row */
.slides {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

/* Each slide image */
.slides img {
  width: 100%;
  flex-shrink: 0;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Prev/Next buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
  z-index: 10;
  transition: background 0.2s ease;
}
.prev:hover, .next:hover {
  background: rgba(0,0,0,0.75);
}
.prev { left: 12px; }
.next { right: 12px; }

/* Responsive adjustments */
@media (max-width: 480px) {
  .slides img { height: 280px; }
  .prev, .next { padding: 8px 10px; font-size: 14px; }
}

/* ========== CONTACT FORM ========== */
.contact-wrapper { padding: 18px 8px; max-width: 900px; margin: 0 auto; }

.contact-form {
  background: linear-gradient(180deg, #fff 0%, #f8eef0 100%);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}

.contact-form h3 { text-align:center; color: #222; margin-bottom:10px; }

.contact-form label { display:block; margin:10px 0 6px; font-weight:600; color:#333; }

.contact-form input, .contact-form textarea {
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #e1d7d7;
  background: #fff;
  font-size: 15px;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 6px rgba(204,51,102,0.15);
}

.contact-btn {
  display:block;
  width:100%;
  padding:12px;
  background: linear-gradient(90deg,var(--pink),var(--pink-2));
  color: white;
  font-weight: 700;
  border: none;
  border-radius:8px;
  cursor: pointer;
  margin-top: 8px;
}

/* ========== FOOTER ========== */
.tm-footer {
  color: #333;
  background: linear-gradient(180deg, #f6efe9 0%, #f0d3db 100%);
  padding: 28px 14px;
  border-radius: 12px;
  margin-top: 14px;
}

.tm-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  max-width: var(--max-content);
  margin: 0 auto;
}

.footer-section { 
  flex: 1 1 260px; 
  min-width: 200px; 
}

.footer-section h3 { 
  color: var(--pink); 
  margin-bottom: 8px; 
}

.footer-section a { color: #333; text-decoration: none; }

.footer-bottom { 
  width: 100%; 
  text-align: center; 
  margin-top: 12px; 
  color: #666; 
}

.tm-footer .social-icon { 
  width: 38px; 
  height: 38px; 
  margin-right: 10px; 
  border-radius: 8px; 
}

/* ========== UTILITIES ========== */
.hidden { display: none !important; }
.center { text-align: center; }

/* ========== RESPONSIVE BREAKPOINTS ========== */
@media screen and (min-width: 630px) {
  .mobile, .mobile-nav { display: none; }
  .tablet-desktop { display: block; }
  main { padding: 30px; }
}

.grid { grid-template-columns: repeat(3, 1fr); }

nav { margin: 0; padding: 8px 0; }

nav ul { 
  list-style: none; 
  text-align: center; 
  margin: 0; 
  padding: 0; 
}

nav li { 
  display: inline-block; 
  margin: 0 8px; 
  font-family: 'Francois One', sans-serif; 
  font-size: 1.05rem; 
}

nav li a { 
  padding: 6px 10px;
  text-decoration: none; 
  display: block; 
}

/* DESKTOP */
@media screen and (min-width: 1015px) {
  #np-logo { float: left; width: 25%; padding-left: 4px; }
  nav.tablet-desktop { float: right; width: 70%; margin-top: 26px; text-align: right; }

  main { 
    clear: left; 
    margin: 0 auto;
    max-width: 900px;
  }

  .grid { gap: 22px; }
}

/* PRINT MODE */
@media print {
  body { background: #fff; color: #000; }
  .tm-footer { background: none; border: none; box-shadow: none; }
}

/* MOBILE HERO FIX */
@media (max-width: 768px) {
  .hero-section {
      flex-direction: column;
      text-align: center;
  }
}

/* ========== ABOUT PAGE VIDEO + BIO STYLING ========== */

.about-video-section {
  margin: 30px auto;
  text-align: center;
}

.about-video-section h2 {
  font-family: 'Francois One', sans-serif;
  color: var(--pink);
  margin-bottom: 14px;
}

.about-video {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(204,51,102,0.25);
  border: 2px solid var(--pink-soft);
}

.about-tech-section {
  margin-top: 30px;
  background: linear-gradient(180deg, #f6efe9 0%, #f4dee6 100%);
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #e8c7d2;
}

.about-tech-section h2 {
  color: var(--pink);
  margin-bottom: 10px;
  font-family: 'Francois One', sans-serif;
}

.about-tech-section p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.logo-title {
  font-family: 'Francois One', sans-serif;
  font-size: 2.6rem;

  background: linear-gradient(90deg,
      #e89ab3,
      #ff4f8b,
      #cc3366,
      #ff4f8b,
      #e89ab3
  );
  background-size: 300% auto;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  animation: pinkFlow 6s ease-in-out infinite;
  font-weight: 700;
  letter-spacing: 1px;
}

@keyframes pinkFlow {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* About video and nail tech section */
.about-video-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.about-video-container video {
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Nail Tech Profile Section */
.tech-profile {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
}

.tech-image img {
  width: 250px;
  border-radius: 12px;
  object-fit: cover;
}

.tech-info {
  flex: 1;
  font-family: 'Roboto Slab', serif;
  color: #111;
}

/* Make it stack on smaller screens */
@media (max-width: 768px) {
  .tech-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tech-image img {
    width: 100%;
    max-width: 300px;
  }
  .about-video-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
    .about-video-container video {
        max-height: 300px; /* scales down on smaller screens */
    }
}

