/* Import Neuropol font */
@font-face{
    font-family: 'Neuropol';
    src: url('../public/fonts/neuropol.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: black;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 18px 0;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.navbar.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Remove all hover effects on navbar */
/* .navbar:hover - REMOVED */

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.nav-logo {
    width: 32px;
    height: 32px;
    background-color: #808080;
    border-radius: 4px;
    object-fit: contain;
}

.website-name {
    color: white;
    font-family: 'Neuropol', Arial, sans-serif;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-left: 0px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 60px;
    margin-left: 100px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    font-family: 'Neuropol', Arial, sans-serif;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    padding: 10px 0;
    transition: color 0.1s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}

.nav-link.active {
    color: #ff6b6b;
}

/* Ensure active state only applies when it's the current page */
.nav-link.active:not(:hover) {
    color: #ff6b6b;
}

.nav-link.active:hover {
    color: #ff6b6b;
}

/* When mouse leaves active link, return to active state */
.nav-link.active:not(:hover):not(:active) {
    color: #ff6b6b;
}

/* Hero section with background */
.hero-section {
    position: relative;
    height: 76vh;
    background-color: #000;
    background-image: url('public/images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Add space for fixed navbar */
main {
    margin-top: 0;
}

/* Copyright section */
.copyright-section {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
}

.copyright-section p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #cccccc;
    font-size: 0.9rem;
}

/* Mobile Navigation */
.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav-logo {
    width: 28px;
    height: 28px;
    background-color: #808080;
    border-radius: 4px;
    object-fit: contain;
}

.mobile-website-name {
    color: white;
    font-family: 'Neuropol', Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-menu-item {
    margin: 0;
}

.mobile-menu-link {
    display: block;
    color: white;
    font-family: 'Neuropol', Arial, sans-serif;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background-color: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
    color: #ff6b6b;
}

/* Media Queries */
@media screen and (max-width: 980px) {
    .navbar {
        display: none !important;
    }
    
    .mobile-navbar {
        display: block;
    }
}

/* Contact section */
.contact-section {
    background-color: #f5f5f5;
    padding: 30px 20px;
    border-top: 1px solid #ddd;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-icon {
    font-size: 40px;
}

.linkedin-link .contact-icon {
    color: #0077b5;
}

.github-link .contact-icon {
    color: #24292e;
}

.contact-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
}

.linkedin-link .contact-text {
    color: #0077b5;
}

.github-link .contact-text {
    color: #24292e;
}

.contact-link:hover .contact-text {
    text-decoration: underline;
}

.contact-link:hover .linkedin-link .contact-icon {
    color: #005885;
}

.contact-link:hover .github-link .contact-icon {
    color: #1b1f23;
}

/* About content sections */
.about-content-section {
    background-color: #f3f4f6;
    padding: 60px 20px;
}

.about-content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.about-reverse .about-content-container {
    flex-direction: row-reverse;
}

.about-image {
    flex: 0 0 400px;
    height: 500px;
    background-color: #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mini-description {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
    text-transform: none;
    font-style: italic;
    letter-spacing: 0;
    margin-left: 15px;
    display: block;
    margin-top: 0.5rem;
}

.about-text p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    color: #2c2c2c;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Resume button styling */
.resume-button {
    display: inline-block;
    background-color: #ff6b6b;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 8px;
    vertical-align: middle;
}

.resume-button:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

/* Contacts button styling */
.contacts-button {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 8px;
    vertical-align: middle;
}

.contacts-button:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

/* Sales section */
.sales-section {
    background-color: #f8f9fa;
    padding: 100px 20px 40px 20px;
    text-align: center;
}

.sales-container {
    max-width: 700px;
    margin: 0 auto;
}

.sales-content h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.8rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.sales-content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    color: #2c2c2c;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Button actions section */
.button-actions-section {
    background-color: #f8f9fa;
    padding: 10px 20px 60px 20px;
    text-align: center;
}

.button-actions-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.button-action-item p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    color: #2c2c2c;
}

/* Mobile responsiveness for about sections */
@media screen and (max-width: 980px) {
    .about-content-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }
    
    .about-reverse .about-content-container {
        flex-direction: column;
    }
    
    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 400px;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .button-actions-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .sales-content h2 {
        font-size: 2.2rem;
    }
    
    .sales-content p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 600px) {
    .about-content-section {
        padding: 40px 15px;
    }
    
    .about-image {
        height: 350px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .sales-section {
        padding: 60px 15px 30px 15px;
    }
    
    .button-actions-section {
        padding: 10px 15px 40px 15px;
    }
}
