/*
 * Undresser Thailand - Main Stylesheet
 * Author: Undresser
 * Version: 1.0
 */

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

:root {
    --primary: #4CAF50;
    --secondary: #FFD700;
    --dark: #263238;
    --light: #f9f9f9;
    --gray: #757575;
    --gradient: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Sarabun';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sarabun/v13/DtVjJx26TKEr37c9aAFJn2QN.woff2) format('woff2');
    unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}

body {
    font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 15px;
}

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

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title span {
    color: var(--primary);
    position: relative;
}

.section-title span:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
}

section {
    padding: 80px 0;
    position: relative;
}

/* Lotus Pattern Background - Thai-inspired design element */
.lotus-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10px 10px, rgba(76, 175, 80, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

/* Header Styles - Unique circular floating menu */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

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

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

.logo-icon {
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Circle Navigation - A unique Thai-inspired navigation style */
.circle-nav {
    position: relative;
}

.nav-items {
    display: flex;
    list-style: none;
}

.nav-items li {
    margin: 0 5px;
}

.nav-items li a {
    display: block;
    padding: 8px 15px;
    color: var(--dark);
    position: relative;
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-items li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transform: translateX(-50%);
    transition: var(--transition);
}

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

.nav-items li a:hover:after {
    width: 70%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

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

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.main-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
    color: white;
}

.second-btn {
    display: inline-block;
    padding: 14px 29px;
    background: transparent;
    color: var(--dark);
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.second-btn:hover {
    background-color: rgba(76, 175, 80, 0.05);
    color: var(--primary);
}

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

.hero-image {
    flex: 1;
    text-align: center;
    max-width: 500px;
}

/* Features Section */
.features-section {
    background-color: white;
}

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

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    border-radius: var(--radius) var(--radius) 0 0;
}

.feature-icon {
    margin: 0 auto 20px;
}

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

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

/* How It Works Section */
.how-section {
    background-color: rgba(76, 175, 80, 0.05);
}

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

.steps-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.step-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 30px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    flex: 1;
    position: relative;
    box-shadow: var(--shadow);
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: white;
}

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

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 3px solid var(--primary);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    transition: var(--transition);
}

.toggle-icon {
    transition: var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    height: auto;
    padding: 0 20px 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-section .main-btn:hover {
    background: var(--dark);
    color: white;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-icon {
    margin-right: 10px;
}

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

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-column li {
    margin-bottom: 10px;
}

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

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

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-items {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    .nav-items.active {
        left: 0;
    }
    
    .nav-items li {
        margin: 10px 20px;
    }
    
    .steps-wrapper:before {
        display: none;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-links {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .favicon-display {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .main-btn, .second-btn {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
