:root {
  --yellow: #EDB814;
  --green: #9DB521;
  --dark: #222222;
  --light-bg: #FAFAFA;
  --card-bg: #FFFCF5;
  --white: #FFFFFF;
  --footer-bg: #1E1E1E;
  --footer-text: #CCCCCC;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid var(--yellow);
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--yellow);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-left, .nav-right {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.nav a:hover {
  color: var(--green);
}

.nav-right i{
  font-size: 30px;
}

.icon-x-logo{
  font-size: 23px !important;
  line-height: 2;
}

.container, .content {
  max-width: 1200px;
  margin: 0 auto; 
  padding: 1rem 2rem; 
  min-height: 100%;
}

.content{
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.content p{
  padding: 5px;
}

.content a{
  text-decoration: none;
  color: var(--green);
}

.content a:hover{
  text-decoration: underline;
}

.content h1{
  text-decoration: underline;
  text-align: center
  padding-bottom:3px
  width:100%;
}

.hero {
  background: #fff;
}

.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 640px;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  display: block;
  position: relative;
}


.slide img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 1rem;
  border-radius: 8px;
}

.slide-caption a{
  color: white;
}

.slide-caption a:hover{
  color: var(--green);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 2rem;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 8px;
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.product-grid {
  padding: 2rem;
}

.product-grid h2 {
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
}

.product-card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  width:300px;
}

.product-card a{
  text-decoration: none;
  color: var(--green);
}

.product-card a:hover{
  text-decoration: underline;
}

.product-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
   object-fit: cover;
}



footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

footer a {
  color: var(--yellow);
  text-decoration: none;
}

footer a:hover {
  color: var(--green);
}

@media (max-width: 769px) {
  .container, .content {
    max-width: 100%;
    margin: 0;
    padding: 1rem 1rem;
  }

  .logo {
    display: block;
    margin: 1rem auto;
    text-align: center;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
  }

  .slider {
    height: auto;
  }

  .slide img {
    height: auto;
    max-height: none;
  }

  .slide-caption {
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 0.9rem;
  }

  .nav-arrow {
    padding: 0.4rem 0.8rem;
    font-size: 1.5rem;
  }

  .product-grid {
    padding: 1rem;
  }

}
