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

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    padding-top: 80px; /* Account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(18, 18, 18, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.logo-img {
    width: 40px;
    height: auto;
    object-fit: cover;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #b3b3b3;
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}


/* Main Background Section */
.main-background {
    position: relative;
    background-color: #121212;
    width: 100%;
    min-height: 100vh;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-image: url('assets/Hero-Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 45px 0 0px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}



.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 45px;
    line-height: 28.8px;
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 10px;
    white-space: nowrap;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 28.8px;
    color: #ffffff;
    margin-bottom: 40px;
    max-width: 535px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(90deg, #ffc93c 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blinking-cursor {
    display: inline-block;
    width: 3px;
    height: 22px;
    background-color: #ffffff;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}


.hero-image {
    position: relative;
    width: 244px;
    height: 234px;
    margin: 16px auto;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
    transform-origin: center;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 3;
}

.visual-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 40px;
    color: #ffffff;
    letter-spacing: -0.9px;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Skills Section */
.skills-section {
    padding: 40px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.skills-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.skills-card {
    background-color: #1a1a1a;
    border: 2px solid #262626;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 22px 20px;
    flex: 1;
    max-width: 540px;
}

.skills-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    color: white;
    margin-bottom: 14px;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 127px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.skill-row {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.skill-row::-webkit-scrollbar {
    display: none; /* WebKit */
}

.skills-grid::-webkit-scrollbar {
    display: none; /* WebKit */
}

.skill-tag {
    background: #ffffff;
    border-radius: 3px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #121212;
    white-space: nowrap;
    flex-shrink: 0;
    height: 32px;
}

.skill-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.philosophy-card {
    background: #1a1a1a;
    border: 2px solid #262626;
    border-radius: 10px;
    padding: 22px 20px;
    flex: 1;
    max-width: 500px;
}

.philosophy-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    color: white;
    margin-bottom: 14px;
}

.philosophy-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.philosophy-grid::-webkit-scrollbar {
    display: none; /* WebKit */
}


.philosophy-item {
    background: #5E5D5D;
    border-radius: 3px;
    padding: 15px 10px;
    flex: 0 0 272px;
    text-align: center;
    min-width: 272px;
}

.philosophy-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin-bottom: 10px;
    height: 28px;
}

.philosophy-header h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
    white-space: nowrap;
}

.philosophy-icon {
    width: 33px;
    height: 28px;
    flex-shrink: 0;
}

.philosophy-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 12px;
    line-height: normal;
    color: #ffffff;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.mouse-cursor {
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform: scale(2);
}

.mouse-cursor:hover {
    transform: scale(2.2);
}

.mouse-cursor svg rect {
    stroke: #ffffff;
}

.mouse-cursor svg circle {
    fill: #ffffff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: #121212;
}

.projects-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 76.8px;
    color: #ffffff;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-align: center;
}

.projects-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    color: #fbfbfb;
    max-width: 799px;
    margin: 0 auto 60px;
    text-align: center;
}

.projects-subtitle strong {
    font-weight: 500;
}

.projects-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.projects-list {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
    background-color: transparent;
}

.project-item.active {
    background-color: #f0f0f0;
    color: #121212;
    font-weight: 400;
}

.project-item:hover:not(.active) {
    background-color: #333333;
}

.project-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-card {
    background: #1E1E1E;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-card-image {
    width: 100%;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-card-content {
    padding: 24px;
}

.project-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 16px;
}

.simon-quick-title {
    color: #91BBBD;
}

.equipment-title {
    color: #0BC09E;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tag {
    background: #DFE0E2;
    border-radius: 16px;
    padding: 6px 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #344A4A;
}

.project-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #b3b3b3;
}

/* Footer */
.footer {
    padding: 50px 0 30px;
}

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

.footer-nav {
    display: flex;
    gap: 60px;
    margin-bottom: 20px;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #b3b3b3;
}

.footer-divider {
    height: 2px;
    background: #ffffff;
    border-radius: 20px;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover {
    opacity: 0.7;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    body {
        padding-top: 70px; /* Reduced padding for mobile */
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero {
        padding: 30px 0 60px;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .skills-section {
        padding: 40px 0;
        flex-direction: column;
        gap: 30px;
    }
    
    .skills-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .skills-card,
    .philosophy-card {
        max-width: none;
        width: 100%;
    }
    
    .skill-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .skill-tag {
        font-size: 14px;
        padding: 4px 6px;
        height: 28px;
    }
    
    .skill-icon {
        width: 18px;
        height: 18px;
    }
    
    .philosophy-grid {
        flex-direction: column;
        gap: 12px;
        overflow-x: visible;
        overflow-y: visible;
    }
    
    .philosophy-item {
        flex: none;
        min-width: auto;
        width: 100%;
    }
    
    .projects-section {
        padding: 60px 0;
    }
    
    .projects-title {
        font-size: 36px;
    }
    
    .projects-subtitle {
        font-size: 16px;
    }
    
    .projects-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .projects-list {
        flex: none;
        width: 100%;
    }
    
    .project-cards {
        flex: none;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer-nav {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .skills-section {
        padding: 30px 0;
        gap: 20px;
    }
    
    .skills-container {
        gap: 20px;
    }
    
    .skills-card,
    .philosophy-card {
        padding: 16px;
    }
    
    .skills-title,
    .philosophy-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .skill-tag {
        font-size: 12px;
        padding: 3px 5px;
        height: 24px;
        gap: 6px;
    }
    
    .skill-icon {
        width: 16px;
        height: 16px;
    }
    
    .philosophy-item {
        padding: 12px 8px;
    }
    
    .philosophy-header {
        gap: 12px;
        margin-bottom: 8px;
    }
    
    .philosophy-header h4 {
        font-size: 14px;
    }
    
    .philosophy-icon {
        width: 28px;
        height: 24px;
    }
    
    .philosophy-item p {
        font-size: 11px;
        height: 40px;
    }
    
    .projects-title {
        font-size: 28px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
