@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}

:root {
    --bg-main: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1f1f1f;
    --blue: #3b82f6; 
    --blue-hover: #2563eb;
    
    --text: #f3f4f6;
    --text-muted: #9ca3af;

    --glow: 0 0 15px rgba(59, 130, 246, 0.5); 
}

img {
    border-radius: 50%;
    max-width: 30%;    
    object-fit: cover;  
}



/* =========================
   BODY
========================= */
body {
    background-color: var(--bg-main);
    color: var(--text);
    line-height: 1.6; 
}

/* =========================
   HEADER
========================= */
header {
    background-color: rgba(0, 0, 0, 0.8); 
    border-bottom: 1px solid #333; 
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo a {
    color: var(--blue);
    font-size: 24px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.logo a:hover {
    text-shadow: var(--glow); 
}

.logo {
    margin-right: auto;
}

/* =========================
   NAVBAR
========================= */
nav {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    width: 100%;
}

nav ul li a {
    color: var(--text-muted); 
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease; 
}

nav ul li a:hover {
    color: var(--blue);
}

.user-access a, .login a {
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.95);
        border-bottom: 1px solid #333;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex-direction: column;
        margin: 0;
        z-index: 99;
    }

    #menu-checkbox:checked ~ nav {
        display: flex !important;
        max-height: 500px !important;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 15px;
        width: 100%;
    }

    nav ul li {
        border-bottom: 1px solid #222;
        padding: 12px 0 !important;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        font-size: 14px;
        display: block !important;
    }
}

@media (min-width: 769px) {
    nav {
        display: flex !important;
        position: static !important;
        background: none !important;
        border: none !important;
        max-height: none !important;
        width: auto !important;
        padding: 0 15px !important;
        overflow: visible !important;
        flex: 1;
        margin: 0 !important;
        top: auto !important;
        left: auto !important;
    }

    nav ul {
        display: flex;
        gap: 25px;
        padding: 0 !important;
    }

    nav ul li {
        border: none !important;
        padding: 0 !important;
    }

    nav ul li a {
        display: inline !important;
        font-size: 15px !important;
    }

    .user-access {
        display: block !important;
    }
}

/* =========================
   MAIN
========================= */
main {
    max-width: 1100px;
    margin: auto;
    padding: 60px 30px; 
}

h1 {
    color: var(--text); 
    margin-bottom: 15px;
    font-size: 2.5rem;
}

h1 span {
    color: var(--blue); 
}

h2 {
    color: var(--blue);
    margin-bottom: 12px;
    border-left: 4px solid var(--blue); 
    padding-left: 10px;
}

p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* =========================
   SECTIONS & CARDS 
========================= */
section, article {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px; 
    margin-bottom: 30px;
    border: 1px solid #333; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


section:hover, article:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

#hero-presentation {
    text-align: center;
    padding: 40px 0;
}

#hero-presentation img {
    margin-top: 30px;
    border: 3px solid var(--bg-secondary);
    box-shadow: var(--glow); 
}

ul {
    margin-left: 20px;
}

ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* =========================
   BOTOM
========================= */
button, .btn {
    background-color: var(--blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

button:hover, .btn:hover {
    background-color: var(--blue-hover);
    box-shadow: var(--glow); 
    transform: scale(1.05); 
}


form div {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    outline: none; 
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* =========================
   FOOTER
========================= */
footer {
    background-color: #050505;
    border-top: 1px solid #333;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
    font-size: 14px;
}

footer a {
    color: var(--blue);
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}


/* =========================
   ICONS 
========================= */
.tech-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
    margin-top: 25px;
}

.tech-card {
    background-color: var(--bg-secondary);
    border: 1px solid #333;
    border-radius: 10px;
    width: 120px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tech-card i {
    font-size: 35px; 
    margin-bottom: 5px;
}

.tech-card span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--blue);
    background-color: #222;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.logo i {
    margin-right: 5px;
}

/* =========================
   MOBILE MENU TOGGLE
========================= */
#menu-checkbox {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--blue);
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
}

.menu-toggle:hover {
    color: var(--blue-hover);
}

#menu-checkbox:checked ~ .menu-toggle {
    color: var(--text);
}

/* =========================
   RESPONSIVE ADJUSTMENTS
========================= */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }

    .header-container {
        padding: 15px 15px;
    }

    .logo a {
        font-size: 18px;
    }

    .user-access {
        display: none;
    }

    main {
        padding: 30px 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.95rem;
    }

    section, article {
        padding: 20px;
        margin-bottom: 20px;
    }

    .tech-grid {
        gap: 10px;
    }

    .tech-card {
        width: 100px;
        padding: 15px;
    }

    .tech-card i {
        font-size: 28px;
    }

    .tech-card span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px 10px;
    }

    .logo a {
        font-size: 16px;
    }
}