/* 
   Main Stylesheet for aipornimagecreator.site
   Modern, responsive design optimized for all devices
*/

:root {
    --primary: #1E90FF;      /* Dodger Blue - primary color */
    --secondary: #FF4500;    /* Orange Red - accent color */
    --success: #32CD32;      /* Lime Green - success/action color */
    --dark: #222;            /* Near black - dark elements */
    --light: #F8F9FA;        /* Off-white - light elements */
    --gray: #6C757D;         /* Medium gray - neutral elements */
    --gradient: linear-gradient(135deg, #1E90FF, #4169E1); /* Blue gradient */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --text: #333;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

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

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: var(--dark);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Styling */
section {
    padding: 4rem 1rem;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-svg {
    display: block;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    color: var(--dark);
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1rem 3rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero h2::after {
    background: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.3);
}

.btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 69, 0, 0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background-color: white;
    padding: 5rem 1rem;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* How It Works Section */
.how-it-works {
    background-color: #f5f9ff;
    padding: 5rem 1rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

/* Get Started Section */
.get-started {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.get-started h2 {
    color: white;
}

.get-started h2::after {
    background: white;
}

.get-started p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* FAQ Section */
.faq {
    background-color: white;
    padding: 5rem 1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #ddd;
    padding: 4rem 1rem 1rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
}

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

.footer-links h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #bbb;
}

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

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Media Queries */
@media (min-width: 576px) {
    .features-container, 
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 5rem 2rem;
    }
    
    .hero-content {
        margin-right: 2rem;
        margin-bottom: 0;
        flex: 1;
    }
    
    .hero h2 {
        text-align: left;
    }
    
    .hero h2::after {
        margin: 0.8rem 0 0;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        flex: 2;
    }
}

@media (min-width: 992px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--shadow);
        padding: 1rem;
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav a {
        display: block;
        padding: 0.75rem 0;
    }
}
