/* =============================================
   The Daily Consumer - Global Stylesheet
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a3a5c;
  --orange: #f97316;
  --orange-light: #fb923c;
  --dark-bg: #0f1f33;
  --footer-bg: #0d1b2a;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-img {
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--orange);
  color: var(--white);
}

/* =============================================
   MAIN CONTENT
   ============================================= */
main {
  flex: 1;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2563a8 100%);
  color: var(--white);
  padding: 56px 24px 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-section {
  padding: 64px 0;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(26, 58, 92, 0.10);
  border: 1px solid var(--gray-200);
}

.contact-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.contact-card .subtitle {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.btn-submit:hover {
  background: #ea6c0a;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Contact Info Panel */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--orange);
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-card a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.email-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, #2563a8 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}

.email-highlight h3 {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 8px;
}

.email-highlight .email-addr {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--orange);
  word-break: break-all;
}

/* =============================================
   ABOUT US
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-text p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #2563a8 100%);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: var(--white);
}

.about-visual .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.stat-item {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px 12px;
}

.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 4px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(26, 58, 92, 0.08);
  border-top: 3px solid var(--orange);
}

.value-card .icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* =============================================
   PRIVACY POLICY / TERMS
   ============================================= */
.policy-content {
  max-width: 760px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.policy-content ul {
  margin: 12px 0 16px 20px;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.75;
}

.policy-content ul li {
  margin-bottom: 6px;
}

.policy-content a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.policy-content a:hover {
  text-decoration: underline;
}

.last-updated {
  background: var(--gray-100);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  border-left: 3px solid var(--orange);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
  height: 64px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.footer-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

/* =============================================
   SUCCESS MESSAGE
   ============================================= */
.success-msg {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 14px 18px;
  color: #166534;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 1.8rem;
  }

  .site-nav {
    display: none;
  }

  .contact-card {
    padding: 24px;
  }

  .header-inner {
    height: 64px;
  }

  .logo-img {
    height: 44px;
  }
}
