/*
Theme Name: Seli Trading
Theme URI: https://selitrading.com
Author: Seli Trading
Author URI: https://selitrading.com
Description: A premium agricultural trading company WordPress theme for Seli Trading. Features full-page sections, product tabs, network showcase, and contact form. Built to mirror the DOA Agro layout style with a refined dark-green and gold aesthetic.
Version: 1.0.0
License: Private
Text Domain: seli-trading
Tags: business, agricultural, full-width, custom-menu, custom-logo, featured-images, post-thumbnails, translation-ready
*/

/* ==============================
   CSS VARIABLES
   ============================== */
:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A0;
  --gold-dark: #8A6820;
  --green-deep: #1A3028;
  --green-mid: #2D5040;
  --green-light: #4A7C5F;
  --cream: #F7F3EC;
  --cream-dark: #EDE5D6;
  --text-dark: #1A1A14;
  --text-mid: #4A4A3A;
  --text-light: #7A7A6A;
  --white: #FFFFFF;
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ==============================
   TYPOGRAPHY
   ============================== */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
h1 { font-size: clamp(52px, 6vw, 88px); line-height: 1.05; }
h2 { font-size: clamp(38px, 4vw, 60px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
p { font-size: 16px; line-height: 1.75; color: var(--text-mid); }

/* ==============================
   LAYOUT
   ============================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 5vw; }
section { padding: 100px 5vw; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ==============================
   SECTION HEADERS
   ============================== */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-dark); font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold-dark); }
.section-title { color: var(--green-deep); margin-bottom: 24px; }
.section-title em { color: var(--gold-dark); font-style: italic; }
.section-text { font-size: 16px; color: var(--text-mid); line-height: 1.75; max-width: 560px; font-weight: 300; }

/* Light label variant (used on dark backgrounds) */
.section-label--light { color: var(--gold-light); }
.section-label--light::before { background: var(--gold-light); }
.section-title--light { color: var(--white); }
.section-title--light em { color: var(--gold); }
.section-text--light { color: rgba(255,255,255,0.6); }

/* ==============================
   BUTTONS
   ============================== */
.btn { display: inline-block; padding: 14px 32px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: all 0.2s; font-family: 'Outfit', sans-serif; cursor: pointer; border: none; }
.btn-primary { background: var(--gold); color: var(--green-deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(201,168,76,0.5); color: var(--gold-light); background: transparent; font-weight: 400; }
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.btn-submit { background: var(--gold); color: var(--green-deep); padding: 14px 36px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; font-family: 'Outfit', sans-serif; }
.btn-submit:hover { background: var(--gold-light); }

/* ==============================
   NAVIGATION
   ============================== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,48,40,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.25); height: 72px;
  display: flex; align-items: center; padding: 0 5vw;
  justify-content: space-between; transition: background 0.3s;
}
#site-header.scrolled { background: rgba(26,48,40,0.99); }

.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600;
  color: var(--gold); letter-spacing: 1px; flex-shrink: 0;
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; line-height: 1.1; }
.logo-tagline { color: var(--gold-light); font-size: 11px; font-family: 'Outfit', sans-serif; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; }

#primary-navigation { display: flex; gap: 2px; }
#primary-navigation > li { position: relative; }
#primary-navigation > li > a {
  display: block; padding: 8px 16px; color: rgba(255,255,255,0.85);
  font-size: 13px; font-weight: 400; letter-spacing: 0.5px; transition: color 0.2s;
  font-family: 'Outfit', sans-serif; white-space: nowrap;
}
#primary-navigation > li > a:hover,
#primary-navigation > li.current-menu-item > a { color: var(--gold); }

.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--green-deep); border: 1px solid rgba(201,168,76,0.2);
  opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all 0.2s; padding: 8px 0;
}
#primary-navigation > li:hover .sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.sub-menu li a {
  display: block; padding: 9px 18px; color: rgba(255,255,255,0.75);
  font-size: 12.5px; transition: all 0.15s; font-family: 'Outfit', sans-serif;
}
.sub-menu li a:hover { color: var(--gold); background: rgba(201,168,76,0.08); padding-left: 24px; }

.nav-cta { background: var(--gold) !important; color: var(--green-deep) !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--green-deep) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { width: 22px; height: 2px; background: var(--white); display: block; transition: all 0.3s; }

/* ==============================
   HERO
   ============================== */
#hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0F1E18 0%, #1A3028 40%, #2D5040 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(201,168,76,1) 60px, rgba(201,168,76,1) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(201,168,76,1) 60px, rgba(201,168,76,1) 61px);
}
.hero-accent {
  position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.12); pointer-events: none;
}
.hero-accent::before { content: ''; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.08); }
.hero-accent::after { content: ''; position: absolute; inset: 120px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.06); }
.hero-content { position: relative; z-index: 2; padding: 120px 5vw 160px; max-width: 700px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 11px; letter-spacing: 4px; text-transform: uppercase; font-weight: 500; margin-bottom: 28px; font-family: 'Outfit', sans-serif; }
.hero-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .hero-desc { font-size: 16px; color: rgba(255,255,255,0.65); font-weight: 300; margin-bottom: 44px; max-width: 500px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.3); border-top: 1px solid rgba(201,168,76,0.15);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stat { padding: 28px 5vw; border-right: 1px solid rgba(201,168,76,0.1); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 500; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; letter-spacing: 0.5px; font-family: 'Outfit', sans-serif; }

