/* Styles.css - Lumretechzy */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Merriweather:wght@300;400;700&family=Open+Sans:wght@300;400;600&family=Lato:wght@300;400;700&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  /* Spring */
  --spring-primary: #8BC34A;
  --spring-secondary: #F9FBE7;
  --spring-accent: #CDDC39;
  
  /* Summer */
  --summer-primary: #03A9F4;
  --summer-secondary: #E1F5FE;
  --summer-accent: #00BCD4;
  
  /* Autumn */
  --autumn-primary: #FF5722;
  --autumn-secondary: #FBE9E7;
  --autumn-accent: #FF9800;
  
  /* Winter */
  --winter-primary: #3F51B5;
  --winter-secondary: #E8EAF6;
  --winter-accent: #9FA8DA;
  
  /* Neutral */
  --dark-text: #333333;
  --light-text: #FFFFFF;
  --mid-gray: #757575;
  --light-gray: #F5F5F5;
  
  /* Fonts */
  --heading-font: 'Playfair Display', 'Merriweather', serif;
  --body-font: 'Open Sans', 'Lato', sans-serif;
  
  /* Spacing */
  --section-spacing: 100px;
  --element-spacing: 30px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-spacing) 0;
}

.button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.button-primary {
  background-color: var(--spring-primary);
  color: var(--light-text);
}

