/*
Theme Name: 7Pasta
Theme URI: https://7pasta.com
Author: Markefon
Description: 7Pasta icin tek sayfa restoran WordPress temasi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Text Domain: seven-pasta
*/

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap");

:root {
  --sp-bg: #0d0b08;
  --sp-bg-alt: #110e0a;
  --sp-ink: #e8e0d5;
  --sp-muted: rgba(255, 255, 255, 0.52);
  --sp-gold: #c9a86c;
  --sp-red: #ef4444;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: "Jost", Arial, sans-serif;
}

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

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

.sp-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.sp-header.is-scrolled,
.sp-mobile-nav.is-open {
  background: rgba(13, 11, 8, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 108, 0.2);
}

.sp-header-inner {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 32px;
}

.sp-logo {
  align-items: baseline;
  display: flex;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1;
}

.sp-logo-seven {
  color: var(--sp-red);
  font-size: 28px;
  font-weight: 900;
}

.sp-logo-text {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sp-nav {
  display: flex;
  gap: 40px;
}

.sp-nav a,
.sp-mobile-nav a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.sp-nav a:hover,
.sp-mobile-nav a:hover {
  color: var(--sp-gold);
}

.sp-menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.sp-menu-toggle span,
.sp-menu-toggle span::before,
.sp-menu-toggle span::after {
  background: currentColor;
  content: "";
  display: block;
  height: 2px;
  position: relative;
  width: 22px;
}

.sp-menu-toggle span::before {
  position: absolute;
  top: -7px;
}

.sp-menu-toggle span::after {
  position: absolute;
  top: 7px;
}

.sp-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 22px;
  padding: 0 32px 26px;
}

.sp-section {
  padding: 112px 24px;
}

.sp-container {
  margin: 0 auto;
  max-width: 1180px;
}

.sp-hero {
  align-items: center;
  display: flex;
  height: 100vh;
  justify-content: center;
  min-height: 680px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.sp-hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.sp-hero::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.5), var(--sp-bg));
  content: "";
  inset: 0;
  position: absolute;
}

.sp-hero-content {
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.sp-eyebrow {
  align-items: center;
  color: var(--sp-gold);
  display: flex;
  font-size: 10px;
  font-weight: 500;
  gap: 16px;
  justify-content: center;
  letter-spacing: 0.5em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.sp-eyebrow::before,
.sp-eyebrow::after {
  background: var(--sp-gold);
  content: "";
  height: 1px;
  width: 48px;
}

.sp-hero h1 {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(76px, 11vw, 148px);
  font-weight: 900;
  line-height: 0.9;
  margin: 0;
}

.sp-hero h1 span {
  color: var(--sp-red);
}

.sp-hero-subtitle {
  color: var(--sp-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  margin: 24px 0 40px;
}

.sp-button {
  border: 1px solid var(--sp-gold);
  color: var(--sp-gold);
  display: inline-flex;
  font-size: 10px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.3em;
  padding: 15px 40px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.sp-button:hover {
  background: var(--sp-gold);
  color: var(--sp-bg);
}

.sp-about {
  background: var(--sp-bg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1280px;
  min-height: 600px;
}

.sp-about-media {
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

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

.sp-about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}

.sp-kicker {
  align-items: center;
  color: var(--sp-gold);
  display: flex;
  font-size: 10px;
  gap: 12px;
  letter-spacing: 0.4em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.sp-kicker::before {
  background: var(--sp-gold);
  content: "";
  height: 1px;
  width: 32px;
}

.sp-title {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 28px;
  text-align: center;
}

.sp-about-copy .sp-title {
  font-size: clamp(40px, 4.4vw, 56px);
  text-align: left;
}

.sp-title em {
  color: var(--sp-gold);
}

.sp-text {
  color: var(--sp-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  margin: 0 0 20px;
}

.sp-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  padding-top: 36px;
}

.sp-stat-number {
  color: var(--sp-gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sp-stat-label {
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sp-section-head {
  margin: 0 auto 64px;
  max-width: 760px;
  text-align: center;
}

.sp-menu-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  max-width: 880px;
}

.sp-menu-item {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 12px;
}

.sp-menu-info {
  display: flex;
  gap: 20px;
}

.sp-index {
  color: rgba(201, 168, 108, 0.45);
  flex: 0 0 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
}

.sp-menu-item h3,
.sp-sauce-name {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  transition: color 0.2s ease;
}

.sp-menu-item:hover h3,
.sp-sauce:hover .sp-sauce-name {
  color: var(--sp-gold);
}

.sp-menu-item p,
.sp-sauce-desc {
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  margin: 6px 0 0;
}

.sp-price {
  color: var(--sp-gold);
  flex: 0 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
}

.sp-note {
  color: rgba(255, 255, 255, 0.24);
  font-size: 12px;
  letter-spacing: 0.28em;
  margin: 48px 0 0;
  text-align: center;
  text-transform: uppercase;
}

.sp-sauces {
  background: var(--sp-bg-alt);
}

.sp-sauce-grid {
  display: grid;
  gap: 0 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

.sp-sauce {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
  padding: 20px 0;
}

.sp-sauce .sp-index {
  flex-basis: 24px;
  font-family: "Jost", Arial, sans-serif;
  font-size: 12px;
  margin-top: 2px;
}

.sp-sauce-name {
  font-family: "Jost", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.sp-sauce-desc {
  font-size: 13px;
  margin-top: 3px;
}

.sp-contact-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 42px 64px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
  padding-top: 48px;
}

.sp-contact-label {
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
  letter-spacing: 0.4em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.sp-contact-main {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  margin: 0 0 6px;
}

.sp-contact-sub {
  color: rgba(255, 255, 255, 0.62);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  margin: 0;
}

.sp-footer {
  background: #080604;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 24px;
}

.sp-footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.sp-footer-note {
  color: rgba(255, 255, 255, 0.24);
  font-size: 10px;
  letter-spacing: 0.3em;
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .sp-nav {
    display: none;
  }

  .sp-menu-toggle {
    display: inline-flex;
  }

  .sp-mobile-nav.is-open {
    display: flex;
  }

  .sp-header-inner {
    padding: 0 24px;
  }

  .sp-hero {
    min-height: 620px;
  }

  .sp-about,
  .sp-contact-grid,
  .sp-sauce-grid {
    grid-template-columns: 1fr;
  }

  .sp-about-copy {
    padding: 64px 28px;
  }

  .sp-section {
    padding: 88px 22px;
  }

  .sp-menu-item {
    padding-left: 0;
    padding-right: 0;
  }

  .sp-menu-info {
    gap: 12px;
  }

  .sp-stats {
    gap: 18px;
  }

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