/* 
 * HotSauce444 - Modern Hot Sauce Website
 * Styles optimized for SEO and responsive design
 */

:root {
  --primary-color: #e63900;
  --secondary-color: #ff8c42;
  --accent-color: #ffd166;
  --dark-color: #252525;
  --light-color: #f5f5f5;
  --text-color: #333333;
  --container-width: 1200px;
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

a:hover {
  color: var(--secondary-color);
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 1rem;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: white;
  margin-top: 85px;
}

.hero-content {
  max-width: 650px;
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  transition: all var(--transition-speed) ease;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-color);
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

/* Products Section */
.products {
  background-color: var(--light-color);
  padding: 5rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image svg {
  height: 100px;
  width: auto;
}

.product-content {
  padding: 1.5rem;
}

.product-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.product-content .price {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-content .rating {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.product-content .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Entertainment Section */
.entertainment {
  padding: 5rem 0;
  background-color: white;
}

.links-container {
  margin-top: 2rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.link-card {
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--light-color);
  transition: all var(--transition-speed) ease;
}

.link-card:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--dark-color);
  color: white;
}

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

.about-text h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

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

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 1rem;
}

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

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: white;
}

.footer-links h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #ccc;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-social a {
  display: inline-block;
  margin-right: 1rem;
  color: #ccc;
  font-size: 1.2rem;
}

.footer-social a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path var(--transition-speed) ease;
  }
  
  nav.active ul {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
  }
  
  nav ul li a {
    display: block;
    padding: 0.8rem 0;
  }
  
  .hero {
    height: 60vh;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .feature-card, 
  .product-card,
  .link-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 1rem 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-header h3 {
    font-size: 2rem;
  }
  
  .features-grid,
  .product-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }
}
