/* 
 * Friendly Toast Website Styles
 * A comprehensive stylesheet for the Friendly Toast restaurant website
 * Colors: Warm orange/yellow palette with brown accents
 */

/* Variables */
:root {
  --primary-color: #FF9800;
  --primary-dark: #F57C00;
  --primary-light: #FFE0B2;
  --accent-color: #FF5722;
  --text-dark: #333333;
  --text-light: #757575;
  --background-light: #FFFAF0;
  --background-dark: #5D4037;
  --white: #FFFFFF;
  --black: #000000;
  --gray-light: #F5F5F5;
  --gray-medium: #E0E0E0;
  --success: #4CAF50;
  --error: #F44336;
  --border-radius: 8px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style-type: none;
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* Containers and Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  border: none;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--white);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--box-shadow);
}

.secondary-btn {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo svg {
  margin-right: 10px;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

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

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-cta {
  margin-left: 1rem;
}

/* Hero Section */
.hero {
  padding-top: calc(5rem + 70px);
  background-color: var(--white);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  padding-right: 2rem;
}

.hero h1 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual svg {
  max-height: 400px;
}

/* Menu Section */
.menu {
  background-color: var(--background-light);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.menu-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-10px);
}

.menu-icon {
  margin-bottom: 1.5rem;
}

.menu-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.menu-item p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.price {
  display: inline-block;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.25rem;
}

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

/* News & Entertainment Section */
.news-entertainment {
  background-color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.news-column h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
}

.news-links li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-medium);
}

.news-links li:last-child {
  border-bottom: none;
}

.news-links a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}

.news-links a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

/* About Section */
.about {
  background-color: var(--background-light);
}

.about .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
}

.feature svg {
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.feature:hover svg {
  transform: scale(1.1);
}

.feature p {
  font-weight: 600;
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.location {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-medium);
}

.location:last-child {
  border-bottom: none;
}

.location h4 {
  color: var(--primary-dark);
}

address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-medium);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.contact-form button {
  margin-top: 1rem;
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--background-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.footer-brand span {
  margin-left: 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--white);
  opacity: 0.8;
}

.footer-column a:hover {
  color: var(--primary-light);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0;
}

.footer-favicon {
  display: flex;
  align-items: center;
}

.footer-favicon img {
  margin-left: 0.5rem;
}

/* Media Queries */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container,
  .about .container,
  .contact-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding-right: 0;
    order: 1;
  }
  
  .hero-visual {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .about-image {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .nav-toggle-label {
    display: block;
    position: relative;
    height: 24px;
    width: 30px;
  }
  
  .nav-toggle-label span, 
  .nav-toggle-label span::before, 
  .nav-toggle-label span::after {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-toggle-label span::before {
    content: '';
    top: -8px;
  }
  
  .nav-toggle-label span::after {
    content: '';
    bottom: -8px;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span {
    background-color: transparent;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .nav-toggle:checked ~ nav {
    max-height: 500px;
  }
  
  .nav-links {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .nav-links li {
    margin: 0.5rem 0;
  }
  
  .nav-cta {
    margin: 1rem 0 0 0;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .menu-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons a {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .footer-links,
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .copyright {
    margin-bottom: 1rem;
  }
}
