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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
/* H1 Font - Retro gaming console style */
.section-title,
.contact-title {
    font-family: 'Press Start 2P', 'VT323', monospace;
    font-size: clamp(1.5rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00d4ff;
    text-shadow: 3px 3px 0 #005a7a,
                 6px 6px 0 #003d52;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* H2 Font - Roboto/Sans-serif */
.section-text h2 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Regular text */
.section-text p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* ============================================
   Fixed Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.motto {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #00d4ff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.contact-btn,
.home-link {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover,
.home-link:hover {
    background: linear-gradient(135deg, #0099ff 0%, #00ccff 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 153, 255, 0.4);
}

/* ============================================
   Main Content & Sections
   ============================================ */
main {
    padding-top: 80px;
    padding-bottom: 100px;
}

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

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

/* Background Images for Each Section */
.mission-section .parallax-bg {
    background-image: url('assets/mission.jpg');
}

.technology-section .parallax-bg {
    background-image: url('assets/technology.jpg');
}

.product-section .parallax-bg {
    background-image: url('assets/product.jpg');
}

.applications-section .parallax-bg {
    background-image: url('assets/applications.jpg');
}

.services-section .parallax-bg {
    background-image: url('assets/services.jpg');
}

/* Content Overlay for readability */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

/* Section Content */
.section-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 90%;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.section-text {
    padding: 1.5rem;
}

/* ============================================
   Fixed Bottom Menu
   ============================================ */
.bottom-menu {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 30px;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.menu-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 1rem;
}

.menu-link {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.menu-link.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.2);
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-page {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.contact-main {
    padding-top: 100px;
    padding-bottom: 120px;
    min-height: 100vh;
}

.contact-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-title {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    color: #cccccc;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0099ff 0%, #00ccff 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 153, 255, 0.4);
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.contact-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

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

.section-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Glowing effect for titles on hover */
.section-title:hover {
    text-shadow: 3px 3px 0 #005a7a,
                 6px 6px 0 #003d52,
                 0 0 20px rgba(0, 212, 255, 0.8);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .motto {
        font-size: 0.75rem;
    }
    
    .section-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-text h2 {
        font-size: 1.1rem;
    }
    
    .section-text p {
        font-size: 0.9rem;
    }
    
    .bottom-menu {
        width: 90%;
        padding: 0.5rem 1rem;
    }
    
    .menu-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .menu-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .contact-section {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .motto {
        display: none;
    }
    
    .section-content {
        padding: 1rem;
    }
    
    .bottom-menu {
        bottom: 3%;
        width: 95%;
    }
}
