:root {
    --primary-color: #4a74dc;
    /* --primary-color: #ff3f81; */
    --secondary-color: #c33c65;
    --accent-color: #5645ad;
    --text-color-light: #f4f4f4;
    --text-color-dark: #333;
    --bg-gradient-start: #35244f;
    --bg-gradient-end: #5f2f2f;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 12px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color-light);
    background-color: var(--bg-gradient-end);
    background-image:
        radial-gradient(ellipse at 10% 90%, var(--accent-color) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 90%, var(--secondary-color) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, var(--primary-color) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 10%, var(--bg-gradient-start) 0%, transparent 55%);
    background-attachment: fixed;
    margin: 0;
    line-height: 1.6;
}

/* Base Styles */
h1, h2, h3 {
    margin-top: 0;
    font-weight: 600;
}

a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.content-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Glassmorphism Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-sub-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    /* font-stretch: expanded; */
    margin-top: -40px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-top: 25px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 20px;
    background: var(--secondary-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
}

/* Navigation */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(8px);
    padding: 10px 0;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li a {
    padding: 10px 20px;
    font-weight: bold;
}

/* Dropdown */

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    flex-direction: column;
}

.dropdown-content a {
    color: var(--text-color-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown {
    padding: 0px;
    margin: 0px;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    background-color: rgba(40, 38, 68, 0.9);
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin: 0px;
}

.dropdown:hover .dropbtn {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Project Cards */
.project-grid, .portfolio-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-card, .portfolio-card, .blog-card, .app-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    padding: 20px;
    transition: transform 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.app-card {
    padding: 10px 20px;
}

.app-card a {
    padding: 0px 0px;
    margin: 5px 0px;
}

.project-card:hover, .portfolio-card:hover, .blog-card:hover, .app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card img, .portfolio-card img, .blog-card img, .app-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3, .portfolio-card h3, .blog-card h3, .app-card h3 {
    margin-bottom: 5px;
}

.project-link, .portfolio-link, .blog-link, .app-link {
    margin-top: auto;
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 15px;
}

.view-all-link {
    margin-top: 40px;
}

/* About Section */
.about-me-section {
    text-align: left;
}

.about-me-section .view-all-link {
    text-align: center;
    margin-top: 40px;
}

.about-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.profile-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--glass-border);
}

.about-text {
    flex: 1;
}

/* Other Portfolios Section */
.other-portfolios h2 {
    margin-bottom: 40px;
}


/* Footer */
.site-footer {
    background: rgba(17, 17, 17, 0.7);
    padding: 40px 20px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form button {
    padding: 12px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: var(--secondary-color);
}

.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-list {
        flex-direction: column;
    }
}

/* Archive Page */

.archive-list {
    text-align: left;
    margin-top: 40px;
}
.archive-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.archive-item h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}
.archive-item .date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}
.archive-item ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}
.archive-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}
.archive-item li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Social links bar styles */
.social-links .social-under-construction {
    display: block;
    font-size: 0.5em;
    margin-top: 0.0em;
    opacity: 0.7;
    letter-spacing: 0.5px;
}
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.0em;
    font-size: 1.1em;
    margin: 0.0em 0 1.5em 0;
    color: var(--text-color-light);
}

.social-links span {
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
}

.social-links a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.social-links a:hover,
.social-links a:focus {
    color: #e63946; /* Accent color on hover */
}

.social-links svg {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: -2px;
    fill: var(--text-color-light);
}

/* Bubble button */
#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Chat window */
#chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: white;
    border: 1px solid var(--accent-color);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

#chat-header {
    background: var(--accent-color);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

#chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
}

#chat-input {
    display: flex;
    border-top: 1px solid #ccc;
}

#chat-input input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
}

#chat-input button {
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
}