/*
Theme Name: Draw Co Theme
Theme URI: https: //drawscoarchitecture.com/
Author: Yoodhee Souhonnet
Version: 1.0
Description: Custom theme built with ACF and smooth animations.
*/

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
}

#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1264px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .container {
    max-width: 991px;
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  .container {
    max-width: 640px;
  }
}


/* Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slideDown {
  animation: fadeSlideDown 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-6 {
  animation-delay: 0.6s;
}

.delay-8 {
  animation-delay: 0.8s;
}

/* ✅ Style navbar for internal pages */
body.page:not(.home) .navbar {
  background-color: white;
  /* padding: 2rem 0; */
}

body.page:not(.home) .navbar__logo a {
  color: #4cc77e;
}

body.page:not(.home) .navbar__menu {
  background-color: #4cc77e;
  padding: 1rem 2rem;
}

body.page:not(.home) .navbar__toggle .bar {
  background-color: #4cc77e;
}

body.page:not(.home) .navbar__links {
  color: white;
}

body.page:not(.home) .navbar__links li a {
  color: white;
}

body.page:not(.home) .btn-cta {
  background-color: #fff;
  color: #4cc77e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #4cc77e;
}

body.page:not(.home) .navbar__links a::after {
  background-color: white;
} 

body.page:not(.home) .navbar {
  position: relative;
}