/* 
* Georgia Walo - Main Stylesheet
* A responsive, SEO-optimized design for premium meat company in Brazil
*/

/* Base Styles and Reset */
:root {
  --primary-color: #8b2703;
  --secondary-color: #d4a36a;
  --accent-color: #3d291c;
  --text-color: #333333;
  --light-color: #f8f5f0;
  --dark-color: #231f1a;
  --border-radius: 4px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

ul, ol {
  list-style-type: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

.section-header h2 {
  display: inline-block;
}

.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Button Styles */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo-container img {
  height: auto;
}

.main-nav .nav-list {
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: var(--dark-color);
  font-weight: 600;
  padding: 10px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/premium-meat.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 200px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

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

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

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

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-card h3 {
  padding: 20px 20px 10px;
}

.product-card p {
  padding: 0 20px 20px;
}

/* Games Section */
.games-section {
  padding: 80px 0;
  background-color: white;
}

.games-content {
  max-width: 800px;
  margin: 0 auto;
}

.games-list {
  margin: 20px 0;
  padding: 20px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

.games-list li {
  margin-bottom: 15px;
}

.games-list a {
  font-weight: 600;
  color: var(--primary-color);
}

.games-list a:hover {
  text-decoration: underline;
}

.news-sources {
  margin-top: 40px;
}

.news-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.news-sources li {
  background-color: var(--light-color);
  padding: 10px 20px;
  border-radius: var(--border-radius);
}

/* News Section */
.news-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

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

.news-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.news-date {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contact-info h3 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-form {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

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

.form-group textarea {
  resize: vertical;
}

/* Footer */
.footer {
  padding: 60px 0 20px;
  background-color: var(--dark-color);
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo p {
  margin-top: 10px;
  color: var(--secondary-color);
}

.footer h3 {
  color: white;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

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

/* Icons (using CSS for simplicity) */
.icon-facebook::before { content: ""; display: inline-block; width: 20px; height: 20px; background: url('../images/facebook.svg') no-repeat center; background-size: contain; }
.icon-instagram::before { content: ""; display: inline-block; width: 20px; height: 20px; background: url('../images/instagram.svg') no-repeat center; background-size: contain; }
.icon-twitter::before { content: ""; display: inline-block; width: 20px; height: 20px; background: url('../images/twitter.svg') no-repeat center; background-size: contain; }
.icon-youtube::before { content: ""; display: inline-block; width: 20px; height: 20px; background: url('../images/youtube.svg') no-repeat center; background-size: contain; }

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 180px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    height: 70px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-list {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }
  
  .nav-list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 150px 0 70px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .products-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-sources ul {
    flex-direction: column;
    gap: 10px;
  }
}
