/* ===================================================
   PHO 2000s — Upgraded Stylesheet
   Fonts: Playfair Display (headings) + Montserrat (body)
   Palette: Deep charcoal bg · Warm cream card · Gold accents
   =================================================== */

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

/* ===== VARIABLES ===== */
:root {
  --gold:          #c9a84c;
  --gold-light:    #e8c97e;
  --gold-dim:      rgba(201, 168, 76, 0.2);
  --charcoal:      #1a1510;
  --charcoal-mid:  #2d2417;
  --cream:         #fdf9f4;
  --parchment:     #f5efe4;
  --text-dark:     #2b2318;
  --text-medium:   #5c4d3c;
  --text-light:    #8c7b6a;
  --shadow-card:   0 24px 64px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.25);
  --transition:    0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
body {
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(ellipse at 25% 15%, #2d1f0a 0%, #1a1510 55%, #0d0b08 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1rem;
}

/* ===== CONTAINER ===== */
.container {
  background: var(--cream);
  width: 100%;
  max-width: 680px;
  border-radius: 3px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border-top: 3px solid var(--gold);
}

/* ===== HEADER ===== */
.restaurant_header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2.75rem 3rem 2.25rem;
  background: var(--parchment);
}

/* Logo */
.logo {
  flex-shrink: 0;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px var(--gold-dim), 0 8px 24px rgba(0, 0, 0, 0.15);
}

#logo_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

a.logo:hover #logo_image {
  transform: scale(1.05);
  filter: brightness(1.08);
}

/* Restaurant name */
.restaurant_name {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.restaurant_name h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-dark);
  line-height: 1;
  text-shadow: none;
}

.restaurant_name h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.restaurant_name span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-medium);
  line-height: 1.5;
}

/* ===== DIVIDER ===== */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 3rem;
  opacity: 0.5;
}

/* ===== CONTENT ===== */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
}

/* Nav links */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2.5rem 0 2rem;
  gap: 0;
}

.main-content a {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.65rem 1.5rem;
  width: 100%;
  text-align: center;
  position: relative;
  transition: color var(--transition), letter-spacing var(--transition);
}

.main-content a::after {
  content: '';
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.main-content a:hover {
  color: var(--gold);
  letter-spacing: 0.18em;
}

.main-content a:hover::after {
  width: 35%;
}

/* Opening hours */
.time_opening {
  text-align: center;
  padding: 1.5rem 0 1.75rem;
}

.time_opening h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.time_opening p {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
}

/* Social media */
.social-media {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 2.75rem;
}

.fa {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fa:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  opacity: 1;
}

.fa-facebook {
  background: #1877f2;
  color: white;
}

.fa-youtube {
  background: #ff0000;
  color: white;
}

.fa-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 3rem 0 3.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1.05rem;
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
}

.contact-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-dark);
}

.contact-link {
  text-decoration: none;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--gold);
}

@media (max-width: 575.98px) {
  .contact-section {
    padding: 2rem 0 2.5rem;
  }
}

/* ===== RATE PAGE ===== */
.rate-section {
  padding: 3rem 0 3.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rate-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: -0.5rem;
}

/* Stars — rendered right-to-left so CSS sibling trick works */
.star-group {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.25rem;
}

.star-group input {
  display: none;
}

.star-group label {
  font-size: 2.4rem;
  color: #d9cfc4;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
  line-height: 1;
}

/* Highlight selected star and all stars to its right */
.star-group input:checked ~ label,
.star-group label:hover,
.star-group label:hover ~ label {
  color: var(--gold);
}

.star-group label:hover {
  transform: scale(1.15);
}

/* Form fields */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
}

.field-input {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--parchment);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.field-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.field-textarea {
  resize: vertical;
  min-height: 7rem;
}

/* Submit button */
.rate-btn {
  align-self: flex-start;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  border: none;
  border-radius: 2px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.35);
}

.rate-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45);
}

.rate-btn:active {
  transform: translateY(0);
}

/* Thank-you message */
.rate-thanks {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 2px;
}

.rate-thanks-icon {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

.rate-thanks p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-medium);
}

@media (max-width: 575.98px) {
  .rate-section {
    padding: 2rem 0 2.5rem;
  }

  .star-group label {
    font-size: 2rem;
  }

  .rate-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===== ABOUT PAGE ===== */
.about-story {
  padding: 3rem 0 3.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.about-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
}

.about-story p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-medium);
}

@media (max-width: 575.98px) {
  .about-story {
    padding: 2rem 0 2.5rem;
  }

  .about-heading {
    font-size: 1.5rem;
  }

  .about-story p {
    font-size: 0.88rem;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--parchment);
  border-top: 1px solid var(--gold-dim);
  padding: 1.75rem 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.adress {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.adress p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-medium);
}

.footer > p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* ===== RESPONSIVE ===== */

/* Small phones (<576px) */
@media (max-width: 575.98px) {
  body {
    padding: 0;
    align-items: flex-start;
  }

  .container {
    max-width: 100%;
    border-radius: 0;
    min-height: 100vh;
  }

  .restaurant_header {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 1.75rem;
    gap: 1.25rem;
  }

  .logo {
    width: 7rem;
    height: 7rem;
  }

  .restaurant_name h1 {
    font-size: 2.2rem;
  }

  .content {
    padding: 0 1.5rem;
  }

  hr {
    margin: 0 1.5rem;
  }

  .main-content {
    padding: 2rem 0 1.5rem;
  }

  .main-content a {
    font-size: 1.85rem;
    padding: 0.55rem 1rem;
  }

  .footer {
    padding: 1.5rem 1.5rem 1.25rem;
  }
}

/* Landscape phones (576–767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  body {
    padding: 0;
  }

  .container {
    max-width: 100%;
    border-radius: 0;
  }

  .restaurant_header {
    flex-direction: column;
    align-items: center;
    padding: 2rem 2rem 1.75rem;
    gap: 1.25rem;
  }

  .restaurant_name h1 {
    font-size: 2.5rem;
  }

  .main-content a {
    font-size: 2.1rem;
  }

  .content {
    padding: 0 2rem;
  }

  hr {
    margin: 0 2rem;
  }
}

/* Small tablets (768–991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .main-content a {
    font-size: 2.25rem;
  }
}

/* Large desktops (≥1400px) */
@media (min-width: 1400px) {
  body {
    padding: 4rem 1rem;
  }

  .container {
    max-width: 720px;
  }
}

/* 4K / UHD (≥2560px) */
@media (min-width: 2560px) {
  body {
    padding: 6rem 1rem;
    font-size: 20px;
  }

  .container {
    max-width: 960px;
  }

  .logo {
    width: 11rem;
    height: 11rem;
  }

  .restaurant_name h1 {
    font-size: 4rem;
  }

  .main-content a {
    font-size: 3.2rem;
  }
}
