/* ============================================
   Lickin Good Donuts Pelham — Stylesheet
   ============================================ */

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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #080e1a;

  --yellow-400: #fbbf24;
  --pink-400: #f472b6;
  --green-400: #34d399;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.14);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.18);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

/* ── Geometric Decorations ── */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.geo-circle-1 {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--teal-600);
  top: -200px;
  right: -150px;
}

.geo-square-1 {
  width: 200px;
  height: 200px;
  background: var(--yellow-400);
  bottom: 20%;
  left: -60px;
  transform: rotate(25deg);
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid var(--pink-400);
  top: 45%;
  right: 5%;
  opacity: 0.04;
}

.geo-circle-2 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--teal-400);
  bottom: 10%;
  right: -80px;
  opacity: 0.05;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--slate-900);
}

.logo-text {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--slate-600);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta {
  background: var(--teal-600) !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--teal-700) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  position: relative;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.938rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  background: var(--teal-700);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-secondary {
  background: var(--slate-800);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--slate-900);
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Section Shared ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.text-teal {
  color: var(--teal-600);
}

.section-sub {
  font-size: 1.063rem;
  color: var(--slate-500);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--slate-800);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(13, 148, 136, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(251, 191, 36, 0.08), transparent);
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-400);
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--slate-300);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-400);
  line-height: 1;
}

.stat-label {
  font-size: 0.813rem;
  color: var(--slate-400);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--slate-600);
}

/* Hero Images */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 6/7;
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-float {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--slate-800);
}

.hero-img-float--top {
  top: -20px;
  right: -30px;
  width: 160px;
  height: 160px;
}

.hero-img-float--bottom {
  bottom: 40px;
  left: -40px;
  width: 180px;
  height: 140px;
}

.hero-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-accent-ring {
  position: absolute;
  inset: -16px;
  border: 2px dashed rgba(13, 148, 136, 0.3);
  border-radius: calc(var(--radius-xl) + 8px);
  pointer-events: none;
  animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── About ── */
.about {
  padding: 100px 0;
  background: var(--slate-50);
  position: relative;
  z-index: 1;
}

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

.about-visual {
  position: relative;
}

.about-img-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
}

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

.about-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  z-index: -1;
  opacity: 0.5;
}

.about-text {
  font-size: 1.063rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate-800);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Menu ── */
.menu {
  padding: 100px 0;
  background: var(--slate-800);
  position: relative;
  z-index: 1;
}

.menu .section-tag {
  background: rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.3);
  color: var(--teal-400);
}

.menu .section-title {
  color: #fff;
}

.menu .section-sub {
  color: var(--slate-400);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.menu-card {
  background: var(--slate-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-600);
  transition: transform 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.menu-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.06);
}

.menu-card-body {
  padding: 24px;
}

.menu-card-title {
  font-family: var(--font-heading);
  font-size: 1.188rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: 0.938rem;
  color: var(--slate-400);
  line-height: 1.65;
}

.menu-cta {
  text-align: center;
}

.menu-cta p {
  font-size: 1.063rem;
  color: var(--slate-400);
  margin-bottom: 20px;
}

/* ── Why Us ── */
.why-us {
  padding: 100px 0;
  background: var(--slate-50);
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-block {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.why-block--teal {
  background: var(--teal-600);
  color: #fff;
}

.why-block--slate {
  background: var(--slate-800);
  color: #fff;
}

.why-block-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 24px;
}

.why-block-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-block p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ── Location ── */
.location {
  padding: 100px 0;
  background: var(--slate-100);
  position: relative;
  z-index: 1;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.location-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-label {
  font-size: 0.813rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 4px;
}

.location-value {
  font-size: 1rem;
  color: var(--slate-800);
  line-height: 1.6;
}

.location-value a {
  color: var(--teal-700);
  font-weight: 600;
  transition: color 0.2s;
}

.location-value a:hover {
  color: var(--teal-600);
}

.map-link {
  margin-top: 8px;
}

.location-map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.2);
}

.map-pin {
  animation: bounce-pin 2s ease-in-out infinite;
}

@keyframes bounce-pin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Contact ── */
.contact {
  padding: 100px 0;
  background: var(--slate-800);
  position: relative;
  z-index: 1;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(13, 148, 136, 0.12), transparent);
  pointer-events: none;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-text {
  font-size: 1.063rem;
  color: var(--slate-400);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-direct {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  padding: 14px 24px;
  border-radius: var(--radius-md);
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--teal-700);
}

.contact-phone:hover {
  color: var(--teal-600);
}

/* Form */
.contact-form {
  background: var(--slate-700);
  border: 1px solid var(--slate-600);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-300);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-600);
  background: var(--slate-800);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.938rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input::placeholder {
  color: var(--slate-500);
}

.form-input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.3);
  color: var(--teal-400);
  font-weight: 500;
  font-size: 0.938rem;
}

/* ── Footer ── */
.footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 64px 0 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--slate-800);
}

.footer-tagline {
  font-size: 0.938rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-300);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.938rem;
  color: var(--slate-500);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-address {
  font-size: 0.938rem;
  line-height: 1.7;
  font-style: normal;
}

.footer-phone {
  margin-top: 8px;
}

.footer-phone a {
  color: var(--teal-400);
  font-weight: 600;
  transition: color 0.2s;
}

.footer-phone a:hover {
  color: var(--teal-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.813rem;
  color: var(--slate-600);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }

  .hero-image-wrapper {
    max-width: 400px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(248, 250, 252, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-img-float--top {
    right: -10px;
    width: 120px;
    height: 120px;
  }

  .hero-img-float--bottom {
    left: -10px;
    width: 140px;
    height: 110px;
  }

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

  .about-visual {
    order: -1;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .location-map {
    order: -1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-img-float {
    display: none;
  }

  .why-block {
    padding: 28px;
  }

  .why-block-number {
    font-size: 2.5rem;
  }
}