/* ==============================
   WHO WE ARE
   ============================== */
#who-we-are { background: var(--cream); }
.who-image { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--green-deep); }
.who-image img { width: 100%; height: 100%; object-fit: cover; }
.who-image::before { content: ''; position: absolute; bottom: -20px; right: -20px; width: 140px; height: 140px; border: 2px solid var(--gold); z-index: 1; pointer-events: none; }

/* ==============================
   WHAT WE DO
   ============================== */
#what-we-do { background: var(--green-deep); }
.what-image { aspect-ratio: 4/3; position: relative; background: var(--green-mid); }
.what-image img { width: 100%; height: 100%; object-fit: cover; }
.what-image::after { content: ''; position: absolute; top: -20px; left: -20px; width: 100px; height: 100px; border: 2px solid rgba(201,168,76,0.4); pointer-events: none; }
.what-pillars { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(201,168,76,0.15); }
.pillar { background: rgba(255,255,255,0.04); padding: 24px; }
.pillar-icon { font-size: 24px; margin-bottom: 8px; }
.pillar h4 { color: var(--gold-light); font-size: 13px; font-weight: 500; margin-bottom: 6px; letter-spacing: 0.5px; font-family: 'Outfit', sans-serif; }
.pillar p { color: rgba(255,255,255,0.45); font-size: 12.5px; line-height: 1.6; font-family: 'Outfit', sans-serif; }

/* ==============================
   OUR TEAM
   ============================== */
#our-team { background: var(--cream-dark); }
.team-image { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.team-image img { width: 100%; height: 100%; object-fit: cover; }
.team-image::before { content: ''; position: absolute; top: -20px; right: -20px; width: 120px; height: 120px; border: 2px solid var(--gold); z-index: 1; pointer-events: none; }
.team-values { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-num { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--gold); font-weight: 500; line-height: 1; min-width: 36px; }
.value-text h4 { font-size: 14px; font-weight: 600; color: var(--green-deep); margin-bottom: 3px; font-family: 'Outfit', sans-serif; }
.value-text p { font-size: 13px; color: var(--text-mid); line-height: 1.5; font-family: 'Outfit', sans-serif; }

/* ==============================
   OUR VISION
   ============================== */
#our-vision { background: linear-gradient(135deg, #0F1E18, #1A3028); position: relative; overflow: hidden; }
#our-vision::before { content: 'SELI'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-family: 'Cormorant Garamond', serif; font-size: 260px; font-weight: 600; color: rgba(201,168,76,0.04); pointer-events: none; letter-spacing: -10px; line-height: 1; }
.vision-image { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.vision-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==============================
   PRODUCTS
   ============================== */
#products { background: var(--cream); }
.products-tabs { display: flex; gap: 0; margin-bottom: 48px; border-bottom: 2px solid var(--cream-dark); flex-wrap: wrap; }
.tab-btn { padding: 12px 24px; font-size: 13px; font-weight: 500; color: var(--text-light); background: none; border: none; cursor: pointer; letter-spacing: 0.5px; position: relative; transition: color 0.2s; font-family: 'Outfit', sans-serif; }
.tab-btn::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--gold-dark); transform: scaleX(0); transition: transform 0.2s; }
.tab-btn.active, .tab-btn:hover { color: var(--green-deep); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--cream-dark); padding: 28px 20px; text-align: center; transition: all 0.2s; }
.product-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(26,48,40,0.08); }
.product-icon { font-size: 40px; margin-bottom: 14px; display: block; }
.product-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--green-deep); margin-bottom: 6px; }
.product-origin { font-size: 11.5px; color: var(--text-light); line-height: 1.5; font-family: 'Outfit', sans-serif; }

