/* landing/static/css/main.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    /* UPDATED: Blue gradient background for logo visibility */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

/* UPDATED: White nav links for blue background */
.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.hero {
    text-align: center;
    padding: 80px 0 100px 0;
    color: white;
}

/* UPDATED: Large integrated logo above h1 */
.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    height: 150px;
}

.hero-logo .logo-main {
    position: relative;
    font-weight: bold;
}

.hero-logo .logo-main .x-behind {
    position: absolute;
    font-size: 10rem;
    color: transparent;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(1.8);
    font-weight: 900;
    font-family: 'Georgia', serif;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.25);
    text-stroke: 2px rgba(255, 255, 255, 0.25);
    line-height: 1;
}

.hero-logo .logo-main .sgc-front {
    position: relative;
    z-index: 2;
    font-size: 5rem;
    letter-spacing: 0.15em;
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.features {
    background: white;
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.project-showcase {
    background: linear-gradient(45deg, #667eea, #764ba2);
    padding: 80px 0;
    color: white;
}

.project-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-logo {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.consonant {
    color: #fff;
    background: transparent;
}

.vowel {
    color: #000;
    background: #fff;
    padding: 0.1em 0.15em;
    border-radius: 4px;
}

.project-title {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 10px;
    text-align: center;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.project-link {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: translateY(-2px);
}

.about {
    background: white;
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.collaboration-highlight {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 5px solid #667eea;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Additional styles for content pages */
.content-section {
    background: white;
    padding: 80px 0;
    min-height: 60vh;
}

.content-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.content-section .container {
    max-width: 800px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-summary {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
}

.project-summary h3 {
    color: #333;
    margin-bottom: 15px;
}

.project-status {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* SGCX Logo Styles - UPDATED */
.logo-svg {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

/* Logo color variations */
.logo-white {
    color: white;
}

.logo-dark {
    color: #333;
}

/* Specific logo sizes */
.logo-nav {
    height: 40px;
}

.logo-main {
    height: 60px;
}

.logo-small {
    height: 32px;
}

/* Logo container - remove text styles from parent */
.logo {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
}

/* Responsive design for hero logo */
@media (max-width: 768px) {
    .hero-logo {
        height: 100px;
        margin-bottom: 30px;
    }
    
    .hero-logo .logo-main .x-behind {
        font-size: 6rem;
        transform: translate(-50%, -50%) scaleX(1.6);
    }
    
    .hero-logo .logo-main .sgc-front {
        font-size: 3rem;
        letter-spacing: 0.1em;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-svg {
        height: 40px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 20px 0;
}

.nav-links.mobile-open li {
    margin: 0;
    text-align: center;
}

.nav-links.mobile-open a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links.mobile-open a:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Ensure header stays above everything */
header {
    position: relative;
    z-index: 10000;
}

.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    padding: 20px 0;
}

.nav-links.mobile-open li {
    margin: 0;
    text-align: center;
}

.nav-links.mobile-open a {
    display: block;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links.mobile-open a:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive design for hero logo */
@media (max-width: 768px) {
    .hero-logo {
        height: 100px;
        margin-bottom: 30px;
    }
    
    .hero-logo .logo-main .x-behind {
        font-size: 6rem;
        transform: translate(-50%, -50%) scaleX(1.6);
    }
    
    .hero-logo .logo-main .sgc-front {
        font-size: 3rem;
        letter-spacing: 0.1em;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Show mobile menu button, hide desktop nav */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Make nav container relative for absolute positioning */
    nav {
        position: relative;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-svg {
        height: 40px;
    }
    
    /* Better button spacing */
    .cta-button {
        margin: 10px 5px;
        display: inline-block;
        min-width: 120px;
        text-align: center;
    }
    
    .project-link {
        margin: 8px 0;
        display: inline-block;
        min-width: 100px;
        text-align: center;
    }
}