@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
  /* Core Colors */
  --color-green: #1B4332;
  --color-green-light: #2d6a4f;
  --color-green-dark: #081c15;
  --color-brown: #6B3A2A;
  --color-cream: #F5F0E8;
  --color-gold: #D4AF37;
  --color-gold-hover: #b5952f;
  
  /* Neutral Colors */
  --color-text-dark: #1f2937;
  --color-text-light: #f3f4f6;
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-gold: 0 4px 14px 0 rgba(212, 175, 55, 0.39);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-green-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.highlight {
  color: var(--color-gold);
}

/* Texture Overlay */
.texture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-green-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-green-dark);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(27, 67, 50, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-md);
}

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

.nav-logo img {
  height: 60px;
  transition: height var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
  height: 50px;
}

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

.nav-links a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Section 1: Hero */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero-installation.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(8, 28, 21, 0.9), rgba(27, 67, 50, 0.6));
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
  padding-top: 80px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
  animation: slideUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--color-text-light);
  animation: slideUp 1s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: slideUp 1s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--color-white);
  font-size: 2rem;
  opacity: 0.7;
}

/* Section 2: The Problem */
.problem-section {
  background-color: var(--color-green-dark);
  color: var(--color-white);
  position: relative;
}

.problem-section h2 {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 50px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-normal);
}

.problem-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.problem-icon {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.problem-card h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.problem-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.before-after-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-gold);
}

/* Section 3: The Solution */
.solution-section {
  background-color: var(--color-cream);
  position: relative;
}

.solution-section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.solution-subtitle {
  font-size: 1.2rem;
  color: var(--color-brown);
  margin-bottom: 50px;
  font-weight: 500;
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-text ul {
  list-style: none;
  margin-top: 30px;
}

.solution-text li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.solution-text li i {
  color: var(--color-green);
  font-size: 1.5rem;
  margin-top: 3px;
}

.solution-text li strong {
  color: var(--color-green-dark);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.chemistry-box {
  background: var(--color-white);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}

.chemistry-box p {
  margin-bottom: 10px;
  font-weight: 500;
}

.chemistry-box p:last-child {
  margin-bottom: 0;
}

.solution-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.solution-images img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  height: 100%;
}

.solution-images img:first-child {
  grid-column: 1 / -1;
  height: 300px;
}

/* Section 4: Process */
.process-section {
  background-color: var(--color-white);
  position: relative;
}

.process-section h2 {
  font-size: 3rem;
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--color-green-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::after {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  width: 40px;
  height: 40px;
  right: -20px;
  background-color: var(--color-gold);
  border: 4px solid var(--color-white);
  top: 15px;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--color-green-dark);
  font-family: var(--font-heading);
}

.timeline-item.right::after {
  left: -20px;
}

.timeline {
  counter-reset: step-counter;
}

.timeline-content {
  padding: 20px;
  background-color: var(--color-cream);
  position: relative;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.timeline-content img {
  border-radius: 8px;
  margin-top: 15px;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

/* Section 5: Clients */
.clients-section {
  background-image: linear-gradient(rgba(27, 67, 50, 0.85), rgba(27, 67, 50, 0.95)), url('images/commercial-team.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
  text-align: center;
}

.clients-section h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.clients-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.client-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 40px;
  border-radius: 12px;
  min-width: 250px;
}

.client-card h3 {
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
}

.trust-quote {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-cream);
}

/* Section 6: Contact */
.contact-section {
  background-image: linear-gradient(rgba(245, 240, 232, 0.9), rgba(245, 240, 232, 0.95)), url('images/happy-family.jpg');
  background-size: cover;
  background-position: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us {
  padding: 50px;
  background-color: var(--color-green-dark);
  color: var(--color-white);
}

.why-us h2 {
  color: var(--color-gold);
  margin-bottom: 30px;
}

.why-us ul {
  list-style: none;
}

.why-us li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.why-us li i {
  color: var(--color-gold);
}

.contact-info {
  padding: 50px;
}

.contact-info h2 {
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--color-green);
  margin-top: 5px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item span {
  font-weight: 600;
  color: var(--color-green-dark);
}

.contact-item a {
  color: var(--color-text-dark);
}

.contact-item a:hover {
  color: var(--color-green);
}

.contact-note {
  font-style: italic;
  color: var(--color-brown);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Footer */
.footer {
  background-color: var(--color-green-dark);
  color: var(--color-text-light);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 80px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--color-text-light);
  max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.developer-link {
  color: var(--color-gold);
  font-style: italic;
}

.developer-link:hover {
  text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  color: #fff;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 992px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solution-content {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: var(--color-green-dark);
    flex-direction: column;
    padding: 100px 40px;
    transition: right var(--transition-normal);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-item::after {
    left: 11px !important;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand img {
    margin: 0 auto 20px;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}
