/* ============================================
   HEKLAR - Museum-Inspired Content Structure
   Color Palette:
   - Primary: #2C3E50 (Dark Slate Grey)
   - Accent 1: #F39C12 (Vivid Amber)
   - Accent 2: #27AE60 (Rich Emerald)
   - Neutral: #BDC3C7 (Cool Mist Grey)
   - Light: #ECF0F1 (Light Grey)
   ============================================ */

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

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2C3E50;
  background-color: #FFFFFF;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

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

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: #2C3E50;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  color: #2C3E50;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #2C3E50;
  line-height: 1.4;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #34495E;
}

a {
  color: #27AE60;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: #F39C12;
  border-bottom: 1px solid #F39C12;
}

/* ============================================
   LAYOUT & SPACING
   ============================================ */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background-color: #F8F9FA;
}

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

header {
  background-color: #2C3E50;
  color: #FFFFFF;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #F39C12;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: #ECF0F1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #F39C12;
  border-bottom: 2px solid #F39C12;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: #FFFFFF;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero p {
  color: #ECF0F1;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  flex: 1;
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

/* ============================================
   CTA BUTTON
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #F39C12;
  color: #2C3E50;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid #F39C12;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  background-color: transparent;
  color: #F39C12;
}

.btn-secondary {
  background-color: transparent;
  color: #27AE60;
  border: 2px solid #27AE60;
}

.btn-secondary:hover {
  background-color: #27AE60;
  color: #FFFFFF;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.content-section.reverse {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
}

.content-image {
  flex: 1;
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

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

/* ============================================
   CARDS GRID
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.card {
  background-color: #FFFFFF;
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #E8EAED;
}

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

.card h3 {
  color: #2C3E50;
  margin-bottom: 1rem;
}

.card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ============================================
   FEATURED IMAGE SECTION
   ============================================ */

.featured-section {
  position: relative;
  height: 550px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 40px;
}

.featured-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.featured-overlay h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.featured-overlay p {
  color: #ECF0F1;
  max-width: 600px;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.blog-post {
  background-color: #FFFFFF;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}

.blog-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
}

.blog-date {
  color: #F39C12;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.blog-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.blog-content p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.blog-read-more {
  color: #27AE60;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.blog-read-more:hover {
  border-bottom: 2px solid #27AE60;
}

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

footer {
  background-color: #2C3E50;
  color: #ECF0F1;
  padding: 60px 0 20px;
  margin-top: 80px;
}

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

.footer-section h4 {
  color: #F39C12;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

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

.footer-section a {
  color: #BDC3C7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.footer-section a:hover {
  color: #F39C12;
  border-bottom: 1px solid #F39C12;
}

.footer-bottom {
  border-top: 1px solid #34495E;
  padding-top: 20px;
  text-align: center;
  color: #95A5A6;
  font-size: 0.85rem;
}

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

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

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content,
  .content-section {
    flex-direction: column;
    gap: 40px;
  }

  .content-section.reverse {
    flex-direction: column;
  }

  .hero-image,
  .content-image {
    height: 300px;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }
}

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p {
    font-size: 0.95rem;
  }

  section {
    padding: 60px 0;
  }

  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  nav a {
    display: block;
    padding: 10px 0;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image,
  .content-image {
    height: 250px;
  }

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

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .featured-section {
    height: 300px;
    margin: 0 20px;
  }

  .featured-overlay {
    padding: 40px;
  }
}

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

  h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  h2 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  section {
    padding: 40px 0;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

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

  .hero-image,
  .content-image {
    height: 200px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .featured-section {
    height: 200px;
    margin: 0 15px;
  }

  .featured-overlay {
    padding: 25px;
  }

  .featured-overlay h2 {
    font-size: 1.25rem;
  }

  .featured-overlay p {
    font-size: 0.9rem;
  }

  .card {
    padding: 20px;
  }

  .blog-image {
    height: 180px;
  }

  .blog-content {
    padding: 15px;
  }
}
