/*
 * Rosangela's Pizza - Custom Stylesheet (v4)
 * -------------------------------------
 * This file adds our custom brand identity on top of Pico.css
 */

/* 1. Import Google Fonts
 * ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@700&display=swap');

/* 2. Define Brand Colors & Fonts
 * ---------------------------------- */
:root {
  /* Colors */
  --rosso: #D2042D;        /* Classic Italian Red */
  --verde: #008C45;        /* Classic Italian Green */

  /* Typography */
  --font-family-headings: 'Playfair Display', serif;
  --font-family-body: 'Lato', sans-serif;
  
  /* === Pico Variable Overrides === */
  --primary: var(--rosso);
  --primary-hover: var(--verde); /* Use Green for hover */
  --primary-focus: var(--rosso);
  --primary-inverse: #FFFFFF;
  
  --h1-font-family: var(--font-family-headings);
  --h2-font-family: var(--font-family-headings);
  --h3-font-family: var(--font-family-headings);
  --h4-font-family: var(--font-family-headings);
  --h5-font-family: var(--font-family-headings);
  --h6-font-family: var(--font-family-headings);
  --font-family: var(--font-family-body);
  
  --color: #333333;
  --background-color: #FFFFFF; /* Set variable to white */
  
  --container-padding: 3rem 2rem;
}

/* === UPDATE: Force white background, overriding dark mode === */
body {
  background-color: #FFFFFF;
}

main.container {
  padding-top: 1.5rem;
}

/* 3. Custom Hero Section
 * ---------------------------------- */
.hero {
  text-align: center;
  padding: 0rem 1rem 2rem 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2rem;
}

/* 4. Main Call-to-Action (CTA) Button
 * ---------------------------------- */
.cta-button {
  --background-color: var(--rosso);
  --border-color: var(--rosso);
  --color: #FFFFFF;
  --box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
  
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 2rem;
  text-decoration: none;
}
.cta-button:hover {
  --background-color: var(--verde);
  --border-color: var(--verde);
  --color: #FFFFFF;
}

/* 5. Image & Layout Helpers
 * ---------------------------------- */
.responsive-img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.welcome-grid {
  margin-top: 4rem;
}

/* 6. Header & Footer
 * ---------------------------------- */
body::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(to right, var(--verde) 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, var(--rosso) 66.6%);
}
 
nav {
  padding: 1rem 0;
  align-items: center;
}

nav .logo {
  max-width: 200px;
  margin: 0;
}

nav ul li a {
  font-family: var(--font-family-headings);
  font-size: 1.1rem;
  font-weight: 700;
}

nav a[aria-current="page"] {
  color: var(--rosso);
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  border-top: 1px solid #eee;
  margin-top: 4rem;
  background-color: #FFFFFF;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1rem;
}
.social-link svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}
.social-link:hover {
  text-decoration: underline;
}

/* 7. Menu Page Specific Styles
 * ---------------------------------- */
.menu-category h2 {
  border-bottom: 2px solid var(--rosso);
  padding-bottom: 0.5rem;
  display: inline-block;
}
.menu-item {
  margin-bottom: 1rem;
}
.menu-item strong {
  color: #333;
  font-size: 1.1rem;
}
.menu-item span {
  float: right;
  color: var(--verde);
  font-weight: 700;
}
.menu-item p {
  margin: 0;
  font-size: 0.9rem;
}
.menu-note {
  font-style: italic;
  font-size: 0.9rem;  
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}
.pizza-table {
  text-align: center;
}
.pizza-table th {
  color: #333;
}
