/* ============================================
   NAILS BY BELLONI — Stylesheet
   Charcoal + Coral palette, warm & friendly
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --coral:        #E8734A;
  --coral-dark:   #D4532E;
  --coral-light:  #F5A080;
  --coral-bg:     #FFF3ED;
  --charcoal:     #2D2D2D;
  --charcoal-deep:#1A1A1A;
  --charcoal-mid: #3D3D3D;
  --warm-gray:    #6B6560;
  --warm-gray-lt: #9A9490;
  --cream:        #FDF8F5;
  --cream-dark:   #F5EDE8;
  --white:        #FFFFFF;
  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    32px;
  --shadow-sm:    0 2px 8px rgba(45,45,45,0.06);
  --shadow-md:    0 8px 30px rgba(45,45,45,0.08);
  --shadow-lg:    0 16px 60px rgba(45,45,45,0.12);
  --shadow-coral: 0 8px 30px rgba(232,115,74,0.25);
  --font-body:    'Quicksand', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Lora', 'Georgia', serif;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:    1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--coral-dark); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--charcoal);
}

.coral { color: var(--coral); }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover {
  color: var(--coral-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: var(--white);
  box-shadow: 0 12px 36px rgba(232,115,74,0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-outline-coral {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}
.btn-outline-coral:hover {
  background: var(--coral);
  color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45,45,45,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--charcoal);
}
.logo:hover { color: var(--charcoal); }

.logo-icon {
  color: var(--coral);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  border-radius: 50px;
  transition: all var(--transition);
}
.main-nav a:hover {
  color: var(--coral);
  background: var(--coral-bg);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger { margin: 0 auto; position: relative; }
.hamburger::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
}
.hamburger::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.82) 0%,
    rgba(45,45,45,0.65) 50%,
    rgba(26,26,26,0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 720px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-light);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ---------- Services ---------- */
.services {
  padding: 100px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--coral-bg);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.services-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--warm-gray);
}
.link-coral {
  color: var(--coral);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.link-coral:hover { border-bottom-color: var(--coral); }

/* ---------- About ---------- */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}
.about-img-float img {
  width: 260px;
  height: 200px;
  object-fit: cover;
}

.about-content { max-width: 480px; }
.about-content .section-title { margin-bottom: 20px; }
.about-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-highlights {
  display: flex;
  gap: 32px;
  margin: 32px 0 40px;
}

.highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.highlight-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
}
.highlight-label {
  font-size: 0.82rem;
  color: var(--warm-gray);
  font-weight: 500;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 100px 0;
  background: var(--cream);
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--charcoal);
}
.testimonials .section-title { color: var(--white); }
.testimonials .section-sub { color: rgba(255,255,255,0.6); }

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

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--coral);
  margin-bottom: -8px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral-light);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(232,115,74,0.9) 0%,
    rgba(212,83,46,0.88) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-intro {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-details li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--coral-bg);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.contact-details span,
.contact-details a {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.6;
}
.contact-details a:hover { color: var(--coral); }

/* ---------- Contact Form ---------- */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(232,115,74,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg {
  color: var(--coral);
  margin: 0 auto 16px;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.form-success p {
  color: var(--warm-gray);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-deep);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { color: var(--white); }
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--coral-light); }

.footer-contact address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
}
.footer-contact a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--coral-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Mobile Navigation ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--cream);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .main-nav .btn-coral {
    text-align: center;
    margin-top: 16px;
    color: var(--white) !important;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }
  .nav-overlay.active { display: block; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-float { right: 10px; bottom: -20px; }
  .about-img-main img { height: 350px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .about-highlights { flex-direction: column; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .service-card:hover { transform: none; }
  .gallery-item:hover img { transform: none; }
  .gallery-item:hover { transform: none; }
  .hero-scroll { display: none; }
}
