/* 
   brookemonkaiporn.site - Main Stylesheet
   Teal/Turquoise Color Theme
   Mobile-first responsive design
*/

/* === Base Styles === */
:root {
    --primary: #1ABC9C;
    --primary-light: #2EE4C3;
    --primary-dark: #16A085;
    --accent: #F39C12;
    --text: #2C3E50;
    --text-light: #7F8C8D;
    --background: #FFFFFF;
    --background-alt: #F9F9F9;
    --card-bg: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.08);
    --border: #ECF0F1;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-container {
    max-width: 100%;
    overflow-x: hidden;
}

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

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2:after {
    content: "";
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

section {
    padding: 4rem 1.5rem;
}

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

/* === Header & Navigation === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--background);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    margin-right: 0.75rem;
}

.logo-area h1 {
    font-size: 1.3rem;
    margin-bottom: 0;
    white-space: nowrap;
}

nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 1rem 0;
}

nav.active {
    display: block;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
}

nav ul li {
    margin: 0.8rem 0;
}

nav ul li a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* === Hero Section === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #F9F9F9 0%, #ECF0F1 100%);
    text-align: center;
}

.hero-content {
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.hero-content h2:after {
    content: "";
    position: absolute;
    width: 40%;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 30%;
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.main-button {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
}

.main-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.4);
}

.hero-graphic {
    margin-top: 2rem;
    max-width: 100%;
}

/* === About Section === */
.about {
    background-color: var(--background);
    text-align: center;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.card p {
    color: var(--text-light);
}

/* === Features Section === */
.features {
    background-color: var(--background-alt);
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-content {
    text-align: center;
}

/* === How It Works === */
.how-it-works {
    text-align: center;
    background: linear-gradient(135deg, #F9F9F9 0%, #ECF0F1 100%);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.cta-container {
    margin-top: 3rem;
}

/* === Footer === */
footer {
    background-color: #2C3E50;
    color: white;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo p {
    margin-left: 1rem;
    margin-bottom: 0;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.link-group h4:after {
    content: "";
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: var(--primary);
    bottom: -5px;
    left: 0;
    border-radius: 1px;
}

.link-group ul {
    list-style-type: none;
}

.link-group ul li {
    margin-bottom: 0.7rem;
}

.link-group ul li a {
    color: #ECF0F1;
    transition: color 0.3s ease;
}

.link-group ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #95A5A6;
    font-size: 0.85rem;
}

/* === Animations === */
.feature, .card, .step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature.animate, .card.animate, .step.animate {
    opacity: 1;
    transform: translateY(0);
}

/* === Media Queries === */
@media (min-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 5rem 3rem;
    }
    
    .logo-area h1 {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        display: none;
    }
    
    nav {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0;
        width: auto;
    }
    
    nav ul {
        flex-direction: row;
        padding: 0;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .hero {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        gap: 2rem;
    }
    
    .hero-content h2:after {
        left: 0;
    }
    
    .info-cards {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .card {
        flex: 1;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        flex-direction: row;
    }
    
    .step {
        flex: 1;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 4rem;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
        margin: 0 auto;
    }
    
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .logo-area h1 {
        font-size: 1.8rem;
    }
}
