/* 
 * Main CSS for aaiclothingremover.rocks
 * Blue/Green color scheme - Modern and Professional Design
 */

:root {
    /* Primary Colors - Blue/Green Scheme */
    --primary: #1976D2;
    --primary-light: #64B5F6;
    --primary-dark: #0D47A1;
    --secondary: #2E7D32;
    --secondary-light: #81C784;
    --secondary-dark: #1B5E20;
    
    /* Neutral Colors */
    --text-dark: #263238;
    --text-light: #78909C;
    --background: #FFFFFF;
    --background-light: #E3F2FD;
    --background-alt: #F5F5F5;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Typography */
    --font-main: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-hero: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.14);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-hero);
}

h2 {
    font-size: var(--font-size-xxl);
    text-align: center;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    font-size: var(--font-size-lg);
    margin: calc(-1 * var(--space-md)) auto var(--space-xl);
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--font-size-md);
    text-align: center;
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--space-md) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-dark);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
}

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

.nav-cta {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: var(--background-light);
    padding: var(--space-xl) 0 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    position: relative;
    z-index: 5;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

/* Features Section */
.features {
    padding: var(--space-xl) 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.feature-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--background-alt);
    padding: var(--space-xl) 0;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--font-size-lg);
}

.step-content h3 {
    margin-bottom: var(--space-sm);
}

/* Examples Section */
.examples {
    padding: var(--space-xl) 0;
}

.example-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.example-item {
    flex: 0 1 400px;
}

.before-after {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.before, .after {
    flex: 1;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.label {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.image-placeholder {
    width: 100%;
    display: block;
}

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

.cta h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta p {
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand h3 {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-links {
    flex: 2 1 600px;
    display: flex;
    justify-content: space-around;
    gap: var(--space-lg);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    color: var(--primary-light);
    margin-bottom: var(--space-md);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    :root {
        --font-size-hero: 2.5rem;
        --font-size-xxl: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: var(--space-lg);
    }
}

@media screen and (max-width: 768px) {
    :root {
        --font-size-hero: 2rem;
        --font-size-xxl: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 80%;
        height: 100vh;
        padding: 80px var(--space-lg) var(--space-lg);
        gap: var(--space-lg);
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    body.menu-open nav ul {
        right: 0;
    }
    
    body.menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    body.menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    body.menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
        align-items: center;
    }
    
    .before-after {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-lg {
    margin-top: var(--space-lg);
}
