/* =========================== */
/* Global Styles */
/* =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0f111a; /* Deep dark tech background */
    color: #e1e1e1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

/* =========================== */
/* Header */
/* =========================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    position: relative;
    background: linear-gradient(to right, #11121f, #1b1b2f);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
    border-bottom: 2px solid #00ffff;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffff, #0055ff);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
    transition: transform 0.3s ease;
}

.logo img {
    width: 60px;
    height: 60px;
}

.logo:hover {
    transform: rotate(-10deg) scale(1.05);
}

.navbar {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar a {
    color: white;
    padding: 10px 15px;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    color: #00ffff;
}

.platform-logo {
  width: 30px;
  height: 25px;
  padding-right: 10px;
  padding-top: 5px;
}
.navbar a.active {
    border-bottom: 3px solid #00ffff;
    color: #00ffff;
    font-weight: 600;
}

button:disabled {
  background-color: #b3b3b3; /* light grey */
  color: #666;              /* dark grey text */
  cursor: not-allowed;      /* show disabled cursor */
  opacity: 0.7;             /* slight transparency */
}

/* Hamburger Icon */
.menu-icon {
    display: none; /* hidden on large screens */
    font-size: 1.8rem; /* slightly smaller */
    color: #00ffff;
    cursor: pointer;
    position: absolute; /* position over the header */
    top: 20px;
    right: 25px; /* right-aligned */
    z-index: 20;
}

/* =========================== */
/* Main Content / Container */
/* =========================== */
.container {
    padding: 100px 20px;
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.container h1 {
    font-size: 4rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    font-weight: 700;
}

.container h2 {
    font-size: 3rem;
    color: #ff00ff;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    font-weight: 700;
}

.container p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 700px;
}

/* Buttons */
button,
.cv-button {
    padding: 12px 30px;
    font-size: 1.3rem;
    color: #0f111a;
    background: #00ffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
}

button:hover,
.cv-button:hover {
    background: #00ffffcc;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.7);
}

.cv-button::after {
    content: "CV";
    display: inline-block;
    transition: all 0.6s ease-in-out;
}

.cv-button:hover::after {
    content: "Download CV";
}

/* =========================== */
/* Forms (Contact Page) */
/* =========================== */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

input, textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #1b1b2f;
    color: #e1e1e1;
    font-size: 1rem;
    resize: none;
}

input:focus, textarea:focus {
    outline: 2px solid #00ffff;
}

/* =========================== */
/* Projects / Download Cards */
/* =========================== */
.game1 {
    background-color: #1b1b2f;
    border: 1px solid #00ffff;
    border-radius: 15px;
    padding: 30px;
    margin: 30px auto;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game1:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.6);
}

.photo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.name {
    font-size: 1.6rem;
    font-weight: bold;
    color: #00ffff;
    margin: 10px 0;
}

.download button {
    background-color: #00ffff;
    color: #0f111a;
    padding: 12px 30px;
    border-radius: 15px;
    font-weight: bold;
    transition: 0.4s ease;
}

.download button:hover {
    background-color: #00ffffcc;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* =========================== */
/* Footer */
/* =========================== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #11121f;
    border-top: 2px solid #00ffff;
    flex-wrap: wrap;
}

.footer .copyright,
.footer .email {
    color: #ccc;
    opacity: 0.8;
}

/* =========================== */
/* Responsive */
/* =========================== */
@media (max-width: 1024px) {
    .container h1 { font-size: 3rem; }
    .container h2 { font-size: 2.2rem; }
    .container p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: #11121f;
        width: 220px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    }
    .download button {
        width: 100%;       /* Full width inside container */
        max-width: 300px;  /* Optional: limit max size */
        padding: 15px 0;   /* Adjust vertical padding */
        font-size: 1.1rem; /* Slightly bigger text */
    }
    .platform-logo {
    width: 22px;       /* smaller icon for mobile */
    height: 20px;
    padding-right: 7px;
    padding-top: 5px;
  }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        padding: 12px;
    }

    .menu-icon {
        display: block;
    }
}

@media (max-width: 480px) {
    .container h1 { font-size: 2.5rem; }
    .container h2 { font-size: 1.8rem; }
    .container p { font-size: 1rem; }
    .game1 { max-width: 300px; margin: 20px auto; }
}
