/* 
 * aiclothingremoverTH.site - Thai themed styles
 * Thai flag colors: Red (#ED1C24), White (#FFFFFF), Navy Blue (#241D4F)
 */

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

:root {
    --thai-red: #ED1C24;
    --thai-blue: #241D4F;
    --thai-white: #FFFFFF;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --gradient-bg: linear-gradient(135deg, var(--thai-red), var(--thai-blue));
}

body {
    font-family: 'Sarabun', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--thai-white);
}

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

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

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

a:hover {
    color: var(--thai-red);
}

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

/* Button styles */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--thai-red);
    color: var(--thai-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--thai-red);
    text-align: center;
    box-shadow: 0 4px 10px rgba(237, 28, 36, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--thai-red);
    transform: translateY(-3px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--thai-blue);
    border: 2px solid var(--thai-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

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

/* Header styles */
.site-header {
    background-color: var(--thai-white);
    padding: 1.2rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--thai-blue);
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--thai-red);
    font-weight: 800;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-menu a {
    color: var(--dark-gray);
    font-weight: 500;
}

.main-menu a:hover {
    color: var(--thai-red);
}

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

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--thai-blue);
    transition: all 0.3s ease-in-out;
}

/* Hero section */
.hero {
    padding: 5rem 0;
    background: var(--gradient-bg);
    color: var(--thai-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50,15 L55,30 L70,30 L60,40 L65,55 L50,45 L35,55 L40,40 L30,30 L45,30 Z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

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

.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features section */
.features {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--thai-blue);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--dark-gray);
}

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

.feature-card {
    background-color: var(--thai-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(237, 28, 36, 0.1);
}

.thai-icon-1 {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,5 L25,15 L35,17 L27.5,25 L30,35 L20,30 L10,35 L12.5,25 L5,17 L15,15 Z' fill='%23ED1C24'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.thai-icon-2 {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='15' fill='none' stroke='%23ED1C24' stroke-width='2'/%3E%3Ctext x='20' y='25' font-family='Arial' font-size='16' font-weight='bold' text-anchor='middle' fill='%23ED1C24'%3E฿%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.thai-icon-3 {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20,5 L35,20 L20,35 L5,20 Z' fill='none' stroke='%23ED1C24' stroke-width='2'/%3E%3Cpath d='M15,15 L25,25 M15,25 L25,15' stroke='%23ED1C24' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.thai-icon-4 {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='10' y='10' width='20' height='20' rx='5' fill='none' stroke='%23ED1C24' stroke-width='2'/%3E%3Cpath d='M15,20 L18,23 L25,16' stroke='%23ED1C24' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--thai-blue);
}

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

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

.steps {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--thai-blue);
}

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

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

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

.faq-item {
    background-color: var(--thai-white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--thai-blue);
    position: relative;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

/* Footer styles */
.site-footer {
    background-color: var(--thai-blue);
    color: var(--thai-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo-text {
    color: var(--thai-white);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--thai-white);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.7rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--thai-white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-favicon {
    width: 32px;
    height: 32px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-menu ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--thai-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .main-menu.active ul {
        right: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-metrics {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
