/* 
   undresserTH.love - Main Stylesheet
   Unique teal/gold Thai-themed design
*/

:root {
    --primary: #00897B;
    --primary-light: #4DB6AC;
    --primary-dark: #005F56;
    --accent: #FFD700;
    --accent-light: #FFE54C;
    --accent-dark: #E6B800;
    --text: #212121;
    --text-light: #757575;
    --bg-white: #FFFFFF;
    --bg-light: #E0F2F1;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 15px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sarabun', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.wrapper {
    position: relative;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

/* Wave Background */
.wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    min-height: 350px;
    background: linear-gradient(to bottom right, var(--primary), var(--primary-light));
    z-index: 0;
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* Header */
header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.logo span {
    color: var(--accent);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    color: #fff;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 5px 0;
    position: relative;
}

.menu a:hover {
    color: var(--accent);
}

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

.menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0 120px;
    color: #fff;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

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

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background-color: var(--accent-dark);
    color: var(--text);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Steps Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.step {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary);
}

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

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 137, 123, 0.3);
}

.step-icon::before {
    content: '';
    position: absolute;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    z-index: -1;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.step h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.4rem;
}

/* Features Section */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 35px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--accent);
}

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

.feature-icon {
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.3rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    clip-path: ellipse(150% 100% at 50% 50%);
    margin: 40px 0;
}

.cta h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta p {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-btn {
    background-color: var(--accent);
    color: var(--text);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    font-size: 1.1rem;
    padding: 16px 36px;
}

.cta-btn:hover {
    background-color: var(--accent-dark);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 5px solid var(--primary);
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background-color: #212121;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo p {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-logo span {
    color: var(--accent);
}

footer h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 12px;
}

footer a {
    color: white;
    opacity: 0.8;
}

footer a:hover {
    color: var(--accent);
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 2.4rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu-toggle:checked ~ .menu {
        max-height: 300px;
    }
    
    .menu ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }
    
    .menu li {
        margin-bottom: 15px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .cta {
        padding: 70px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
}

@media screen and (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .btn {
        display: block;
        width: 100%;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .faq-item {
        padding: 20px;
    }
}
