/* ===== Base Styles ===== */
:root {
  --brown: #8b4513;
  --brown-light: #a0522d;
  --brown-dark: #654321;
  --white: #ffffff;
  --pale-orange: #ffe4b5;
  --pale-orange-light: #fff8dc;
  --accent: #d2691e;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--brown);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--pale-orange);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background: var(--pale-orange);
  z-index: 1000;
  border-bottom: 2px solid var(--brown);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 50px;
  transition: var(--transition);
}

.navbar.scrolled .logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: var(--brown);
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .nav-links a {
  color: var(--white);
}

.navbar.scrolled .social a {
  color: var(--white);
}

.navbar.scrolled .menu-toggle {
  color: var(--white);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--brown);
  transition: var(--transition);
}

.nav-links a.active {
  color: var(--brown-dark);
}

.nav-links a.active::after {
  width: 100%;
  background-color: #000000;
}

.nav-links a:hover::after {
  width: 100%;
}

.social {
  display: flex;
  gap: 15px;
}

.social a {
  color: var(--brown);
  transition: var(--transition);
  font-size: 1.1rem;
}

.social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--brown);
  cursor: pointer;
  background: none;
  border: none;
}

/* ===== Header Section ===== */
.header {
  background: linear-gradient(rgba(139, 69, 19, 0.7), rgba(139, 69, 19, 0.7)),
    url("/images/unnamed.webp");
  background-size: cover;
  background-position: center;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  background-attachment: fixed;
  overflow: hidden;
  margin-top: 70px;
}

.containerr {
  max-width: 1200px;
  padding: 0 20px;
}

.header h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 20px;
  text-shadow: 0 0 10px var(--accent), 0 0 20px rgba(210, 105, 30, 0.5);
  position: relative;
  margin-right: 70px;
  z-index: 1;
  animation: textGlow 3s ease-in-out infinite alternate;
}

.header p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  max-width: 700px;
  margin-right: 70px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 5px var(--white);
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px var(--accent), 0 0 20px rgba(210, 105, 30, 0.5);
  }
  to {
    text-shadow: 0 0 15px var(--accent), 0 0 30px rgba(210, 105, 30, 0.8),
      0 0 45px rgba(210, 105, 30, 0.3);
  }
}

.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(210, 105, 30, 0.3) 0%,
    rgba(26, 28, 29, 0.2) 50%,
    rgba(255, 228, 181, 0.3) 100%
  );
  animation: gradientFlow 15s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== About Section ===== */
.about-section {
  padding: 80px 0;
  text-align: center;
  background: var(--pale-orange);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(210, 105, 30, 0.2);
  border-bottom: 1px solid rgba(210, 105, 30, 0.2);
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background: linear-gradient(100deg, transparent, var(--brown), transparent);
  bottom: -10px;
  left: 25%;
  animation: linePulse 2s infinite;
}

@keyframes linePulse {
  0% {
    opacity: 0.9;
    width: 50%;
  }
  50% {
    opacity: 1;
    width: 70%;
  }
  100% {
    opacity: 0.8;
    width: 50%;
  }
}

.about-content {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--brown);
  line-height: 1.8;
  padding: 0 20px;
}

.about-content strong {
  color: var(--brown-dark);
  text-shadow: 0 0 5px var(--white);
}

/* ===== CEO Section ===== */
.ceo-section {
  padding: 80px 0;
  background: var(--brown);
  position: relative;
  overflow: hidden;
}

.ceo-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(210, 105, 30, 0.1) 0%,
    transparent 70%
  );
  animation: nebulaSpin 60s linear infinite;
}

@keyframes nebulaSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ceo-container {
  position: relative;
  z-index: 1;
  background: var(--pale-orange);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.ceo-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: 0 0 30px var(--accent), 0 0 60px rgba(210, 105, 30, 0.3);
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: grayscale(20%) contrast(110%);
}

.ceo-image:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 0 40px var(--accent), 0 0 80px rgba(210, 105, 30, 0.5);
  filter: grayscale(0%) contrast(120%);
}

.ceo-name {
  font-family: "Poppins", sans-serif;
  color: var(--brown);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(248, 248, 245, 0.904);
}

.ceo-quote {
  font-style: italic;
  color: var(--brown);
  max-width: 600px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.8;
  position: relative;
}