.button-primary:hover {
  background-color: var(--spring-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.button-secondary {
  background-color: transparent;
  border: 2px solid var(--spring-primary);
  color: var(--spring-primary);
}

.button-secondary:hover {
  background-color: var(--spring-primary);
  color: var(--light-text);
  transform: translateY(-3px);
}

/* Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-menu {
  align-items: center;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 600;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--spring-primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.cta-button {
  margin-left: 30px;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 24px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('images/bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--light-text);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.8) 0%, rgba(63, 81, 181, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Seasons Section */
.seasons {
  background-color: var(--light-gray);
  overflow: hidden;
  position: relative;
}

.seasons::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: var(--spring-secondary);
  border-radius: 50%;
  top: -150px;
  left: -150px;
  z-index: 0;
}

.seasons-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.seasons-wrapper {
  display: grid;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .seasons-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.season-card {
  padding: 30px;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.season-card:hover {
  transform: translateY(-10px);
}

.season-card-vår {
  background-color: var(--spring-secondary);
  border: 2px solid var(--spring-primary);
}

.season-card-sommer {
  background-color: var(--summer-secondary);
  border: 2px solid var(--summer-primary);
}

.season-card-høst {
  background-color: var(--autumn-secondary);
  border: 2px solid var(--autumn-primary);
}

.season-card-vinter {
  background-color: var(--winter-secondary);
  border: 2px solid var(--winter-primary);
}

.season-icon {
  margin-bottom: 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.season-icon svg {
  width: 60px;
  height: 60px;
}

.season-card h3 {
  margin-bottom: 15px;
}

.season-vår h3 {
  color: var(--spring-primary);
}

.season-sommer h3 {
  color: var(--summer-primary);
}

.season-høst h3 {
  color: var(--autumn-primary);
}

.season-vinter h3 {
  color: var(--winter-primary);
}

.season-image {
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  height: 180px;
}

.season-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.season-card:hover .season-image img {
  transform: scale(1.1);
}

/* Ingredients Section */
.ingredients {
  background-color: var(--light-text);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ingredients::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: var(--summer-secondary);
  border-radius: 50%;
  bottom: -200px;
  right: -200px;
  z-index: 0;
}

.ingredients-title {
  text-align: center;
  margin-bottom: 60px;
}

.ingredients-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.ingredient-card {
  width: 22%;
  margin-bottom: 40px;
  background-color: var(--light-text);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.ingredient-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ingredient-image {
  height: 200px;
  overflow: hidden;
}

.ingredient-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ingredient-card:hover .ingredient-image img {
  transform: scale(1.1);
}

.ingredient-info {
  padding: 20px;
}

.ingredient-info h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.ingredient-season {
  display: inline-block;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.season-vår-tag {
  background-color: var(--spring-secondary);
  color: var(--spring-primary);
}

.season-sommer-tag {
  background-color: var(--summer-secondary);
  color: var(--summer-primary);
}

.season-høst-tag {
  background-color: var(--autumn-secondary);
  color: var(--autumn-primary);
}

.season-vinter-tag {
  background-color: var(--winter-secondary);
  color: var(--winter-primary);
}

.ingredient-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ingredient-card:hover .ingredient-hover {
  opacity: 1;
}

/* Recipes Section */
.recipes {
  background-color: var(--autumn-secondary);
  position: relative;
  overflow: hidden;
}

.recipes::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--autumn-accent);
  opacity: 0.3;
  top: 50px;
  left: 10%;
  z-index: 0;
}

.recipes::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--autumn-primary);
  opacity: 0.2;
  bottom: -150px;
  right: 5%;
  z-index: 0;
}

.recipes-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.recipes-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.recipe-card {
  width: 48%;
  margin-bottom: 40px;
  background-color: var(--light-text);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  transition: all 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.recipe-image {
  width: 35%;
  overflow: hidden;
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-image img {
  transform: scale(1.1);
}

.recipe-content {
  width: 65%;
  padding: 25px;
}

.recipe-card h3 {
  margin-bottom: 10px;
  color: var(--autumn-primary);
}

.recipe-season {
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.recipe-ingredients {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.recipe-cta {
  text-align: center;
  margin-top: 20px;
}

/* Benefits Section */
.benefits {
  background-color: var(--winter-secondary);
  position: relative;
  overflow: hidden;
}

.benefits::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(var(--winter-primary), transparent);
  opacity: 0.1;
  top: -250px;
  right: -250px;
}

.benefits-title {
  text-align: center;
  margin-bottom: 60px;
}

.benefits-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.benefit-card {
  width: 47%;
  margin-bottom: 50px;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background-color: var(--winter-primary);
  border-radius: 50%;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
}

.benefit-content h3 {
  margin-bottom: 10px;
  color: var(--winter-primary);
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--spring-primary) 0%, var(--summer-primary) 100%);
  color: var(--light-text);
  text-align: center;
  padding: 80px 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  margin-bottom: 30px;
}

.newsletter p {
  margin-bottom: 40px;
}

.newsletter-form {
  display: grid;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .newsletter-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form button {
    margin: 0 auto;
    grid-column: span 2;
  }
}

.newsletter-form input {
  width: 100%;
  max-width: 400px;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.newsletter-form button {
  width: 100%;
  max-width: 200px;
  padding: 15px 20px;
  background-color: var(--autumn-primary);
  color: var(--light-text);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--autumn-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
  position: relative;
  overflow: hidden;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-form-container {
  width: 48%;
}

.contact-form {
  background-color: var(--light-text);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  margin-bottom: 30px;
  color: var(--dark-text);
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: var(--spring-primary);
  outline: none;
}

.contact-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-submit {
  background-color: var(--spring-primary);
  color: var(--light-text);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-submit:hover {
  background-color: var(--spring-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map-container {
  width: 48%;
}

.contact-map {
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.contact-info {
  margin-top: 30px;
}

.contact-info h3 {
  margin-bottom: 15px;
}

.contact-info p {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background-color: var(--dark-text);
  color: var(--light-text);
  padding: 60px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  width: 30%;
}

.footer-logo img {
  filter: brightness(30);
  height: 40px;
  margin-bottom: 20px;
}

.footer-links {
  width: 30%;
}

.footer-links h3 {
  margin-bottom: 20px;
  color: var(--spring-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-text);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--spring-primary);
}

.footer-copy {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--mid-gray);
  font-size: 0.9rem;
  color: var(--mid-gray);
}

/* Policy Pages */
.policy-page {
  padding: 120px 0 60px;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h1 {
  margin-bottom: 40px;
}

.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 20px;
}

.policy-content ul {
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

/* Success Page */
.success-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.success-content {
  max-width: 600px;
}

.success-icon {
  font-size: 5rem;
  color: var(--spring-primary);
  margin-bottom: 30px;
}

.success-content h1 {
  margin-bottom: 20px;
}

.success-content p {
  margin-bottom: 30px;
}

/* Media Queries */
@media (max-width: 1200px) {
  .season-card {
    width: 48%;
  }
  
  .ingredient-card {
    width: 31%;
  }
}

@media (max-width: 992px) {
  :root {
    --section-spacing: 80px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--light-text);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: left 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 0 0 30px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .recipe-card {
    width: 100%;
  }
  
  .benefit-card {
    width: 100%;
  }
  
  .contact-form-container,
  .contact-map-container {
    width: 100%;
  }
  
  .contact-map-container {
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 60px;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .season-card {
    width: 100%;
  }
  
  .ingredient-card {
    width: 48%;
  }
  
  .recipe-image {
    width: 100%;
    height: 200px;
  }
  
  .recipe-content {
    width: 100%;
  }
  
  .recipe-card {
    flex-direction: column;
  }
  
  .footer-logo,
  .footer-links {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .ingredient-card {
    width: 100%;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    max-width: 100%;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}