/* 
* undressingTH.pw - Main Styles
* Designed for Thai users
* Primary colors: #00a1e4 (blue), #ff6b6b (coral), #003855 (dark blue)
*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;700&display=swap');

/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

.main-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #003855;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00a1e4, #ff6b6b);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: #003855;
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: #00a1e4;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6b6b;
}

section {
    padding: 5rem 1.5rem;
}

/* Header styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-container {
    width: 200px;
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    color: #003855;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00a1e4, #ff6b6b);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background-color: #00a1e4;
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 161, 228, 0.3);
}

.nav-cta:hover {
    background-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.nav-cta::after {
    display: none;
}

/* Hero section */
.hero-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 5rem 1.5rem;
    background: radial-gradient(circle at top right, rgba(255, 107, 107, 0.05) 0%, rgba(0, 161, 228, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 161, 228, 0.1) 0%, rgba(0, 161, 228, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0) 70%);
    bottom: -50px;
    left: -50px;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.highlight {
    color: #ff6b6b;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.primary-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00a1e4, #0081b4);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 161, 228, 0.3);
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff4b4b);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Features section */
.features-section {
    background-color: #fff;
    padding: 5rem 1.5rem;
}

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

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

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

/* How-to section */
.how-to-section {
    background-color: #f9f9f9;
    background: linear-gradient(135deg, #f9f9f9 0%, #f1f1f1 100%);
    padding: 5rem 1.5rem;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 280px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00a1e4, #0081b4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.2rem;
}

.step-svg {
    width: 100px;
    height: 80px;
    margin: 1.5rem auto 0;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #003855 0%, #002740 100%);
    color: white;
    text-align: center;
    padding: 5rem 1.5rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section h2::after {
    background: linear-gradient(90deg, #00a1e4, #ff6b6b);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

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

/* FAQ section */
.faq-section {
    background-color: #ffffff;
    padding: 5rem 1.5rem;
}

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

.faq-item {
    margin-bottom: 1.5rem;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #00a1e4;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background-color: #003855;
    color: white;
    padding: 4rem 1.5rem 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 3rem;
    gap: 2rem;
}

.footer-logo {
    flex: 2;
    min-width: 280px;
}

.logo-svg-footer {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-links, .footer-legal {
    flex: 1;
    min-width: 160px;
}

footer h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ff6b6b;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.7rem;
}

footer ul li a {
    color: #ccc;
}

footer ul li a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-icon {
    margin-bottom: 1rem;
}

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

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-container {
        flex-direction: column;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-nav ul li {
        margin: 0.5rem;
    }
    
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .footer-legal {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.primary-btn {
    animation: pulse 2s infinite;
}

.feature-card, .step, .faq-item {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.5s; }
.feature-card:nth-child(4) { animation-delay: 0.7s; }

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }
