/* ====================================
   GOOGLE FONTS
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Biryani:wght@300;400;600;700&display=swap');

/* ====================================
   GLOBAL STYLES
   ==================================== */

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

:root {
  --font-serif: 'Tenor Sans', 'Georgia', serif;
  --font-sans: 'Biryani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-dark: #1a1a1a;
  --color-light: #f5f1ed;
  --color-white: #ffffff;
  --color-text-dark: #333333;
  --color-text-light: #ffffff;
  --color-border: #cccccc;
  --color-accent: #666666;
  --spacing-unit: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  margin: 0;
  padding: 0;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 0.15em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
}

p + p {
  margin-top: 1.5rem;
}

a {
  color: var(--color-text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text-dark);
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* ====================================
   HERO BLOCK
   ==================================== */

.hero-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.hero-block .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-icon {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.hero-icon img {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1);
}

.hero-block h1 {
  color: var(--color-white);
  font-size: 4.5rem;
  letter-spacing: 0.12em;
  margin: 0;
  font-weight: 400;
  font-family: var(--font-serif);
}

.hero-subtitle {
  color: var(--color-white);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  margin: 0;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  background-color: transparent;
  cursor: pointer;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: var(--color-white);
  color: #000;
}

/* ====================================
   TWO COLUMN BLOCK
   ==================================== */

.two-column-block {
  padding: 4rem 2rem;
  background-color: var(--color-white);
}

.two-column-block--dark {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.two-column-block--dark a {
  color: var(--color-light);
  border-bottom-color: var(--color-light);
}

.two-column-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-column-block--dark .two-column-container {
  color: var(--color-light);
}

.column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.column.left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.column-icon {
  display: none;
  position: absolute;
  top: -40px;
  left: -40px;
  color: currentColor;
  opacity: 0.3;
  z-index: 1;
}

.column-icon img {
  width: 120px;
  height: auto;
}

.column-image {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
  position: relative;
  border: 3px solid currentColor;
}

.column.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.column.right h2 {
  margin-top: 0;
  color: inherit;
}

.column-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.column-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: inherit;
}

/* ====================================
   CONTACT BLOCK
   ==================================== */

.contact-block {
  padding: 4rem 2rem;
  background-color: var(--color-light);
  color: var(--color-text-dark);
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-block h2 {
  margin-bottom: 3rem;
  color: var(--color-text-dark);
}

.contact-image {
  margin: 2rem auto;
  max-width: 200px;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  text-align: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1rem;
  color: var(--color-text-dark);
  font-family: var(--font-serif);
  line-height: 1.6;
}

.contact-value a {
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-text-dark);
  text-decoration: none;
}

.contact-value a:hover {
  opacity: 0.7;
}

/* ====================================
   TEXT BLOCK
   ==================================== */

.text-block {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ====================================
   IMAGE BLOCK
   ==================================== */

.image-block {
  margin: 3rem 0;
  padding: 0 2rem;
}

.image-block img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.image-block figcaption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-style: italic;
}

/* ====================================
   SITE HEADER & NAVIGATION
   ==================================== */

.site-header {
  background-color: var(--color-white);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 100;
}

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-nav .logo {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-dark);
  border: none;
  text-decoration: none;
  font-family: var(--font-sans);
}

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

.site-nav a {
  font-size: 0.95rem;
  border: none;
  color: var(--color-text-dark);
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  transition: opacity 0.3s ease;
  font-family: var(--font-sans);
}

.site-nav a:hover {
  opacity: 0.6;
}

/* ====================================
   SITE FOOTER
   ==================================== */

.site-footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 4rem;
}

.site-footer p {
  margin: 0;
}

/* ====================================
   POSTS LISTING
   ==================================== */

.posts-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.posts-list h1 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.post-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.post-card h2 {
  font-size: 1.5rem;
  margin: 0;
}

.post-card h2 a {
  color: var(--color-text-dark);
  border: none;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.post-card h2 a:hover {
  opacity: 0.7;
}

.post-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-accent);
  flex-wrap: wrap;
}

.post-card .excerpt {
  color: var(--color-accent);
  font-size: 0.95rem;
  margin: 0;
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  color: var(--color-text-dark);
  text-decoration: none;
  border: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
  margin-top: auto;
}

.read-more:hover {
  opacity: 0.6;
}

/* ====================================
   INDIVIDUAL POST
   ==================================== */

.post {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-header h1 {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--color-accent);
  flex-wrap: wrap;
}

.featured-image {
  margin: 2rem 0 3rem 0;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.post-navigation {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.back-link {
  color: var(--color-text-dark);
  text-decoration: none;
  border: none;
  transition: opacity 0.3s ease;
}

.back-link:hover {
  opacity: 0.6;
}

/* ====================================
   PAGE STYLES
   ==================================== */

.page {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.page h1 {
  text-align: center;
  margin-bottom: 3rem;
}

.page-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
  .hero-block h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .two-column-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .site-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-block h1 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }

  .column-image {
    max-width: 250px;
  }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* SVG Styling */
svg {
  display: inline-block;
  vertical-align: middle;
}

.branch-icon,
.leaf-icon {
  color: inherit;
}
