/* Money/Finance Theme - Green/Gold Color Scheme */

:root {
  --primary-green: #2d5a3e;
  --secondary-green: #4a7c59;
  --accent-gold: #c9a66b;
  --dark-bg: #1a2f20;
  --light-bg: #f8f9fa;
  --text-dark: #1a2f20;
  --text-light: #ffffff;
  --gradient-start: linear-gradient(135deg, #2d5a3e 0%, #4a7c59 50%, #6b8f6a 100%);
  --money-pattern: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(201, 166, 107, 0.03) 10px,
    rgba(201, 166, 107, 0.03) 20px
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(45, 90, 62, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--accent-gold);
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, padding 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-gold);
  padding-bottom: 5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-start);
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Offset for fixed navbar */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--money-pattern);
  opacity: 0.5;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Product Video Container */
.video-container {
  max-width: 900px;
  margin: 0 auto 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.1);
  border: 3px solid var(--accent-gold);
}

.video-placeholder {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45,90,62,0.8), rgba(74,124,89,0.8));
  color: var(--text-light);
  font-size: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--accent-gold);
  color: var(--dark-bg);
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(201, 166, 107, 0.4);
}

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section h2 {
  font-size: 2.8rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gold);
}

.section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #3d4f5c;
}

/* About Section */
.about-content {
  display: grid;
  gap: 3rem;
}

.about-text {
  text-align: center;
  font-size: 1.3rem;
  line-height: 2;
  color: #4a6a5f;
}

/* Contact Form */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-green);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e8edea;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-green);
  box-shadow: 0 0 0 3px rgba(74,124,89,0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.submit-btn:hover {
  background: var(--secondary-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45,90,62,0.3);
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
  margin-top: auto;
}

footer p {
  opacity: 0.8;
}

/* Page-specific backgrounds */
body#home-page .section {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2f0 100%);
}

body#product-page .section {
  background: var(--gradient-start);
}

body#about-page .section {
  background: linear-gradient(135deg, #f0f4ee 0%, #e8edea 100%);
}

body#contact-page .section {
  background: linear-gradient(135deg, #f0f6f2 0%, #eef2f0 100%);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive Design for iPhone & Android */

@media (max-width: 768px) {
  /* Navigation - Make it hamburger on mobile */
  .navbar-container {
    flex-wrap: wrap;
  }
  
  /* Hide nav links by default on mobile */
  .nav-links {
    gap: 1rem;
    order: 999; /* Move nav to bottom on mobile */
    width: 100%;
    display: none; /* Hidden until hamburger opens menu */
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding-bottom: 0;
  }
  
  /* Hero - Scale down on mobile */
  .hero {
    padding-top: 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  /* Hamburger button styling for mobile */
  .hamburger-btn {
    display: block !important;
  }

  /* Hide hamburger on desktop - wrap in media query */
  }

  @media (min-width: 769px) {
    .hamburger-btn {
      display: none !important;
    }
  }

  .hero p {
    font-size: 1.1rem;
  }
  
  /* Buttons - Make them touch-friendly (minimum 44px height for iOS/Android) */
  .cta-button, .submit-btn {
    min-height: 50px !important;
    padding: 1.25rem 3rem !important;
    font-size: 1.1rem !important;
  }
  
  /* Sections - Adjust content for mobile */
  .section {
    padding: 3rem 1.5rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .about-text, .feature-item, .benefit-item, .vision-item,
  .culture-item, .growth-item, .value-item {
    font-size: 1.05rem;
  }
  
  /* Video placeholders - Make them responsive */
  .video-placeholder {
    height: 280px !important;
    min-height: 280px !important;
  }
  
  /* Forms - Better mobile spacing */
  .contact-container {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea,
  select {
    font-size: 16px !important; /* Prevent iOS zoom on focus */
    min-height: 48px !important;
  }
  
  .form-group textarea {
    min-height: 120px;
  }
  
  /* Grid layouts - Stack vertically on mobile */
  .feature-item, .benefit-item, .vision-item,
  .culture-item, .growth-item, .value-item, .origin-story,
  .faq-item {
    margin-bottom: 1.5rem;
  }
  
  /* Hero content - Full width on mobile */
  .hero-content {
    max-width: 100%;
    padding: 2rem 1.5rem;
  }
} 

@media (max-width: 480px) {
  /* Extra small screens (older phones, landscape mode) */
  .hero h1 {
    font-size: 1.7rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section h2 {
    font-size: 1.5rem;
  }
  
  .cta-button, .submit-btn {
    min-height: 48px !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    width: 100% !important; /* Full width buttons on very small screens */
  }
  
  .video-placeholder {
    height: 240px !important;
    min-height: 240px !important;
  }
}

/* Touch-friendly adjustments for iOS/Android */
@media (hover: hover) and (pointer: fine) {
  /* Only show hover effects on devices that support it */
  .cta-button:hover,
  .submit-btn:hover {
    transform: translateY(-3px);
  }
}

/* Active touch state for mobile */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices - show active state instead of hover */
  .cta-button,
  .submit-btn {
    transition: background 0.2s ease;
  }
}

/* Page transitions */
.page-transition {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Money pattern overlay for hero */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a66b' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}