/* Variables */
:root {
  --primary: #1ba819;
  --accent: #2a9d8f;
  --dark: #1d1d1d;
  --light: #f9f9f9;
  --font-sans: 'Poppins', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  width: 100%;
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0; /* remove any space between inline elements */
}

.logo img {
  height: 55px; /* adjust as needed */
  display: inline-block;
  vertical-align: middle;
}

.logo span {
  font-family: 'Arial Black', Arial, sans-serif;
  font-style: italic;
  font-size: 28px;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-left: -2px; /* very tight space */
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links li a {
  font-weight: 500;
  color: #fff;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #0b5607;
}
.hero-section {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;

  /* 🔧 Required for correct image behavior */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  /* 🔧 Default background image (initial load) */
  background-image: url('02.jpg');
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-btn {
  padding: 0.75rem 2rem;
  background: #fff;
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* About */
.about-section {
  padding: 4rem 1rem;
  background: #fff;
}
.about-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--dark);
}

/* Rotating About Image */
.about-image {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  animation: imageFade 4s infinite;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.about-image img:nth-child(1) {
  animation-delay: 0s;
}
.about-image img:nth-child(2) {
  animation-delay: 2s;
}
@keyframes imageFade {
  0%, 45% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

/* Products Section */
.products-section {
  padding: 4rem 1rem;
  background: var(--light);
}
.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  margin-bottom: 2rem;
  color: var(--primary);
}
.products-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #2a2a2a;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product-card {
  width: 250px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  padding: 15px;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #333;
}

.product-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.contact-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 128, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: rgba(0, 128, 0, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.contact-section h2 {
  text-align: center;
  color: #075e0a;
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 15px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #079407;
  box-shadow: 0 0 0 3px rgba(7, 148, 7, 0.15);
  outline: none;
}

textarea:invalid, input:invalid {
  border: 2px solid red;
}

.phone-group {
  display: flex;
  gap: 10px;
}

.phone-group select {
  width: 35%;
}

.phone-group input {
  width: 65%;
}

button {
  background-color: #079407;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #056c05;
  transform: translateY(-2px);
}

/* Footer Modern Styles */
.krone-mini-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #1d5c2e;;
  color: #fff;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0px; /* just a small gap between logo and text */
}

.footer-logo {
  height: 55px;
  margin: 0; /* Remove extra margin */
  padding: 0;
}

.footer-brand {
  font-family: 'Arial Black', Arial, sans-serif;
  font-style: italic;
  font-size: 28px;
  color: #ffffff;
  margin: 0;
  padding: 0;
}


.footer-right p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  gap: 5px;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 20px;
  height: 20px;
}



/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar shrink */
.navbar.shrink {
  padding: 0.5rem 2rem;
  transition: all 0.3s;
  background-color: #0d6c12; /* Slight darker shade */
}

/* Custom Popup */
.custom-popup {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #107d14;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 30px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  font-weight: 600;
  transition: all 0.5s ease;
  z-index: 999;
}
.custom-popup.show {
  bottom: 50px;
}
/* 📱 Mobile Devices (max-width: 480px) */
@media only screen and (max-width: 480px) {
  .navbar-container {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-section {
    height: auto;
    padding: 3rem 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .product-card {
    width: 100%;
  }

  .contact-section {
    margin: 40px 20px;
    padding: 20px;
  }

  .phone-group {
    flex-direction: column;
  }

  .phone-group select,
  .phone-group input {
    width: 100%;
  }

  .krone-mini-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* 📲 Small Tablets (481px - 767px) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
  .navbar-container {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-section h1 {
    font-size: 2.4rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .product-card {
    width: 90%;
  }

  .contact-section {
    margin: 40px 30px;
    padding: 25px;
  }

  .krone-mini-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* 💻 Tablets and iPads (768px - 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .navbar-container {
    padding: 1rem 1.5rem;
  }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-section p {
    font-size: 1.2rem;
  }

  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    width: 220px;
  }

  .contact-section {
    margin: 50px auto;
    padding: 35px 30px;
  }
}
body {
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    background: linear-gradient(315deg, rgb(3, 101, 0) 3%, rgb(69, 180, 65) 38%, rgb(96, 120, 214) 68%, rgb(189, 117, 237) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}
