/* 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.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.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;
    transform: scale(1);
}

.nav-link.active:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}

/* 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;
}

/* 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;
}

/* 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;
}

/* Contact Content Section */
.contact-content-section {
    background-color: #f8f9fa;
    padding: 60px 20px;
}

.contact-content-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-message {
    text-align: center;
    margin-bottom: 50px;
}

.contact-message h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.personal-message {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info {
    margin-bottom: 40px;
}

.email-section {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.email-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.email-link {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #357abd;
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.contact-form-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.form-note {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 25px;
    font-style: italic;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.submit-btn {
    background-color: #4a90e2;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Disclaimer Section */
.form-disclaimer {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

/* Collaboration Section */
.collaboration-section {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.collaboration-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.collaboration-section p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Message Styles */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
    border: 2px solid;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.form-message.loading {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Media Queries */
@media screen and (max-width: 980px) {
    .navbar {
        display: none !important;
    }
    
    .mobile-navbar {
        display: block;
    }
}
