/* 
* Main Stylesheet for aimilfporn.pw
* Using teal and orange color palette with dark accents
*/

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

:root {
    --primary: #2EC4B6;     /* Teal */
    --secondary: #FF9F1C;   /* Orange */
    --accent: #FF3366;      /* Pink accent */
    --dark: #011627;        /* Very dark blue */
    --light: #FDFFFC;       /* Off-white */
    --gray: #E6E8E6;        /* Light gray */
    --text: #333333;        /* Dark gray text */
}

body {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h1 span {
    color: var(--primary);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text);
    opacity: 0.9;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Header Styles */
.main-header {
    background-color: var(--light);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.logo a {
    display: block;
    height: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
}

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

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

.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 196, 182, 0.3);
}

.btn-primary:hover {
    background-color: #27a99d;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 196, 182, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.3);
}

.btn-secondary:hover {
    background-color: #e88f17;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.4);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(46, 196, 182, 0.4);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 196, 182, 0.5);
    color: white;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.separator {
    height: 3px;
    width: 60px;
    background: var(--primary);
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(1, 22, 39, 0.03) 0%, rgba(46, 196, 182, 0.07) 100%);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-visual {
    flex: 1;
    text-align: right;
}

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

/* About Section */
.about {
    background-color: var(--light);
}

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

.about-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* AI Tech Section */
.ai-tech {
    background-color: var(--gray);
    position: relative;
}

.tech-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tech-text {
    flex: 1;
}

.tech-features {
    margin-bottom: 30px;
}

.tech-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.tech-features li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: -15px;
}

.tech-visual {
    flex: 1;
    text-align: center;
}

/* Gallery Section */
.gallery {
    background-color: white;
}

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

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item svg {
    width: 100%;
    height: auto;
}

.gallery-item h4 {
    padding: 15px;
    background-color: var(--light);
}

.gallery-action {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.link-group ul {
    list-style: none;
    margin: 0;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.link-group ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-inner {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 40px;
        padding-right: 0;
    }
    
    .tech-wrapper {
        flex-direction: column;
    }
    
    .tech-text {
        order: 2;
    }
    
    .tech-visual {
        order: 1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 15px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}
