@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&family=Noto+Serif+KR:wght@400&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Serif KR', serif;
    line-height: 1.6;
    color: #1c2d1c;
    background: linear-gradient(180deg, #8fa877 0%, #4a6741 40%, #2d4a2b 100%);
    background-image: url('../images/background.jpg'), linear-gradient(180deg, #8fa877 0%, #4a6741 40%, #2d4a2b 100%);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
}

h1 {
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
} 
p {
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
}

div {
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
}

.fleur-de-leah-regular {
  font-family: "Fleur De Leah", cursive;
  font-weight: 400;
  font-style: normal;
}

.corinthia-regular {
  font-family: "Corinthia", cursive;
  font-weight: 400;
  font-style: normal;
}

.corinthia-bold {
  font-family: "Corinthia", cursive;
  font-weight: 700;
  font-style: normal;
}

.noto-serif-kr-regular {
  font-family: "Noto Serif KR", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.page-wrapper {
    min-height: 100vh;
}

header.top-menu {
    padding-top: 20px;
    position: relative;
    z-index: 100;
}

header .header-brand {
    display: flex;
    align-items: center;
    max-width: 950px;
    margin: 0 auto 15px;
    padding: 0 40px;
}

header h1 {
    font-family: 'Corinthia', cursive;
    font-weight: 700;
    font-size: 4.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header h1 a {
    color: #ffffff;
    text-decoration: none;
}

header h1 a:hover {
    color: #f0f0f0;
}

header .header-logo {
    height: 100px;
    margin-left: 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, .9);
    padding: 20px 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    max-width: 950px;
    margin: 0 auto;
}

.main-nav {
    display: flex;
    justify-content: center;
    flex: 1;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: #1c2d1c;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    padding: 8px 16px;
    transition: all 0.3s ease;
    display: block;
}

.main-nav a:hover {
    color: #47521a;
    background-color: rgba(71, 82, 26, 0.1);
    border-radius: 4px;
}

.social-media {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-left: 40px;
}

.social-media li {
    white-space: nowrap;
}

.social-media a {
    color: #1c2d1c;
    text-decoration: none;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.social-media a i {
    margin-right: 5px;
    font-size: 1.1em;
}

.social-media a:hover {
    color: #47521a;
}

.social-media a:hover i {
    transform: scale(1.2);
}

.container {
    padding: 40px;
    max-width: 950px;
    margin: 40px auto 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.container h2 {
    color: #1c2d1c;
    margin-bottom: 30px;
    font-size: 1.5em;
    font-weight: 400;
    text-align: center;
}

.container p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
    text-indent: 2em;
}

.preview {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.preview img {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    display: block;
    border-radius: 4px;
}

.preview p {
    margin: 10px 0;
}

.preview:hover {
    background-color: #47521a56;
}

.preview:hover a {
    color: #ffffff;
}

.columns-3 {
    column-count: 3;
    column-gap: 30px;
}

.columns-3 a {
    display: block;
    margin: 10px 0;
    color: #1c2d1c;
}

.nothing-yet {
    text-align: center;
    margin-top: 30px;
    color: #666;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 60px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1024px) {
    header.top-menu {
        padding-top: 30px;
    }

    header .header-brand {
        padding: 0 20px;
    }

    header h1 {
        font-size: 2.5em;
    }

    header .header-logo {
        height: 60px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin: 0 20px;
    }
    
    .main-nav {
        gap: 20px;
    }

    .social-media {
        margin-left: 0;
        justify-content: center;
    }

    .container {
        padding: 30px;
        margin: 30px 20px;
    }

    .columns-3 {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    header.top-menu {
        padding-top: 20px;
    }

    header .header-brand {
        padding: 0 10px;
        margin-bottom: 20px;
    }

    header h1 {
        font-size: 2em;
    }

    header .header-logo {
        height: 50px;
        margin-left: 15px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .main-nav a {
        font-size: 0.9em;
        padding: 6px 12px;
    }

    .social-media {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .social-media a {
        font-size: 0.85em;
    }

    .container {
        padding: 20px;
        margin: 20px 10px;
        border-radius: 4px;
    }

    .container h1 {
    }

    .container p {
        text-align: left;
    }

    .columns-3 {
        column-count: 1;
    }
}

@media (max-width: 480px) {
    header.top-menu {
        padding-top: 15px;
    }

    header .header-brand {
        margin-bottom: 15px;
    }

    header h1 {
        font-size: 1.5em;
    }

    header .header-logo {
        height: 40px;
        margin-left: 10px;
    }
    
    .nav-container {
        padding: 15px;
        margin: 0 10px;
    }

    .main-nav {
        flex-direction: column;
        gap: 5px;
        width: 100%;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .social-media {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .container h1 {
        font-size: 1.5em;
    }
}

.events-content-with-image {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.events-text {
    flex: 2;
}

.events-title-image {
    flex: 1;
    max-width: 33.33%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .events-content-with-image {
        flex-direction: column;
    }

    .events-title-image {
        max-width: 100%;
        width: 100%;
    }
}

.harps-gallery {
    margin: 30px 0;
}

.harp-item {
    text-align: center;
    margin: 40px 0;
}

.harp-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

p.harp-description {
    margin-top: 15px;
    font-style: italic;
    text-align: center;
    margin-bottom: 0;
    text-indent: 0;
}

.harp-divider {
    border: none;
    border-top: 1px solid rgba(28, 45, 28, 0.2);
    margin: 40px auto;
    width: 50%;
}

@media (max-width: 768px) {
    .harp-image {
        max-width: 100%;
    }

    .harp-divider {
        width: 80%;
    }
}

.events-links {
    display: flex;
    justify-content: space-around;
    margin: 40px 0 30px 0;
}

.events-links-single {
    text-align: center;
    margin: 40px 0 30px 0;
}

.events-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: rgba(71, 82, 26, 0.1);
    color: #1c2d1c;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.events-link:hover {
    background-color: rgba(71, 82, 26, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.text-center {
    text-align: center !important;
    text-indent: 0 !important;
}

/* Home page styles */
.home-content-with-image {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.home-text {
    flex: 2;
}

.home-main-image {
    flex: 1;
    max-width: 33.33%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-links-gallery {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 50px 0;
}

.link-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.link-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.link-image:hover {
    transform: scale(1.05);
}

.link-item .events-link {
    margin: 0;
}

.link-description {
    font-size: 14px;
    color: #1c2d1c;
    margin: 0 0 5px 0;
    font-style: italic;
    text-align: center;
    max-width: 300px;
}

.social-links-row {
    justify-content: center;
    margin-top: 30px;
}

.social-links-row .link-image {
    width: 300px;
    height: 300px;
}

@media (max-width: 768px) {
    .home-content-with-image {
        flex-direction: column;
    }

    .home-main-image {
        max-width: 100%;
        width: 100%;
    }

    .home-links-gallery {
        flex-wrap: wrap;
    }

    .link-item {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .link-item {
        width: 100%;
    }
}