/* ==============================
   NETWORK
   ============================== */
#network { background: var(--green-deep); }
.network-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; background: rgba(201,168,76,0.1); }
.network-feature { background: rgba(255,255,255,0.03); padding: 40px 32px; }
.network-feature h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; color: var(--gold-light); margin-bottom: 14px; }
.network-feature p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; font-family: 'Outfit', sans-serif; }
.countries-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--white); font-weight: 400; margin: 80px 0 32px; }
.countries-title em { color: var(--gold); font-style: italic; }
.countries-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.country-tag { border: 1px solid rgba(201,168,76,0.3); padding: 8px 18px; color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 300; letter-spacing: 0.5px; transition: all 0.2s; font-family: 'Outfit', sans-serif; }
.country-tag:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }

/* ==============================
   SUSTAINABILITY
   ============================== */
#sustainability { background: var(--cream-dark); }
.sus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.sus-card { background: var(--white); padding: 36px 28px; border-left: 3px solid var(--gold); }
.sus-icon { font-size: 32px; margin-bottom: 16px; }
.sus-card h3 { font-size: 16px; font-weight: 600; color: var(--green-deep); margin-bottom: 10px; font-family: 'Outfit', sans-serif; }
.sus-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; font-family: 'Outfit', sans-serif; }

/* ==============================
   CONTACT
   ============================== */
#contact { background: var(--green-deep); position: relative; overflow: hidden; }
#contact::after { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.08); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border: 1px solid rgba(201,168,76,0.3); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; color: var(--gold); }
.contact-item h4 { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; font-family: 'Outfit', sans-serif; }
.contact-item p { color: rgba(255,255,255,0.8); font-size: 15px; font-family: 'Outfit', sans-serif; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 2px; text-transform: uppercase; font-family: 'Outfit', sans-serif; }
.form-group input, .form-group textarea, .form-group select { background: rgba(255,255,255,0.06); border: 1px solid rgba(201,168,76,0.2); padding: 12px 16px; color: var(--white); font-family: 'Outfit', sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s; width: 100%; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--green-deep); color: var(--white); }
.wpcf7-submit { background: var(--gold); color: var(--green-deep); padding: 14px 36px; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.2s; font-family: 'Outfit', sans-serif; }
.wpcf7-submit:hover { background: var(--gold-light); }

/* ==============================
   FOOTER
   ============================== */
#colophon { background: #0A160F; border-top: 1px solid rgba(201,168,76,0.15); padding: 60px 5vw 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand-text { font-size: 13.5px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 16px; max-width: 280px; font-family: 'Outfit', sans-serif; }
.footer-col h4 { font-size: 11px; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; font-family: 'Outfit', sans-serif; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.45); font-size: 13px; transition: color 0.2s; font-family: 'Outfit', sans-serif; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.25); font-family: 'Outfit', sans-serif; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 24px; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); position: relative; }
  .network-features { grid-template-columns: 1fr; }
  #primary-navigation { display: none; }
  .hamburger { display: flex; }
  #primary-navigation.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--green-deep); padding: 20px; gap: 4px; border-top: 1px solid rgba(201,168,76,0.2); }
  #primary-navigation.open .sub-menu { position: static; opacity: 1; pointer-events: all; transform: none; background: transparent; border: none; padding: 4px 12px; }
  #primary-navigation.open > li > a { padding: 12px 16px; font-size: 15px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 44px; }
  .sus-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .products-tabs { gap: 0; }
  .tab-btn { padding: 10px 14px; font-size: 12px; }
  .what-pillars { grid-template-columns: 1fr; }
}

/* ==============================
   WORDPRESS CORE ALIGNMENT
   ============================== */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; text-align: center; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-light); text-align: center; padding: 6px 0; }
.sticky { }
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
