/* Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #14b8a6;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --bg-primary: #dfeff8;
    --bg-secondary: #d7dcde;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(to bottom right, #4a6974, #4a6974);    
    
}

.title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
}



/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    backdrop-filter: blur(0.25px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-desktop ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile {
    display: none;
}

/* Section Styles */
section {
    padding: 6rem 1rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-about .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/me_image.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: 1;
}

.section-about .content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-about .section-title {
    color: white; /* Changed from blue to white */
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.transparent-overlay-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%; /* Ensure full width within content wrapper */
}

.transparent-overlay-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    text-align: center; /* Center the text within the card */
}

@media (max-width: 768px) {
    .transparent-overlay-card {
        padding: 2rem;
        margin: 0 5%;
    }

    .transparent-overlay-card p {
        font-size: 1rem;
    }
}

.section-title {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    background: none;
}

@media (max-width: 768px) {
    .transparent-overlay-card {
        padding: 2rem;
        max-width: 90%;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .transparent-overlay-card p {
        font-size: 1rem;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Home Section */
.section-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s 0.3s forwards;
}

/* About Section */
.about-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
}

/* Skills Section */
.section-skills {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/dark_dwerk.jpg');
    background-size: cover;
    background-position: center;
}

.section-skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.section-skills .content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-skills .section-title {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    color: white;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.skill-header i {
    color: #4dabf7;
    stroke-width: 1.5;
    width: 32px;
    height: 32px;
}

.skill-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.skill-description {
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .skills-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .skills-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Projects Section */
.section-projects {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/dark_dwerk.jpg');
    background-size: cover;
    background-position: center;
}

.section-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.section-projects .content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-projects .section-title {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.project-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.project-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.section-contact {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('images/dark_dwerk.jpg');
    background-size: cover;
    background-position: center;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.section-contact .content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-contact .section-title {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
    text-decoration: none;
    color: white;
}

.contact-card i {
    color: white;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Section Styles */
.section-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5)), url('images/dark_dwerk.jpg');
    background-size: cover;
    background-position: right center;
    color: white;
}

.home-content {
    max-width: 700px;
    padding-left: 5%;
}

.title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
    background: none;
    text-transform: none;
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

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

.contact-card:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {    
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-mobile {
        display: block;
        background: var(--bg-primary);
        padding: 1rem;
        transform: translateX(100%);
        transition: var(--transition);
    }

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

    .nav-mobile ul {
        list-style: none;
    }

    .nav-mobile li {
        margin: 1rem 0;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
}