/* General Reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: black;
    color: white;
    padding: 10px 20px;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

.hero {
    text-align: center;
    background: linear-gradient(to bottom, #333, #555);
    color: white;
    padding: 50px 20px;
}

.hero button {
    padding: 10px 20px;
    background: teal;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.hero button:hover {
    background: darkcyan;
}

.blog {
    padding: 20px;
    background: #f4f4f4;
}

.blog h2 {
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.blog-card h3 {
    margin: 10px;
}

.blog-card p {
    margin: 10px;
    color: #555;
}

.blog-card a {
    display: inline-block;
    margin: 10px;
    color: teal;
    text-decoration: none;
}

.blog-card a:hover {
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 10px 20px;
    background: black;
    color: white;
    margin-top: 10px;
}

footer .social a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

footer .social a:hover {
    text-decoration: underline;
}

/* Toggle Button Styling */
#theme-switcher {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #111;
    background-color: #00e6e6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  #theme-switcher:hover {
    background-color: #00bfbf;
    color: white;
    transform: translateY(-2px);
  }
  
  #theme-switcher:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }  