/* Base Styles */
:root {
  --primary: #2E7D32;
  --secondary: #FF5722;
  --dark: #1A1A1A;
  --light: #F9F9F9;
  --gray: #757575;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

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

body {
  font-family: 'Raleway', sans-serif;
  color: #333;
  background-color: #fafafa;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h2 span {
  color: var(--secondary);
}

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

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

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

/* Background */
.hexagon-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5L55 20V40L30 55L5 40V20Z' stroke='%232E7D32' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  color: white;
}

.btn.large {
  padding: 15px 32px;
  font-size: 1rem;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.8rem;
  background: var(--gradient);
  color: white;
  border-radius: 20px;
}

.center {
  text-align: center;
  margin-top: 2rem;
}

/* Header */
header {
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--dark);
}

.logo span {
  color: var(--secondary);
}

.logo-icon {
  width: 40px;
  height: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

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

nav a:hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
}

.nav-btn:hover {
  color: white;
}

.nav-btn::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 80px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h2 {
  font-size: 3rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hexagon {
  position: relative;
  width: 300px;
  height: 300px;
}

.hexagon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotate 10s infinite linear;
}

.inner-hex {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background-color: rgba(255,255,255,0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.pulse-hex {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background-color: rgba(255,255,255,0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: pulse 2s infinite;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  aspect-ratio: 16/9;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.preview-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-overlay h3 {
  margin: 0;
  font-size: 1.1rem;
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 50px 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step h3 {
  margin-top: 10px;
  color: var(--primary);
}

/* Showcase */
.showcase {
  padding: 80px 0;
  background-color: white;
}

.features {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 50px 0;
}

.feature {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
  background: var(--gradient);
  color: white;
}

.cta h2 {
  color: white;
}

.cta h2 span {
  color: #fff;
  text-decoration: underline;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

.cta .btn {
  background: white;
  color: var(--primary);
}

.cta .btn:hover {
  background: rgba(255,255,255,0.9);
  color: var(--secondary);
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo h3 {
  margin-bottom: 5px;
  color: var(--primary);
}

.footer-logo p {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  color: var(--secondary);
  margin-bottom: 15px;
}

.footer-column a {
  color: white;
  opacity: 0.7;
  margin-bottom: 10px;
}

.footer-column a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Animations */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Media Queries */
@media (max-width: 992px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .steps, .features {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  nav ul.active {
    max-height: 300px;
  }
  
  nav ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h2 {
    text-align: center;
    font-size: 2rem;
  }
  
  .hexagon {
    width: 200px;
    height: 200px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 20px;
  }
}
