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

/* Navigation Styles */
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #111;
    padding: 20px 10px;
    overflow-y: auto;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    line-height: 1.25;

  }
  
  .sidebar .blog-title {
    color: white;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .sidebar a {
    display: block;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
  }
  
  .sidebar a.active {
    background-color: #575757;
  }
  
  .sidebar a:hover {
    background-color: #575757;
  }
    .nav-container {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.nav-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #444;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #000;
    background-color: #f5f5f5;
}

.nav-links a.active {
    color: #000;
    font-weight: 500;
}

/* Home page specific styles */
.hero-section {
    height: 250px;
    background-color: #1a1a1a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: 'Baskerville', 'Georgia', 'serif';
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: black;
}

.blog-description {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 20px;
    text-align: center;
}

.blog-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: black    ;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #333;
}

body {
    font-family:'Courier New', Courier, monospace;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.blog-post {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
}

.content {
    padding: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #444;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-grid img:hover {
    transform: scale(1.02);
}

.full-width-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin: 2rem 0;
    border-radius: 8px;
    cursor: pointer;
}

/* Popup styles */
#imagePopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 40px;
}

#popupImage {
    max-width: 90%;
    max-height: 90vh;
    display: block;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
}

#closeButton {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s;
}

#closeButton:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        height: 300px;
    }
}
