/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #333;
    --secondary-color: #f4f4f4;
    --accent-color: #a07d6f; /* Example: Earthy tone */
    --text-color: #333;
    --light-text-color: #fff;
    --font-family-sans: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Dotum', sans-serif;
    --font-family-serif: 'Noto Serif KR', serif; /* Example for a more traditional touch */
}

body {
    font-family: var(--font-family-sans);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

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

/* Header */
.main-header {
    background: var(--light-text-color);
    color: var(--text-color);
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Adjust padding for header specifically */
}

.main-header .logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.main-header .logo a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.main-nav ul li {
    margin-left: 20px;
}

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

.main-nav ul li a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: url('https://via.placeholder.com/1500x800?text=Beautiful+Interior') no-repeat center center/cover;
    color: var(--light-text-color);
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-family-serif);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background: #8e6c60; /* Slightly darker accent */
}

/* Section Styling */
section {
    padding: 60px 0;
    margin-bottom: 20px;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-family: var(--font-family-serif);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--light-text-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin: 15px 15px 5px;
    color: var(--primary-color);
}

.portfolio-item p {
    font-size: 1rem;
    margin: 0 15px 15px;
    color: #666;
}

/* About Section */
.about-section {
    text-align: center;
    background: var(--light-text-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-section address {
    font-style: normal;
    margin-top: 20px;
    font-size: 1.1rem;
}

.contact-section address p {
    margin-bottom: 10px;
}


/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 40px;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.main-footer p {
    margin-bottom: 10px;
}

.social-links {
    margin-top: 10px;
    /* Social icons will go here */
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-header .logo {
        margin-bottom: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 0 0 10px 0;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

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

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 2rem;
    }
}

