body {
font-family: 'Lato', sans-serif;
            color: var(--text-primary);
            line-height: 1.6;
}

.header {
position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-img {
width: 48px;
            height: 48px;
}

.logo-title {
font-family: 'Playfair Display', serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.2;
}

.logo-subtitle {
font-size: 0.75rem;
            letter-spacing: 0.1em;
            color: var(--text-secondary);
}

.nav-item {
position: relative;
}

.nav-link {
font-size: 0.875rem;
            font-weight: 500;
            color: var(--text-primary);
            text-decoration: none;
            transition: opacity 0.2s;
            cursor: pointer;
}

.dropdown {
display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border-radius: 0.5rem;
            margin-top: 0;
            padding-top: 0.5rem;
            min-width: 220px;
            z-index: 1001;
}

.nav-item:hover .dropdown {
display: block;
}

.dropdown a {
display: block;
            padding: 0.75rem 1rem;
            color: var(--text-primary);
            text-decoration: none;
            transition: background-color 0.2s;
            font-size: 0.875rem;
}

.dropdown a:first-child {
border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown a:last-child {
border-radius: 0 0 0.5rem 0.5rem;
}

.dropdown a:hover {
background-color: var(--light);
}

.book-btn {
padding: 0.5rem 1.5rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 600;
            background-color: var(--primary);
            color: white;
            text-decoration: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            transition: transform 0.3s;
}

.book-btn:hover {
transform: scale(1.05);
}

.hamburger span {
width: 28px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
            transition: all 0.3s ease;
}

.hero {
margin-top: 80px;
            padding: 4rem 1.5rem 3rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            text-align: center;
            color: white;
}

.hero h1 {
font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 1rem;
}

.hero p {
font-size: 1.25rem;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
}

.content {
max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 1.5rem;
}

.loading {
text-align: center;
            padding: 3rem;
            color: var(--text-secondary);
            font-size: 1.25rem;
}

.error {
background-color: #fee;
            border: 2px solid #fcc;
            border-radius: 0.5rem;
            padding: 2rem;
            margin: 2rem 0;
            color: #c33;
}

.error h3 {
margin-bottom: 0.5rem;
}

.blog-grid {
display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
}

.blog-card {
background-color: white;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all 0.3s;
            cursor: pointer;
            text-decoration: none;
}

.blog-card:hover {
transform: translateY(-8px);
            box-shadow: 0 8px 24px rgba(74, 98, 116, 0.2);
}

.blog-card:hover .blog-card-title {
color: var(--secondary);
}

.blog-card-image {
width: 100%;
            height: 240px;
            object-fit: cover;
            background-color: var(--light);
}

.blog-card-content {
padding: 1.5rem;
}

.blog-card-date {
font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
}

.blog-card-title {
font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.75rem;
            line-height: 1.3;
}

.blog-card-excerpt {
color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 1rem;
}

.blog-card-tags {
display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
}

.tag {
background-color: var(--light);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            font-size: 0.75rem;
            font-weight: 600;
}

.read-more {
display: inline-block;
            margin-top: 1rem;
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            transition: opacity 0.2s;
}

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

.no-posts {
text-align: center;
            padding: 3rem;
            color: var(--text-secondary);
}

.no-posts h2 {
font-family: 'Playfair Display', serif;
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
}

/* Modal styles */
        .modal {
display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            overflow-y: auto;
            padding: 2rem;
}

.modal.active {
display: flex;
            align-items: center;
            justify-content: center;
}

.modal-content {
background-color: white;
            border-radius: 0.75rem;
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
position: sticky;
            top: 0;
            background-color: white;
            padding: 2rem 2rem 1rem;
            border-bottom: 1px solid var(--light);
            z-index: 10;
}

.modal-close {
position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 2rem;
            color: var(--text-secondary);
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
}

.modal-close:hover {
background-color: var(--light);
            color: var(--primary);
}

.modal-title {
font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
            padding-right: 3rem;
}

.modal-date {
color: var(--text-secondary);
            margin-bottom: 1rem;
}

.modal-image {
width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
}

.modal-body {
padding: 2rem;
            line-height: 1.8;
            font-size: 1.125rem;
            color: var(--text-secondary);
}

.modal-body p {
margin-bottom: 1rem;
}

.modal-body h2, .modal-body h3, .modal-body h4 {
font-family: 'Playfair Display', serif;
            color: var(--primary);
            margin-top: 1.5rem;
            margin-bottom: 1rem;
}

.modal-body img {
max-width: 100%;
            height: auto;
            border-radius: 0.5rem;
            margin: 1rem 0;
}

.modal-body a {
color: var(--primary);
            text-decoration: underline;
}

.modal-body a:hover {
opacity: 0.8;
}

.modal-body code {
background-color: var(--light);
            padding: 0.2rem 0.4rem;
            border-radius: 0.25rem;
            font-family: monospace;
            font-size: 0.9em;
}

.modal-body ul, .modal-body ol {
margin-left: 1.5rem;
            margin-bottom: 1rem;
}

.modal-body li {
margin-bottom: 0.5rem;
}

.modal-body blockquote {
border-left: 4px solid var(--primary);
            padding-left: 1rem;
            margin: 1rem 0;
            font-style: italic;
            color: var(--text-secondary);
}

.modal-body hr {
border: none;
            border-top: 2px solid var(--light);
            margin: 2rem 0;
}

.modal-body figure {
margin: 1.5rem 0;
}

.modal-body figcaption {
margin-top: 0.5rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            text-align: center;
            font-style: italic;
}

.modal-tags {
padding: 0 2rem 2rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
}

@keyframes shimmer {

  0% {
  background-position: -200% center;
                opacity: 0;
  }

  50% {
  opacity: 1;
  }

  100% {
  background-position: 200% center;
                opacity: 0;
  }

}

@media (max-width: 1024px) {

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

  .modal {
  padding: 0;
  }

  .modal-content {
  max-height: 100vh;
                border-radius: 0;
  }

  .modal-title {
  font-size: 1.75rem;
  }

  .modal-body {
  padding: 1.5rem;
                font-size: 1rem;
  }

}
