/*
Theme Name: Sangeet Sejpal Trade Commission
Theme URI: https://tradecommissioneroffice.com
Description: Professional trade & diplomacy platform with gold accents, cream backgrounds, and forest text
Version: 1.0.0
Author: Navya
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sangeet-sejpal
Domain Path: /languages
*/

/* Colors */
:root {
  --background: #fbf8f1;
  --foreground: #1a2a1f;
  --cream: #fbf8f1;
  --cream-deep: #ede4d0;
  --forest: #2f5f3f;
  --gold: #a07b2e;
  --gold-soft: #c9a653;
  --steel: #475247;
  --navy-deep: #0f1419;
  --flag-red: #b53a2c;
  --flag-green: #2f6a3a;
  --border: rgba(26, 42, 31, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--foreground);
  margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1rem 0; }
a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

img { max-width: 100%; height: auto; display: block; }

.container, .container-edge {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container-edge { padding: 0 2.5rem; }
}

/* Header */
.site-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  margin: 0;
  color: var(--foreground);
}

.site-title a {
  color: var(--foreground);
  text-decoration: none;
}

/* Navigation */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--foreground);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.site-nav a:hover,
.site-nav a.current-menu-item {
  border-bottom-color: var(--gold);
}

/* Hero Section */
.hero {
  background: var(--background);
  padding: 6rem 1.5rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--forest);
}

.hero .eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero .lede {
  font-size: 1.25rem;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 2px;
  text-decoration: none;
  margin: 0.5rem;
}

.btn:hover {
  background: var(--gold);
  color: var(--cream);
}

.btn--solid {
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
}

.btn--solid:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* Sections */
.section-cream {
  background: var(--cream-deep);
  padding: 4rem 1.5rem;
}

.rule-gold {
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  height: 1px;
  border: none;
  margin: 2rem 0;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.card {
  background: var(--background);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -40px rgba(26, 42, 31, 0.3);
}

.card__link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card__media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f0ede7;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.5rem;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.card__title {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: var(--forest);
}

.card__excerpt {
  color: var(--steel);
  font-size: 0.95rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 3rem 1.5rem 1rem;
  margin-top: 4rem;
}

.site-footer a {
  color: var(--gold);
}

.site-footer p,
.site-footer li {
  color: var(--cream);
  line-height: 1.8;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--gold);
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* WordPress Specific */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.wp-caption {
  background: var(--cream-deep);
  padding: 0.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--steel);
  margin: 0.5rem 0 0 0;
}
