/* Bagcove Custom Styles - Modern & Clean Design */

/* ========================================
   Header Styles
   ======================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(125, 87, 46, 0.1);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo-link {
  display: inline-block;
}

.header-tagline {
  font-size: 0.875rem;
  color: #7d572e;
  margin: 0;
  font-weight: 400;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #121212;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-list a:hover {
  color: #7d572e;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7d572e;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

@media screen and (max-width: 750px) {
  .header-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    width: 100%;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav-list a {
    font-size: 0.875rem;
  }
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 4rem;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

@media screen and (max-width: 750px) {
  .hero-section {
    min-height: 50vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 3rem;
  color: #121212;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7d572e, #be8547);
}

@media screen and (max-width: 750px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* ========================================
   Story Section
   ======================================== */
.story-section {
  padding: 4rem 0;
  background: #fafafa;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
}

.story-block {
  margin-bottom: 3rem;
}

.story-heading {
  font-size: 1.75rem;
  font-weight: 600;
  color: #7d572e;
  margin: 0 0 1rem;
}

.story-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

.story-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.story-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(125, 87, 46, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.story-list li:last-child {
  border-bottom: none;
}

.story-list strong {
  font-size: 1.1rem;
  color: #7d572e;
  font-weight: 600;
}

.story-list span {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.story-philosophy {
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-left: 4px solid #7d572e;
}

.philosophy-quote {
  margin: 0;
  font-style: italic;
}

.philosophy-quote p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 1rem;
}

.philosophy-quote footer {
  font-size: 1rem;
  color: #7d572e;
  font-weight: 600;
  font-style: normal;
}

/* ========================================
   Articles Section
   ======================================== */
.articles-section {
  padding: 4rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.article-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #121212;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.article-date {
  display: block;
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 1rem;
}

.article-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

@media screen and (max-width: 750px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Workshop Section
   ======================================== */
.workshop-section {
  padding: 4rem 0;
  background: #fafafa;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.workshop-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.workshop-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.workshop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-content {
  padding: 1.5rem;
}

.workshop-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #121212;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.workshop-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

@media screen and (max-width: 750px) {
  .workshop-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  padding: 4rem 0;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 2rem;
}

.contact-info {
  background: #fafafa;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: left;
}

.contact-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: #7d572e;
  margin: 0 0 1.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
  color: #555;
}

.contact-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #7d572e;
  font-weight: bold;
  font-size: 1.2rem;
}

.contact-note {
  font-size: 0.9rem;
  color: #666;
  margin: 2rem 0 0;
  line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #2c2c2c;
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0 0;
  font-weight: 400;
}

.footer-copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Utilities
   ======================================== */
.page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media screen and (max-width: 750px) {
  .page-width {
    padding: 0 1.5rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Skip to content link */
.skip-to-content-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
}

.skip-to-content-link:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 1rem;
  background: #7d572e;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
}
