/* ============================================
   STANDARD ISSUE DAD — Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #1a1a2e;
  --color-secondary: #f5f5f0;
  --color-accent: #e07a2f;
  --color-accent-hover: #c96a22;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e8e8e8;
  --color-white: #ffffff;
  --color-dark-bg: #16213e;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1200px;
  --header-height: 72px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header p {
  max-width: 600px;
  margin: 12px auto 0;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  background: rgba(224, 122, 47, 0.1);
  color: var(--color-accent);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .btn {
  padding: 10px 24px;
}

.nav-shop {
  opacity: 0.5;
  cursor: default;
  font-style: italic;
  font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  padding: 100px 32px 32px;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition);
  z-index: 999;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--color-accent);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-overlay.show {
  opacity: 1;
}

/* --- Hero Section --- */
.hero {
  padding: calc(var(--header-height) + 60px) 0 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-bg) 100%);
  color: var(--color-white);
  text-align: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  background: rgba(224, 122, 47, 0.15);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Featured Posts Grid --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.post-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.post-card-image {
  width: 100%;
  height: 220px;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 24px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.post-card-body h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.post-card-body h3 a:hover {
  color: var(--color-accent);
}

.post-card-body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  gap: 10px;
}

/* --- Newsletter Section --- */
.newsletter {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.newsletter h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.newsletter-form .btn {
  white-space: nowrap;
}

.newsletter-success {
  display: none;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--color-accent);
  font-weight: 600;
}

.newsletter-success.show {
  display: block;
}

/* --- Coming Soon / Shop Teaser --- */
.coming-soon {
  background: var(--color-white);
  text-align: center;
}

.coming-soon-box {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.coming-soon-box p {
  font-size: 1.05rem;
}

/* --- Blog Page --- */
.page-header {
  padding: calc(var(--header-height) + 40px) 0 40px;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tag {
  padding: 8px 20px;
  border: 2px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tag:hover,
.filter-tag.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

/* --- Single Post / Article --- */
.article-header {
  padding: calc(var(--header-height) + 60px) 0 40px;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.article-header .tag {
  margin-bottom: 16px;
}

.article-header h1 {
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-featured-img {
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: -40px auto 0;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

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

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.article-content h2 {
  margin: 40px 0 16px;
}

.article-content h3 {
  margin: 32px 0 12px;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--color-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text);
}

.article-content ul,
.article-content ol {
  margin: 16px 0 24px 24px;
}

.article-content li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

/* Share Buttons */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 40px;
}

.share-bar span {
  font-weight: 600;
  font-size: 0.95rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}

.share-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Related Posts */
.related-posts {
  background: var(--color-white);
}

/* --- About Page --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.about-image {
  width: 100%;
  height: 450px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  background: var(--color-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
}

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

.form-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(224, 122, 47, 0.1);
  border-radius: var(--radius);
  color: var(--color-accent);
  font-weight: 600;
  text-align: center;
}

.form-success.show {
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-card {
  padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  color: var(--color-white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  margin-bottom: 8px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 70vh;
    padding: calc(var(--header-height) + 40px) 0 60px;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    height: 300px;
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .article-featured-img {
    height: 250px;
    margin: -20px 16px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .coming-soon-box {
    padding: 32px 20px;
  }

  .contact-form {
    padding: 24px;
  }
}
