:root {
    --primary-blue: #0f172a;
    /* Deep Navy */
    --accent-blue: #38bdf8;
    /* Sky Blue */
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #f0f9ff;
    /* Very light blue */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --font-main: 'Prompt', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navbar */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    padding: 4rem 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url('assets/songkran_water_play_hero_1764263661475.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-blue);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.4);
}

/* Content Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

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

/* Split Section (Image + Text) */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.split-section:nth-child(even) {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.split-image:hover img {
    transform: scale(1.05);
}

.split-text {
    flex: 1;
}

.split-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

.split-text h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* Forms */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, #dbeafe 100%);
}

.auth-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.auth-box h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-btn:hover {
    background: #1e293b;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

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

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        margin: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .split-section {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }

    .split-text h2::after {
        margin: 0.5rem auto;
    }
}