/* ===== INDEX.CSS - Clean Styles for Home Page ===== */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    word-wrap: break-word;
    height: auto !important;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: scroll;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(110deg, rgba(60, 60, 60, 1) 0%, rgba(255, 255, 255, 1) 100%);
    min-width: 1200px;
}

/* Responsive Design */
@media (max-width: 650px) {
    body {
        min-width: initial;
    }
    
    body.desktopV {
        min-width: 1200px;
    }
}

@media (min-width: 651px) {
    body {
        min-width: 1200px;
    }
    
    body.mobileV {
        min-width: initial;
    }
}

/* Mobile Header */
.mobile-header {
    background-color: rgba(22, 20, 20, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.mobile-header__title {
    color: rgba(169, 180, 180, 1);
    font-weight: normal;
    font-size: 20px;
    text-decoration: none;
}

.mobile-header__title:hover {
    color: #f8a5b3;
}

.mobile-menu {
    background-color: rgba(169, 180, 180, 1);
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(22, 20, 20, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: rgba(22, 20, 20, 1);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background-color: rgba(22, 20, 20, 1);
    color: rgba(169, 180, 180, 1);
    font-weight: bold;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: rgba(169, 180, 180, 1);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Layout */
.main-container {
    margin-top: 0;
    min-height: 100vh;
}

/* Header Section */
.header-section {
    background-color: rgba(22, 20, 20, 1);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    padding: 0;
}

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

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #d1e3e3;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #d1e3e3;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f8a5b3 !important;
}

.nav-link.active {
    color: #d1e3e3;
}

/* Main Content */
.main-content {
    background-color: rgba(22, 20, 20, 1);
    min-height: 2205px;
    padding: 0;
}

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

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-text {
    flex: 1;
    max-width: 822px;
}

.hero-title {
    font-size: 30px;
    color: #a9b4b4;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-description {
    font-size: 22px;
    color: #a9b4b4;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-highlight {
    color: #d1e3e3;
    font-weight: bold;
    font-size: 24px;
}

.hero-highlight.large {
    font-size: 26px;
}

/* CV Section */
.cv-section {
    width: 296px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cv-photo {
    width: 250px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.cv-button {
    background-color: transparent;
    color: #d1e3e3;
    border: 2px solid #d1e3e3;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 170px;
}

.cv-button:hover {
    background-color: #d1e3e3;
    color: #232323;
}

/* Projects Section */
.projects-section {
    
}

.projects-title {
    font-size: 32px;
    font-weight: bold;
    color: #d1e3e3;
    margin-bottom: 30px;
}

/* Featured Project (Elflock) */
.featured-project {
    margin-bottom: 40px;
}

.featured-project .project-card {
    max-width: 800px;
    margin: 0 auto;
    min-height: 400px;
}

.featured-project .project-card__image {
    height: 300px;
}

.featured-project .project-card__content {
    padding: 30px 40px;
    min-height: 120px;
}

.featured-project .project-card__title {
    font-size: 24px;
    margin-bottom: 20px;
}

.featured-project .project-card__details {
    font-size: 16px;
}

.featured-project .project-card__button {
    width: 200px;
    font-size: 16px;
    padding: 12px 24px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Project Cards */
.project-card {
    background-color: rgba(35, 35, 35, 1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    min-height: 528px;
    display: flex;
    flex-direction: column;
}

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

.project-card__image {
    width: 100%;
    height: 276px;
    object-fit: cover;
    border-radius: 10px;
}

.project-card__content {
    padding: 25px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.project-card__title {
    font-size: 18px;
    font-weight: bold;
    color: #d1e3e3;
    margin-bottom: 15px;
}

.project-card__details {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

.project-card__details li {
    color: #d1e3e3;
    margin-bottom: 8px;
    font-size: 14px;
}

.project-card__details li span {
    color: #a9b4b4;
}

.project-card__details li span.highlight {
    color: #d1e3e3;
    font-weight: bold;
}

.project-card__button {
    background-color: transparent;
    color: #d1e3e3;
    border: 2px solid #d1e3e3;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 170px;
    margin-top: auto;
}

.project-card__button:hover {
    background-color: #d1e3e3;
    color: #232323;
}

/* Education Section */
.education-section {
    margin: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #d1e3e3;
    margin-bottom: 30px;
    text-align: left;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.education-item {
    background-color: rgba(35, 35, 35, 0.6);
    padding: 30px;
    border-radius: 10px;
}

.education-institution {
    font-size: 20px;
    font-weight: bold;
    color: #d1e3e3;
    margin-bottom: 10px;
}

.education-period {
    font-size: 16px;
    color: #a9b4b4;
    margin-bottom: 5px;
}

.education-location {
    font-size: 14px;
    color: #a9b4b4;
    font-style: italic;
    margin-bottom: 15px;
}

.education-degree {
    font-size: 16px;
    font-weight: bold;
    color: #d1e3e3;
    margin-bottom: 5px;
}

/* Skills Section */
.skills-section {
    margin: 60px 0;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.skill-button {
    background-color: rgba(35, 35, 35, 0.8);
    color: #d1e3e3;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    border: 2px solid #d1e3e3;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-button:hover {
    background-color: #d1e3e3;
    color: #232323;
}

/* Footer */
.footer {
    background-color: #a9b4b4;
    padding: 60px 20px;
    text-align: center;
}

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

.footer-title {
    font-size: 32px;
    font-weight: bold;
    color: #121212;
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-label {
    display: block;
    font-weight: bold;
    font-size: 20px;
    color: #121212;
    margin-bottom: 5px;
}

.contact-link {
    font-size: 20px;
    color: #121212;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
}

.social-links a {
    display: block;
    width: 36px;
    height: 36px;
    filter: brightness(0);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.social-links img {
    width: 100%;
    height: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(18, 18, 18, 0.2);
    padding-top: 20px;
}

.copyright,
.privacy-notice {
    font-size: 14px;
    color: #121212;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .cv-photo {
        margin-left: 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skills-container {
        justify-content: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 769px) {
    .mobile-header,
    .mobile-menu {
        display: none;
    }
}

/* Show desktop elements on desktop */
@media (min-width: 769px) {
    .header-section {
        display: block;
    }
}
