:root {
    --primary-color: #2e7d32;
    /* Fresh Green */
    --secondary-color: #1b5e20;
    /* Darker Green */
    --accent-color: #81c784;
    /* Light Green */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?q=80&w=2938&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: -70px;
    /* Counteract navbar height */
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Features Section */
.features {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-wrapper {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 60px;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.2);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-info>p {
    margin-bottom: 40px;
    opacity: 0.8;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    opacity: 0.9;
    font-size: 15px;
}

/* Footer */
footer {
    background: #222;
    color: #888;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
        /* Simple hide for now */
    }

    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Features Section */
.features {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-wrapper {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 60px;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.2);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-info>p {
    margin-bottom: 40px;
    opacity: 0.8;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    opacity: 0.9;
    font-size: 15px;
}

/* Footer */
footer {
    background: #222;
    color: #888;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
        /* Simple hide for now */
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 30px;
    }
}

/* Portfolio Styles */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    /* Top padding accounts for fixed navbar */
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-thumb {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-date {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    background: rgba(46, 125, 50, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.portfolio-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.portfolio-content p {}

.section-header p {
    color: var(--text-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-wrapper {
    background: var(--primary-color);
    border-radius: 20px;
    padding: 60px;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(46, 125, 50, 0.2);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.contact-info>p {
    margin-bottom: 40px;
    opacity: 0.8;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-item p {
    opacity: 0.9;
    font-size: 15px;
}

/* Footer */
footer {
    background: #222;
    color: #888;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
        /* Simple hide for now */
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 30px;
    }
}

/* Portfolio Styles */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    /* Top padding accounts for fixed navbar */
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-thumb {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-date {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    background: rgba(46, 125, 50, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.portfolio-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.no-data {
    text-align: center;
    width: 100%;
    grid-column: 1 / -1;
    padding: 50px;
    background: #f5f5f5;
    border-radius: 10px;
    color: #666;
}

.photo-count {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

.portfolio-item {
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    position: relative;
    text-align: center;
}

#galleryImage {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .nav-links {
        display: none;
        /* Simple hide for now */
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 30px;
    }
}

/* Portfolio Styles */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    /* Top padding accounts for fixed navbar */
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-thumb {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-date {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    background: rgba(46, 125, 50, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.portfolio-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.no-data {
    text-align: center;
    width: 100%;
    grid-column: 1 / -1;
    padding: 50px;
    background: #f5f5f5;
    border-radius: 10px;
    color: #666;
}

.photo-count {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

.portfolio-item {
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    position: relative;
    text-align: center;
}

#galleryImage {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide-counter {
    color: #f2f2f2;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    bottom: -40px;
    width: 100%;
    text-align: center;
}

.gallery-description {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    margin-top: 10px;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
    max-height: 150px;
    overflow-y: auto;
    white-space: pre-wrap;
    /* Preserve line breaks */
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}