.ceo-quote::before,
.ceo-quote::after {
  content: '"';
  color: var(--accent);
  font-size: 1.5rem;
  position: absolute;
}

.ceo-quote::before {
  top: -15px;
  left: -20px;
}

.ceo-quote::after {
  bottom: -25px;
  right: -20px;
}

/* ===== Features Section ===== */
.features-section {
  padding: 80px 0;
  background: var(--pale-orange);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.3;
  z-index: -1;
}

.section-title2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--brown);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding: 0 20px;
}

.feature-item {
  background: var(--brown);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow), inset 0 0 10px rgba(210, 105, 30, 0.2);
  border: 1px solid rgba(210, 105, 30, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 15px rgba(252, 251, 251, 0.979);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(210, 105, 30, 0.5);
}

.feature-title {
  font-family: "Poppins", sans-serif;
  margin-bottom: 15px;
  color: var(--white);
  font-size: 1.5rem;
  position: relative;
}

.feature-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.feature-item p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown);
  padding: 60px 20px 20px;
  position: relative;
  z-index: 0;
  color: var(--brown);
}

.footer-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.footer-glass-inner {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 15px;
  color: var(--white);
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--white);
  background-color: var(--brown);
}

.footer-column p,
.footer-column a {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer-column a span {
  color: var(--white);
  font-size: 20px;
}

.footer-column a span:hover {
  color: var(--pale-orange);
  text-decoration: underline;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: var(--white);
}

.social-links a {
  margin-right: 14px;
  font-size: 1.2rem;
  color: var(--white);
  display: inline-block;
  transition: transform 0.4s ease, color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-6px);
}

/* ===== Floating Buttons ===== */
.whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  animation: quantumPulse 2s infinite;
  transition: var(--transition);
}

@keyframes quantumPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-chat:hover {
  transform: scale(1.1);
  animation: none;
}

.whatsapp-chat img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

#scrollTopBtn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: var(--brown);
  color: var(--white);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 998;
  display: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

#scrollTopBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(139, 69, 19, 0.95);
  overflow: auto;
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 5px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 0 50px rgba(210, 105, 30, 0.5);
  animation: modalAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--accent);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.close:hover {
  color: var(--white);
  transform: rotate(90deg) scale(1.1);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
  .container,
  .containerr {
    max-width: 100%;
    padding: 0 20px;
  }
  .header {
    position: relative;
    height: 60vh;
    min-height: 300px;
  }

  .header h1 {
    position: absolute;
    top: 20px;
    font-size: clamp(2rem, 10vw, 3rem);
    margin-right: 100px;
  }

  .header p {
    position: absolute;
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    max-width: 90%;
    margin-right: 100px;
    top: 220px;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 15px;
  }

  .nav-links {
    gap: 15px;
  }

  .ceo-container {
    padding: 30px;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-column {
    flex: 1 1 200px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--brown);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 998;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    opacity: 0;
    transform: translateY(15px);
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a.active {
    color: var(--pale-orange);
  }

  /* Staggered animations */
  .nav-links.active a:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active a:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.active a:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links.active a:nth-child(4) {
    transition-delay: 0.4s;
  }
  .nav-links.active a:nth-child(5) {
    transition-delay: 0.5s;
  }
  .nav-links.active a:nth-child(6) {
    transition-delay: 0.6s;
  }

  .social {
    display: flex;
  }

  /* Features grid */
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 30px auto;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    flex: 1 1 100%;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .header {
    position: relative;
    height: 60vh;
    min-height: 300px;
  }

  .header h1 {
    position: absolute;
    top: 20px;
    font-size: clamp(2rem, 10vw, 3rem);
    left: 130px;
  }

  .header p {
    position: absolute;
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    max-width: 90%;
    left: 130px;
    top: 250px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 35px;
  }

  .ceo-container {
    padding: 20px;
  }

  .ceo-image {
    width: 150px;
    height: 150px;
  }

  .whatsapp-chat {
    width: 45px;
    height: 45px;
  }

  .whatsapp-chat img {
    width: 24px;
    height: 24px;
  }

  #scrollTopBtn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    bottom: 70px;
  }

  .close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }

  .footer-glass {
    padding: 20px;
  }

  .about-section,
  .ceo-section,
  .features-section {
    padding: 60px 0;
  }
}
