/* Base styles and reset */
:root {
    /* Light theme color variables */
    --color-bg: #f5f5f7;
    --color-primary: #2c3e50;
    --color-primary-80: rgba(44, 62, 80, 0.8);
    --color-primary-60: rgba(44, 62, 80, 0.6);
    --color-primary-20: rgba(44, 62, 80, 0.2);
    --color-primary-10: rgba(44, 62, 80, 0.1);
    --color-primary-06: rgba(44, 62, 80, 0.06);
    --color-primary-08: rgba(44, 62, 80, 0.08);
    --color-primary-15: rgba(44, 62, 80, 0.15);
    --color-accent: #4e3e97;
    --color-shadow: rgba(100, 100, 100, 0.1);
    --color-shadow-hover: rgba(100, 100, 100, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and HTML root styles */
body, html {
    font-family: 'Exo', sans-serif;
    background-color: var(--color-bg);
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color: var(--color-primary);
}

/* Main content container */
.context {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: block;
    z-index: 2;
    padding: 20px 0;
}

/* Animated background area */
.area {
    background: var(--color-bg);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Animated circles styling */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--color-primary-20);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

/* Individual circle animations */
.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

/* Circle animation keyframes */
@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* Glass panel styling for main content sections */
.glass-panel {
    color: var(--color-primary);
    background-color: rgba(245, 245, 247, 0.8);
    border: 1px solid var(--color-primary-10);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    margin: 40px auto;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    box-shadow: 0 4px 15px var(--color-shadow);
}

/* Specific styles for main section */
.main-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* Portfolio section specific styles */
.portfolio-section {
    max-width: 800px;
    margin-bottom: 100px;
}

/* Glass button styling */
.glass-button {
    display: inline-block;
    padding: 12px 25px;
    border: 0;
    text-decoration: none;
    border-radius: 15px;
    background-color: rgba(245, 245, 247, 0.7);
    border: 1px solid var(--color-primary-10);
    backdrop-filter: blur(30px);
    color: var(--color-primary);
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 4px 6px var(--color-shadow);
    margin: 8px;
}

.glass-button:hover {
    background-color: var(--color-accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color-shadow-hover);
}

/* Social buttons container */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.social-button {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background-color: var(--color-primary-10);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-button:hover {
    background-color: var(--color-accent);
    color: white;
}

.social-button i {
    font-size: 18px;
    color: var(--color-primary);
}

.social-button:hover i {
    color: white;
}

/* Profile image styling */
img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
    border: 3px solid var(--color-primary-10);
}

/* Typography styles */
h1, h1 a {
    font-size: 28px;
    margin: 0 auto 15px;
    text-decoration: none;
    color: var(--color-primary);
}

h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--color-primary);
}

p {
    width: 90%;
    margin: 0 auto 25px;
    color: var(--color-primary-60);
    font-size: 14px;
    line-height: 1.6;
}

/* Toolbar styling */
.glass-toolbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Portfolio grid layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 0 auto;
    width: 100%;
    padding: 10px 0;
}

/* Portfolio item styling */
.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: rgba(245, 245, 247, 0.7);
    border-radius: 15px;
    border: 1px solid var(--color-primary-10);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    background-color: white;
    box-shadow: 0 10px 25px var(--color-shadow-hover);
}

.portfolio-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.portfolio-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

/* Responsive styles */
@media (max-width: 768px) {
    .glass-panel {
        width: 95%;
        padding: 25px;
    }
    
    .main-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    
    .portfolio-section {
        margin-bottom: 80px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .glass-toolbar {
        flex-direction: column;
        align-items: center;
    }
    
    .glass-button {
        width: 90%;
        margin: 5px 0;
    }
    
    h1, h1 a {
        font-size: 24px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    img {
        width: 120px;
        height: 120px;
    }
}

/* Navbar styles */
.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(245, 245, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-primary-10);
    z-index: 1000;
    box-shadow: 0 2px 10px var(--color-shadow);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand {
    font-size: 30px;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
}

/* Adjust social buttons for navbar */
.glass-navbar .social-buttons {
    gap: 10px;
    margin: 0;
}

.glass-navbar .social-button {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary-10);
}

.glass-navbar .social-button i {
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 10px;
    }
    
    .navbar-brand {
        font-size: 18px;
    }
    
    .glass-navbar .social-button {
        width: 32px;
        height: 32px;
    }
    
    .glass-navbar .social-button i {
        font-size: 14px;
    }
}

/* Construction message styles */
.construction-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px); /* Subtract navbar height */
    text-align: center;
    padding: 20px;
}
    

.construction-message h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.construction-message p {
    font-size: 1.2rem;
    max-width: 600px;
    color: var(--color-primary-60);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .construction-message h1 {
        font-size: 2rem;
    }
    
    .construction-message p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .construction-message h1 {
        font-size: 1.5rem;
    }
    
    .construction-message p {
        font-size: 0.9rem;
    }
}