/**
 * Company Profile – Custom CSS
 * Final Version (Laravel Ready)
 */

/* ==================================================
   ROOT VARIABLES
================================================== */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Raleway", sans-serif;

  --bg-main: #FFBD7A;
  --dark-pill: rgba(50, 22, 0, 0.6);
  --overlay-soft: rgba(255, 187, 135, 0.2);

  --text-dark: #472704;
  --text-light: #ffffff;
}

/* ==================================================
   GLOBAL
================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--default-font);
  background: var(--bg-main);
  color: var(--text-dark);
  font-size: 20px;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

/* ==================================================
   ANIMATIONS
================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   HEADER + NAV PILL
================================================== */
.header-wrapper {
  position: absolute;
  top: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  animation: fadeDown 1s ease forwards;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 15px 40px;
  border-radius: 60px;
  background: var(--dark-pill);
}

.nav-pill a {
  color: #fff;
  font-size: 14px;
  font-weight: 200;
  padding: 8px 12px;
}

.nav-pill a:hover {
  opacity: 0.8;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

/* Mobile */
@media (max-width: 991px) {
  .header-wrapper {
    top: 30px;
  }

  .nav-pill {
    gap: 20px;
    padding: 12px 25px;
  }
  .hero-box {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 25px;
    text-align: center;
    width: 90%;
  }
}

.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ==================================================
   HERO (HOME & PAGE)
================================================== */
.hero-home,
.hero-page {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  animation: fadeIn 1.2s ease forwards;
}

.hero-menu {
  height: 75vh;
  background-size: cover;
  background-position: center;
  position: relative;
  animation: fadeIn 1.2s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-soft);
}

/* ==================================================
   HERO BOX (HOME)
================================================== */
.hero-box {
  position: absolute;
  bottom: 400px;
  left: 50%;  
  transform: translateX(-50%);
  background: var(--dark-pill);
  padding: 40px 70px;
  border-radius: 16px;
  color: #fff;
  text-align: left;
}

.hero-box h4,
.hero-box h1,
.hero-box h6 {
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.hero-box h4 {
  font-size: 18px;
  font-weight: 300;
  animation-delay: 0.6s;
}

.hero-box h1 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--heading-font);
  animation-delay: 0.9s;
}

.hero-box h6 {
  font-size: 16px;
  font-weight: 300;
  animation-delay: 1.2s;
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero-box {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 25px;
    text-align: center;
    width: 90%;
  }

  .hero-box h1 {
    font-size: 28px;
  }
}

/* ==================================================
   HERO CENTER (PAGE TEMPLATE)
================================================== */
.hero-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  animation: fadeUp 1s ease forwards;
}

.hero-center h1 {
  font-size: 42px;
  font-weight: 700;
}

.hero-center p {
  font-size: 18px;
  font-weight: 300;
}

/* ==================================================
   CONTENT SECTION
================================================== */
section,
.section {
  padding: 80px 0;
  background: var(--bg-main);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}

.section-title p {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

/* ==================================================
   FOOTER
================================================== */
.footer {
  background: #2b1d0e;
  color: #fff;
  padding: 40px 0;
  font-size: 14px;
}

.footer a {
  color: #fff;
}

.footer a:hover {
  opacity: 0.8;
}

/* ==================================================
   FADE ON SCROLL (AOS STYLE - NO LIBRARY)
================================================== */
[data-animate] {
  opacity: 0;
  transition: all 0.9s ease;
}

[data-animate].active {
  opacity: 1;
  transform: none;
}

/* Variants */
[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-down"] {
  transform: translateY(-40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade"] {
  transform: none;
}

/* Delay Support */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* Mobile Optimization */
@media (max-width: 768px) {
  [data-animate] {
    transition-duration: 0.6s;
    transform: translateY(20px);
  }
}

.nav-pill a.active {
  color: #FFBD7A;
  font-weight: 600;
}
