/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
    background: #111827;
    color: #e5e7eb;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    width: 100%;
    background: #fff;
    padding: 25px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 100px auto 40px;
}

.profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 36%;
    width: 100%;
    background-color: #ff0c41;
}

.profile-card .image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: #ff0c41;
    padding: 3px;
    margin-bottom: 10px;
}

.profile-card .image .profile-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    background-color: #fff;
}

.profile-card .text-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
    margin-bottom: 20px;
}

.profile-card .text-data .name {
    font-size: 22px;
    font-weight: 500;
}

.profile-card ul {
    list-style: none;
    text-align: center;
}

.profile-card ul li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

.dark-mode .profile-card ul li {
    color: #e5e7eb;
}

.profile-card .website-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff0c41;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.profile-card .website-button:hover {
    background-color: #e00b3a;
}

/* Header Styles */
.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 25px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    transition: all 0.3s ease;
}

.dark-mode .header {
    background: rgba(31, 41, 55, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 48px;
    object-fit: contain;
}

.header-theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #4b5563;
    transition: color 0.2s;
}

.header-theme-toggle:hover {
    color: #ff0c41;
}

.dark-mode .header-theme-toggle {
    color: #d1d5db;
}

.nav-menu-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: #4b5563;
    gap: 10px;
}

.dark-mode .nav-menu-toggle {
    color: #d1d5db;
}

.nav-menu-toggle i {
    font-size: 20px;
}

/* Sidebar styles */
.nav-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #f9fafb;
    z-index: 2000;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
}

.nav-sidebar.active {
    transform: translateX(0);
}

.nav-sidebar a {
    text-decoration: none;
    color: #4b5563;
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 10px;
    border-bottom: 1px solid #d1d5db;
    transition: all 0.2s;
}

.nav-sidebar a:hover {
    color: #ff0c41;
}

.nav-sidebar a:first-of-type {
    border-top: 1px solid #d1d5db;
}

/* Centered Close Icon */
.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #4b5563;
    transition: color 0.2s;
}

.close-menu:hover {
    color: #ff0c41;
}

/* Visible Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    transition: all 0.2s ease;
}

.social-links a {
    color: #4b5563;
    font-size: 24px;
    border-bottom: none;
}

.social-links a:hover {
    color: #ff0c41;
}

/* 'NEW' badge style */
.badge-new {
    background-color: #ff0c41;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

/* DARK-THEME SIDEBAR STYLES */
body.dark-mode .nav-sidebar {
    background: #1f2937;
}

body.dark-mode .nav-sidebar a {
    color: #e5e7eb;
    border-bottom: 1px solid #4b5563;
}

body.dark-mode .nav-sidebar a:first-of-type {
    border-top: 1px solid #4b5563;
}

body.dark-mode .nav-sidebar a:hover {
    color: #ff0c41;
}

body.dark-mode .close-menu {
    color: #d1d5db;
}

body.dark-mode .social-links a {
    color: #d1d5db;
}

body.dark-mode .social-links a:hover {
    color: #ff0c41;
}

/* New: Styles for the overlay */
#sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

body.sidebar-open #sidebarOverlay {
    opacity: 1;
    pointer-events: auto;
}

/* Footer Styles */
.footer {
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    margin-top: auto;
}

.dark-mode .footer {
    background-color: #1f2937;
    border-top: 1px solid #374151;
    color: #ffffff;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ff0c41;
}

.dark-mode .footer-links a {
    color: #ffffff;
}

.dark-mode .profile-card {
    background: #1f2937;
}

.dark-mode .profile-card .text-data {
    color: #e5e7eb;
}
