/* GingerOvens.com Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Nunito:wght@400;600;700&display=swap');

:root {
  --primary: #FF6B35;      /* Warm orange */
  --secondary: #C25E00;    /* Dark ginger */
  --accent: #7B9E89;       /* Sage green */
  --light: #FFFBF0;        /* Cream */
  --dark: #432818;         /* Brown */
  --gray: #6C6157;         /* Warm gray */
}

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

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

h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', serif;
  margin-bottom: 1rem;
  color: var(--secondary);
}

p {
  margin-bottom: 1rem;
}

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

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

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
}

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

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

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

/* Header and Navigation */
header {
  background-color: rgba(255, 251, 240, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(67, 40, 24, 0.1);
}

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

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

.logo img {
  height: 40px;
  width: 40px;
}

.logo-text {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(194, 94, 0, 0.1) 100%);
  padding: 10rem 0 5rem;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

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

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

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

/* Features Section */
.features {
  background-color: white;
}

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

.card {
  background: var(--light);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(67, 40, 24, 0.1);
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

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

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

.news-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(67, 40, 24, 0.1);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  margin-bottom: 1rem;
}

.news-links ul {
  list-style: none;
  margin-top: 1.5rem;
}

.news-links li {
  margin-bottom: 0.8rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
}

/* Subscribe Section */
.subscribe-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.form-control {
  flex: 1;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
}

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

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

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

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

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

.footer-links a {
  color: var(--light);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 251, 240, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: var(--light);
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
}
