/* ================================
   General Body Styles
================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;
    text-align: center;
    background-color: #00eeff;
    background-image: url('urlBackground Image/ruthson-zimmerman-hDANeGXvWRw-unsplash.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 0;
    min-height: 100vh;
}

/* Dark overlay for readability */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 225, 255, 0.6);
    z-index: -1;
}

/* ================================
   Header
================================= */
header {
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 20px;
    font-style: italic;
    color: #000000;
}

/* ================================
   Navigation Links
================================= */
nav {
    margin: 1rem 0;
}

nav a {
    color: #000000;
    text-decoration: rgb(255, 255, 255);
    font-weight: 600;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

nav a:hover {
    color: #00ccff;
    text-shadow: 0 0 5px #ffffff5e, 0 0 10px #ffffff41;
}

/* ================================
   Sections
================================= */
section {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    margin: 2rem auto;
    border-radius: 12px;
    max-width: 1000px;
    position: relative;
    z-index: 1;
    text-align: left;
}

section h2 {
    color: #ffffff;
    text-shadow: #000000;
    text-align: center;
    text-box:initial;
    margin-bottom: 1rem;
}

/* ================================
   Buttons
================================= */
button {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    background-color: #000000;
    color: #000;
    border:none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: #00cc00;
}

/* ================================
   Cards (Projects / Contact)
================================= */
.card {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 255, 42, 0.5);
    margin: 1rem 0;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 1rem auto;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 255, 42, 0.7);
}

.card a {
    color: #1eff00;
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    color: #00ff70;
}

/* ================================
   Responsive Styles
================================= */
@media (max-width: 1024px) {
    section, header {
        max-width: 95%;
        padding: 1.5rem;
    }
    nav a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    section, header {
        padding: 1rem;
        margin: 1rem auto;
    }
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    nav a {
        display: block;
        margin: 0.5rem 0;
    }
    header, section {
        padding: 1rem;
        margin: 0.5rem auto;
        border-radius: 5px;
    }
    button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    .project-card,
    .contact-card {
        width: 95%;
        padding: 1rem;
    }
}
