/*! CSS Document for Adisao Holding – professional, responsive website */

/* ==== Variables ==== */
:root {
  --primary: #2c3e50;
  --secondary: #34495e;
  --accent: #e67e22;
  --light: #ecf0f1;
  --white: #ffffff;
  --dark-text: #2c3e50;
  --light-text: #7f8c8d;
  --success: #27ae60;
}

/* ==== Base ==== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ==== Typographic ==== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}
p { margin-bottom: 1rem; }

/* ==== Navigation ==== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(44, 62, 80, 0.96);
  backdrop-filter: blur(10px);
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-weight: 500;
  color: var(--light);
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--light);
}
.nav-toggle-input {
  display: none;
}
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    width: 260px;
    padding-top: 80px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-links a {
    color: var(--light);
    margin: 1rem 0;
    font-size: 1.2rem;
  }
  .nav-links.active { transform: translateX(0); }
}

/* ==== Hero ==== */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 2rem; }
.hero .btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.3s ease;
}
.hero .btn:hover { background: #d35400; }

/* ==== Sections ==== */
.section {
  max-width: 1200px;
  margin: 8rem auto;
  padding: 0 2rem;
}
.section h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
}

/* ==== About ==== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h3 { font-size: 1.8rem; color: var(--accent); margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.5rem; }
.about-entities ul { margin-top: 1rem; }
.about-entities li { margin-bottom: 0.5rem; position: relative; padding-left: 1.2rem; }
.about-entities li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ==== Leadership ==== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.leadership-card {
  background: var(--light);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.leadership-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.leadership-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; color: var(--primary); }
.leadership-card p { color: var(--light-text); font-size: 0.95rem; }

/* ==== Portfolio ==== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.portfolio-card {
  background: #fff;
  border: 2px solid var(--light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.portfolio-card .card-img {
  height: 180px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 0.9rem;
}
.portfolio-card .card-body { padding: 1.5rem; }
.portfolio-card h3 { font-size: 1.4rem; margin-bottom: 0.3rem; color: var(--primary); }
.portfolio-card p { font-size: 0.9rem; color: var(--light-text); margin-bottom: 1rem; }

/* ==== Contact ==== */
.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form h2 { text-align: center; margin-bottom: 2rem; }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form button {
  width: 100%;
  padding: 0.9rem;
  background: var(--primary);
  color: var(--light);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact-form button:hover { background: var(--secondary); }

/* ==== Footer ==== */
footer {
  background: var(--primary);
  color: var(--light);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}
footer small { display: block; margin-top: 0.5rem; }

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .about-grid,
  .leadership-grid,
  .portfolio-grid { grid-template-columns: 1fr; }
}