@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header{
    margin-top: 20px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo{
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

.card-container {
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, #615e5e 0%, #000000 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 300px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-block;
    font-size: 1.4rem;
    color: #b74b4b;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #b74b4b;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card-link:hover {
    background-color: #b74b4b;
    color: white;
}
/* nav bar hamberger */

.hamburger {
    display: none; /* Hidden by default */
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .logo {
        font-size: 2.5rem; /* Reduce logo size */
    }

    nav a {
        font-size: 1.6rem; /* Reduce font size of nav links */
    }
}

@media (max-width: 995px) {
    .hamburger {
        display: block; /* Show hamburger menu */
    }

    nav {
        flex-direction: column; /* Stack items */
        background-color: #161616;
        padding: 1rem;
        position: absolute;
        top: 100%; /* Position below header */
        right: 0;
        width: 100%; /* Full width */
        border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
        display: none; /* Hide initially */
    }

    nav.active {
        display: block; /* Show when active */
    }

    nav a {
        display: block; /* Stack nav items */
        margin: 1.5rem 0; /* Space between items */
        padding: 0.5rem 1rem; /* Padding for clickable area */
    }
}