/* Import Sarabun Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/* Navigation */
nav {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4a1f4f;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom right, #f3e8ff, #fce7f3, #fed7aa);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.hero-text {
    margin-bottom: 3rem;
}

h1 {
    font-family: Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #4a1f4f;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: #4a5568;
    max-width: 48rem;
    line-height: 1.7;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Blog Section */
.blog-section {
    background: linear-gradient(to bottom right, #eff6ff, #f5f3ff);
    padding: 5rem 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h2 {
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #4a1f4f;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: #f3f4f6;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.blog-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.3s;
    flex: 1;
}

.blog-card:hover .blog-title {
    color: #4a1f4f;
}

.arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.3s;
}

.blog-card:hover .arrow-icon {
    color: #4a1f4f;
}

.blog-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    color: #4a5568;
    line-height: 1.6;
}

/* Social Section */
.social-section {
    background: linear-gradient(to bottom right, #fce7f3, #fed7aa, #fef3c7);
    padding: 5rem 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: scale(1.05);
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.tiktok {
    background: linear-gradient(to bottom right, #22d3ee, #ec4899);
}

.youtube {
    background: linear-gradient(to bottom right, #ef4444, #dc2626);
}

.instagram {
    background: linear-gradient(to bottom right, #a855f7, #ec4899, #fb923c);
}

.facebook {
    background: linear-gradient(to bottom right, #3b82f6, #1d4ed8);
}
.section-container h3 {
  font-size: 1.5rem;
  font-weight: 100;
  padding-bottom: 2rem;
}

/* Footer */
footer {
    background: #4a1f4f;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    height: 2.5rem;
    margin: 0 auto 1rem;
    filter: brightness(0) invert(1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 3rem 1.5rem;
    }

    .hero-image {
        height: 300px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }
}
