/* 
 * Main CSS for wan21aiporn.love
 * Features a teal/dark color scheme with modern layout
 */

/* Base Styles and CSS Reset */
:root {
    --primary: #00adb5;
    --primary-light: rgba(0, 173, 181, 0.1);
    --dark: #222831;
    --dark-medium: #393e46;
    --light: #eeeeee;
    --transition: all 0.3s ease;
    --radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: 2.5rem;
}

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

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

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

section {
    padding: 5rem 0;
}

/* Header and Navigation */
.site-header {
    background-color: var(--dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-container h1 {
    margin: 0;
    color: var(--light);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    gap: 1.5rem;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 2rem;
    height: 1.5rem;
    position: relative;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--light);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Buttons */
.cta-button,
.secondary-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: #00919a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 173, 181, 0.3);
}

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

.secondary-button:hover {
    background-color: var(--primary);
    color: white;
}

/* Hero Section */
.hero-section {
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.wave-graphic {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--dark-medium);
    font-size: 1.1rem;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

.blob-graphic {
    width: 300px;
    height: 300px;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.8rem;
}

/* Videos Section */
.videos-section {
    background-color: var(--dark-medium);
    color: var(--light);
    padding: 5rem 0;
}

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

.video-card {
    background-color: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.video-preview {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .overlay {
    opacity: 1;
}

.play-button svg {
    width: 60px;
    height: 60px;
}

.video-card h3 {
    padding: 1rem 1rem 0.5rem;
}

.video-card p {
    padding: 0 1rem 1.5rem;
    color: #aaaaaa;
    font-size: 0.9rem;
}

.view-more {
    text-align: center;
}

/* Premium Section */
.premium-section {
    background-color: var(--dark);
    color: var(--light);
    padding: 6rem 0;
}

.premium-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.premium-text {
    flex: 1;
}

.premium-features {
    margin: 2rem 0;
}

.premium-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.star-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

.premium-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

.premium-badge {
    width: 200px;
    height: 200px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light);
    padding: 5rem 0;
}

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

.faq-item {
    margin-bottom: 2rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.contact-cta {
    text-align: center;
    margin-top: 3rem;
}

.contact-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 3rem 0;
}

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

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

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--light);
}

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

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #aaaaaa;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.legal-links a {
    color: #aaaaaa;
}

.legal-links a:hover {
    color: var(--primary);
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content,
    .premium-content {
        flex-direction: column;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-graphic,
    .premium-graphic {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        gap: 0;
        background-color: var(--dark);
        padding: 6rem 2rem;
        z-index: 100;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}
