/* General Styling */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #3f85f6, #ffffff);
    /* Default gradient blue theme */
    color: #ffffff;
    margin: 0;
    padding: 0;
    transition: background 0.5s, color 0.5s;
}

body.dark-theme {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #000000, #ffffff);
    /* Default gradient blue theme */
    color: #ffffff;
    margin: 0;
    padding: 0;
    transition: background 0.5s, color 0.5s;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent background */
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.nav-links a:hover {
    background-color: #ffffff;
    color: #3f85f6;
    transform: scale(1.1);
}

.switch-theme {
    padding: 10px 20px;
    background-color: #ffffff;
    color: #3f85f6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    font-weight: bold;
}

.switch-theme:hover {
    background-color: #3f85f6;
    color: #ffffff;
    transform: scale(1.05);
}

/* Welcome Section */
.welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    /* Adjusted height */
    text-align: center;
    padding: 20px;
    color: white;
}

.welcome h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.welcome p {
    font-size: 1.5rem;
    line-height: 1.8;
}

/* Home Page Sections */
.home-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    padding: 100px;
}

.section {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    height: 800px;
}

.section:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.section img {
    width: 100%;
    height: 850px;
    display: block;
    transition: transform 0.3s, filter 0.3s;

}

.section:hover img {
    transform: scale(1.1);
    filter: blur(5px);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.section:hover .overlay {
    opacity: 1;
}

/* Footer Section */
.footer {
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent for better visibility */
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .home-sections {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .welcome h1 {
        font-size: 2.5rem;
    }

    .welcome p {
        font-size: 1.2rem;
    }
}