/**
 * Modern UI overrides (theme layer).
 * Loaded after `assets/css/main.css`.
 */

:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif;
  --nav-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif;
}

:root {
  --background-color: #f8fafc;
  --surface-color: #ffffff;
  --default-color: #0f172a;
  --heading-color: #0b1220;
  --accent-color: #e11d48;
}

:root {
  --nav-color: #334155;
  --nav-hover-color: var(--accent-color);
  --nav-dropdown-color: #0f172a;
}

body {
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.03em;
}

/* Header / Nav */
.header {
  background: color-mix(in srgb, var(--background-color), transparent 12%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
  backdrop-filter: blur(10px);
}

.header .logo h1 {
  font-family: var(--heading-font);
  font-weight: 800;
  text-transform: uppercase;
}

.sitename-animated {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  animation: logo-in 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.sitename-animated::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--accent-color);
  border-radius: 999px;
  transform: scaleX(0.18);
  transform-origin: left center;
  opacity: 0.9;
  animation: logo-underline 2.8s ease-in-out infinite;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-underline {
  0%,
  100% {
    transform: scaleX(0.18);
    opacity: 0.65;
  }

  50% {
    transform: scaleX(0.55);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sitename-animated {
    animation: none;
  }

  .sitename-animated::after {
    animation: none;
    transform: scaleX(0.35);
  }
}

.navmenu a {
  font-family: var(--nav-font);
  font-weight: 600;
}

/* Buttons */
.header .btn-getstarted,
.header .btn-getstarted:focus,
.hero .btn-get-started,
.hero .btn-get-started:focus {
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.25);
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover,
.hero .btn-get-started:hover,
.hero .btn-get-started:focus:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 50px rgba(225, 29, 72, 0.28);
}

/* Sections */
section,
.section {
  padding: 84px 0;
}

.light-background {
  --background-color: #f1f5f9;
  --surface-color: #ffffff;
}

/* Section titles */
.section-title {
  padding-bottom: 44px;
}

.section-title h2 {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.section-title p {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
}

/* Hero */
.hero .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.hero h1 {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.05;
  margin-bottom: 34px;
  text-align: center;
}

/* Hero Swiper */
.hero .hero-swiper {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.18);
}

.hero .hero-swiper .swiper-slide {
  overflow: hidden;
}

.hero .hero-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.05) 40%, rgba(2, 6, 23, 0.55) 100%);
  z-index: 1;
}

/* Contact form (custom, mailto) */
.contact .contact-us-form {
  background: var(--surface-color);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.08);
}

.contact .contact-us-form h3 {
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact .contact-us-form .form-control {
  border-radius: 14px;
}

.contact .contact-us-form textarea.form-control {
  resize: vertical;
}

.hero .hero-swiper-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero .hero-swiper-caption {
  left: 14px;
  right: 14px;
  bottom: 14px;
  width: auto;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.hero .hero-swiper .hero-swiper-pagination {
  bottom: 16px !important;
}

.hero .hero-swiper .hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
}

/* Scroll top */
.scroll-top {
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.18);
}

/* Cards / surfaces (subtle) */
.info-item,
.menu .menu-item,
.service-item,
.card {
  border-radius: 18px;
}

/* Services (tab: menu-starters) */
.menu #menu-starters .menu-item .ingredients {
  color: #000;
}

.info-item {
  background: var(--surface-color);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.06);
}

/* Forms */
input,
select,
textarea {
  border-radius: 14px !important;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
