/* Hide Contact CTA buttons only while Contact page is active */
body.contact-active .btn-cta[data-page="contact"] {
  display: none !important;
}
/* ============================================================
  TOCOMO OIL INC — Global Oil & Gas Trading
   styles.css
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --amber:        #f59e0b;
  --amber-light:  #fbbf24;
  --black:        #000000;
  --slate-950:    #020617;
  --slate-800:    #1e293b;
  --gray-800:     #1f2937;
  --gray-600:     #4b5563;
  --gray-500:     #6b7280;
  --gray-400:     #9ca3af;
  --gray-300:     #d1d5db;
  --gray-100:     #f3f4f6;
  --gray-50:      #f9fafb;
  --white:        #ffffff;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 150ms ease;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-800);
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  font-family: 'Chiller', cursive, sans-serif;
  /* If you have Chiller as a webfont, add @font-face above and update this stack */
}

.logo:hover {
  color: var(--amber-light);
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--gray-300);
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--amber-light);
}

/* CTA button */
.btn-cta {
  background: var(--amber);
  color: var(--black);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-xl);
  transition: background var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta:hover {
  background: var(--amber-light);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(0,0,0,0.97);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--gray-800);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1rem;
  color: var(--gray-300);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--amber-light);
}

.mobile-cta {
  margin-top: 1rem;
  border-radius: var(--radius-xl);
  padding: 0.75rem 1.25rem;
  text-align: center;
}

/* ---------- Pages ---------- */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ---------- Main & footer spacing ---------- */
#main {
  padding-top: 4.5rem; /* header height */
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 38rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 62rem;
  text-align: center;
  padding: 0 1.5rem;
}

/* Eyebrows */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  color: var(--amber-light);
  margin-bottom: 1.25rem;
}

.eyebrow-dark {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 1rem;
}

.eyebrow-amber {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 1rem;
}

.hero-heading {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.75rem;
}

.text-amber {
  color: var(--amber-light);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-300);
  max-width: 44rem;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--black);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  transition: background var(--transition);
}

.btn-primary:hover {
  background: var(--amber-light);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ---------- Container & helpers ---------- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 6rem 0;
}

.bg-white   { background: var(--white); }
.bg-dark    { background: var(--slate-950); }
.bg-black   { background: var(--black); }
.text-white { color: var(--white); }
.min-h-screen { min-height: 100vh; }

/* ---------- Feature cards (Home) ---------- */
.section-cards {
  padding: 5rem 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 2rem;
}

.card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-3xl);
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 250ms ease, transform 250ms ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}

.card-icon {
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- Section headings ---------- */
.section-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-heading-light {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.contact-title {
  font-size: clamp(1rem, 2vw, 1.625rem);
}

.body-text {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.body-text-muted {
  color: var(--gray-400);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about-subheading {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1rem 0 0.75rem;
  color: var(--slate-800);
}

.about-values {
  list-style: disc;
  padding-left: 1.35rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.about-values li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

/* ---------- About page ---------- */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .two-col-layout {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.col-text { }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.stat-card p {
  color: var(--gray-600);
}

.about-image {
  border-radius: var(--radius-3xl);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
  width: 100%;
  height: clamp(20rem, 58vw, 38rem);
  object-fit: cover;
  object-position: center;
}

/* ---------- Services page ---------- */
.section-intro {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 4rem;
}

.section-sub {
  color: var(--gray-400);
  font-size: 1.1rem;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 60rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  color: var(--slate-800);
  box-shadow: none;
  border: none;
  transition: background 250ms ease, transform 250ms ease;
}

.service-card:hover {
  background: var(--gray-100);
  transform: translateY(-2px) scale(1.01);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--amber);
}

.service-card p {
  color: var(--slate-800);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- Contact page ---------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.contact-value a:hover {
  color: var(--amber-light);
  text-decoration: none;
}

.contact-form-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-3xl);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  background: rgba(0,0,0,0.40);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-2xl);
  padding: 1rem 1.25rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
  color: var(--gray-500);
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: var(--amber-light);
}

.contact-form-wrap textarea {
  resize: vertical;
  min-height: 8rem;
}

/* Input validation states */
.contact-form-wrap input.invalid,
.contact-form-wrap textarea.invalid {
  border-color: #ef4444;
}

.form-feedback {
  font-size: 0.9rem;
  min-height: 1.4rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-xl);
  padding: 0 0.25rem;
}

.form-feedback.success {
  color: #4ade80;
}

.form-feedback.error {
  color: #f87171;
}

.btn-submit {
  width: 100%;
  background: var(--amber);
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1rem;
  border-radius: var(--radius-2xl);
  transition: background var(--transition);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--amber-light);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 47.9rem) {
  .main-nav,
  .btn-cta:not(.mobile-cta) {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    max-width: 12.5rem;
    line-height: 1.1;
    text-align: left;
  }

  .two-col-layout {
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}
