/* ——————————————————————
CHILATO-JUL GLOBAL THEME
—————————————————————— */
:root {
  --gold: #d4af37;
  --dark: #111;
  --light: #fdfdfd;
  --gray: #333;
  --skyblue: #3EA7E3;
  --base-bg: #E9F5FE;
  --black: #000;
  --white: #fff;
}

/* ——————————————————————
GLOBAL STYLES
—————————————————————— */
body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, sans-serif;
  background: var(--white);
  color: var(--gray);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.content {
  background: var(--white);
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.content h2 {
  color: var(--dark);
  text-align: center;
  margin-bottom: 20px;
}

.content p {
  color: var(--gray);
  text-align: justify;
  margin-bottom: 20px;
}

/* ——————————————————————
HEADER + NAVIGATION
—————————————————————— */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
  border-bottom: 2px solid var(--gold);
  padding: 12px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

/* LOGO AREA */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container img,
.logo {
  height: 55px;
  width: auto;
}

.logo-container .company-name {
  font-weight: bold;
  color: var(--light);
  font-size: 1.2rem;
}

/* NAV LINKS */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

/* ——— Gold underline + fade-in animation ——— */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: width 0.35s ease, opacity 0.35s ease;
}

nav a:hover::after,
nav li.active a::after {
  width: 100%;
  opacity: 1;
}

/* Hover and active color */
nav a:hover,
nav li.active a {
  color: var(--gold);
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* Mobile view */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: var(--black);
    width: 100%;
    position: absolute;
    top: 75px;
    right: 0;
    padding: 20px 0;
    text-align: center;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  nav a::after {
    display: none; /* simpler mobile look */
  }
}

/* ——————————————————————
HERO SECTION
—————————————————————— */
.hero {
  background: url('/images/hero-oilgas-sm.webp') center center/cover no-repeat;
  width: 100%;
  height: 70vh;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: var(--light);
  z-index: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

/* HERO TEXT BELOW IMAGE */
.hero-text-below {
  text-align: center;
  padding: 40px 10%;
  background: var(--base-bg);
}

.hero-text-below h1 {
  color: var(--gold);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-text-below p {
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-text-below .highlight {
  color: var(--skyblue);
  font-weight: 600;
}

/* ——————————————————————
BUTTONS
—————————————————————— */
.btn-primary {
  display: inline-block;
  background: var(--dark);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 22px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ——————————————————————
FOOTER
—————————————————————— */
footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 25px 10px;
  border-top: 2px solid var(--gold);
  font-size: 0.95rem;
}

footer a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--light);
}
