/*
 * styles.css - AI PMV Website
 * Modern, responsive design with dark theme and blue/purple gradients
 */

:root {
    --primary-color: #00AEEF;
    --secondary-color: #9E00FF;
    --text-light: #FFFFFF;
    --text-gray: #BBBBBB;
    --background-dark: #0D0D0D;
    --background-card: #151515;
    --gradient-primary: linear-gradient(90deg, #00AEEF 0%, #9E00FF 100%);
    --gradient-hover: linear-gradient(90deg, #9E00FF 0%, #00AEEF 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden;
    position: relative;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(158, 0, 255, 0.1), rgba(0, 0, 0, 0) 70%),
                radial-gradient(circle at bottom left, rgba(0, 174, 239, 0.1), rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: white;
    transition: all 0.3s;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.cta-button:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(158, 0, 255, 0.4);
}

.cta-button.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background-color: rgba(21, 21, 21, 0.6);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background-color: var(--background-card);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background-color: var(--background-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-preview {
    width: 100%;
    height: 200px;
    cursor: pointer;
}

.gallery-item h4 {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
}

.gallery-cta p {
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: rgba(21, 21, 21, 0.6);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-text h3 {
    margin-bottom: 0.5rem;
}

.feature-text p {
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: var(--background-card);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: rgba(21, 21, 21, 0.9);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0.5rem 1.2rem 1.2rem;
    max-height: 300px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(rgba(13, 13, 13, 0.9), rgba(13, 13, 13, 0.9)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,50 Q50,0 100,50 T200,50" stroke="%2300AEEF" stroke-width="0.5" fill="none" opacity="0.5"/></svg>');
    background-size: cover;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    background-color: #080808;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.footer-column a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-logo {
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(13, 13, 13, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 101;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        padding: 0 1rem;
    }
}
