/*
* AINudeGeneratorTH.love - Thai AI Nude Generator Website
* Main stylesheet with Thai-inspired elements and red color scheme
*/

/* Base styles and variables */
:root {
    --primary: #E11D48;
    --primary-dark: #9F1239;
    --primary-light: #FB7185;
    --accent: #FCA5A5;
    --accent-light: #FECDD3;
    --background: #FFF1F2;
    --white: #FFFFFF;
    --dark: #1E1B1E;
    --gray-dark: #4B5563;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Prompt', 'Sarabun', sans-serif;
    --section-padding: 5rem 0;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.6rem;
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
}

h3 {
    font-size: 2.4rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 1rem 2.4rem;
    border-radius: 5rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

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

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

.btn-large {
    font-size: 1.8rem;
    padding: 1.4rem 3rem;
}

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

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark);
}

.logo-text {
    font-weight: 700;
    font-size: 2rem;
}

.logo .accent {
    color: var(--primary);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav ul li a {
    color: var(--gray);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav ul li a:hover {
    color: var(--primary);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    background-color: var(--primary);
    margin: 0.5rem 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-light);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 6rem;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 3.8rem;
}

.hero-text p {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

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

.hero-svg {
    width: 100%;
    max-width: 50rem;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: translateY(1px);
}

.wave-divider svg {
    width: 100%;
    height: auto;
}

/* Animated elements */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating-circle {
    animation: rotate 30s linear infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.4;
    }
}

.pulse-line {
    animation: pulse 2s infinite;
}

@keyframes pulsing {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.pulsing-circle {
    animation: pulsing 1.5s infinite;
}

/* Features Section */
.features-section {
    background-color: var(--background);
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 5rem;
}

.section-header h2 {
    color: var(--primary-dark);
}

.section-header p {
    font-size: 1.8rem;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.4rem;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
}

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

.feature-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

/* How it works */
.how-it-works {
    padding: var(--section-padding);
    background-color: var(--white);
}

.steps {
    max-width: 90rem;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step-number {
    width: 5rem;
    height: 5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-icon {
    width: 5rem;
    height: 5rem;
    flex-shrink: 0;
}

.step-connector {
    padding: 2rem 0 2rem 2.5rem;
}

/* Testimonials */
.testimonials {
    background-color: var(--background);
    padding: var(--section-padding);
}

.testimonial-slider {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.testimonial {
    flex: 1;
    min-width: 28rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h4 {
    margin: 0;
    font-size: 1.6rem;
}

.author-info p {
    margin: 0;
    color: var(--gray);
    font-size: 1.4rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 8rem 0;
    color: var(--white);
}

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

.cta-content {
    max-width: 60rem;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.cta-content p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.thai-decoration {
    width: 15rem;
    height: 15rem;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
}

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

.footer-brand p {
    color: var(--gray-light);
    opacity: 0.7;
    margin-top: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.footer-links h3,
.footer-features h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul,
.footer-features ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links ul li a {
    color: var(--gray-light);
    opacity: 0.7;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-features ul li {
    color: var(--gray-light);
    opacity: 0.7;
}

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

.disclaimer {
    font-size: 1.4rem;
    color: var(--gray-light);
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.copyright {
    font-size: 1.4rem;
    color: var(--gray-light);
    opacity: 0.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-visual {
        grid-row: 1;
        margin-bottom: 3rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .cta-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .thai-decoration {
        margin-top: 3rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 50rem;
        margin: 0 auto;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .menu-toggle {
        display: block;
        z-index: 101;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 1.5rem 0;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .step-content {
        order: 2;
    }
    
    .step-icon {
        order: 1;
    }
    
    .step-connector {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .hero-section {
        padding: 3rem 0 0;
    }
    
    .cta-section {
        padding: 6rem 0;
    }
}
