@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600&family=Prata&display=swap');

:root {
    --primary: #1B4332; /* Deep Emerald */
    --primary-light: #2D6A4F;
    --accent: #C9A66B; /* Soft Gold */
    --accent-light: #e0c897;
    --bg-color: #F8F5F2; /* Warm Cream */
    --surface: #FFFFFF;
    --text-main: #2C2C2C;
    --text-muted: #555555;
    --font-heading: 'Prata', serif;
    --font-body: 'Kanit', sans-serif;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Utility */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--accent);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

/* Button */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--surface);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary);
    transition: width 0.4s var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    color: var(--surface);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.15);
}

/* Header */
header {
    background-color: rgba(248, 245, 242, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 166, 107, 0.2);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.nav-links a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    margin-top: 80px; 
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(248, 245, 242, 0) 0%, rgba(248, 245, 242, 1) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
}

.hero-text {
    max-width: 600px;
    padding-left: 4rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-title span {
    color: var(--accent);
    font-style: italic;
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background-color: var(--surface);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--accent-light);
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    z-index: 1;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background-color: var(--bg-color);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--surface);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-bottom-color: var(--accent);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--text-muted);
    font-weight: 300;
}

/* Footer Section */
footer {
    background-color: var(--primary);
    color: var(--surface);
    padding: 5rem 2rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: left;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-col p, .footer-col a {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    display: block;
    font-weight: 300;
    transition: color 0.3s ease;
}

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

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none; /* In a real app we'd add a hamburger menu */
    }
    
    .hero {
        align-items: center;
        text-align: center;
    }
    
    .hero-bg {
        width: 100%;
        opacity: 0.15;
    }
    
    .hero-bg::after {
        display: none;
    }
    
    .hero-content {
        justify-content: center;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}
