/* css/style.css */

/* Color Variables */
:root {
  --primary-red: #8B0000;
  --secondary-gold: #D4AF37;
  --accent-cream: #F5F5DC;
  --dark-brown: #3E2723;
  --text-dark: #2C1810;
  --white: #FFFFFF;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

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

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav a:hover {
  color: var(--secondary-gold);
  background: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-brown));
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 80px; /* Account for fixed header */
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.btn {
  background: var(--secondary-gold);
  color: var(--dark-brown);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Products Section */
.products {
  background: var(--accent-cream);
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-red);
}

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

.product-card {
  background: var(--white);
  border: 2px solid var(--secondary-gold);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

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

.product-card h3 {
  color: var(--primary-red);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 100px 0 60px;
    margin-top: 120px; /* More space for stacked header */
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}