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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f5f5f5;
}

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

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    white-space: nowrap;
}

.logo a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.logo a:hover {
    color: #555;
}

/* Remove all dropdown indicators from logo */
.logo a::after,
.logo a::before,
.logo::after,
.logo::before {
    display: none !important;
    content: none !important;
}

.gym-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: 2px solid #2c3e50;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    padding: 8px 35px 8px 15px;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s ease;
    width: auto;
}

.gym-select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.gym-select:hover {
    border-color: #3498db;
}

nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

nav ul li a.active {
    color: #007bff;
    font-weight: 700;
}

/* Remove dropdown arrow styles */
nav ul li a::after {
    content: none;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    content: none;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    padding: 0;
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #333;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 13px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 19px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 25px;
}

@media (max-width: 768px) {
    header .container {
        position: relative;
        padding: 10px 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        padding: 10px;
        width: 100%;
        display: block;
    }

    .logo {
        position: relative;
    }
    
    .logo a::after,
    .logo a::before,
    .logo::after,
    .logo::before {
        display: none !important;
        content: none !important;
    }
}

/* Remove any pseudo-elements that might interfere with the icon */
.mobile-menu-toggle::before,
.mobile-menu-toggle::after,
.mobile-menu-toggle *::before,
.mobile-menu-toggle *::after {
    display: none !important;
    content: none !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
    padding: 0 20px;
}

.hero .container {
    width: 100%;
}

.hero-logo {
    width: 180px;
    height: 180px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #004D40, transparent);
    border-radius: 1px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    z-index: 1;
}

.section-header .view-more {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 15px;
    z-index: 1;
}

.section-header .view-more:hover {
    color: #004D40;
}

.section-header .view-more::after {
    content: ">";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.section-header .view-more:hover::after {
    transform: translateX(3px);
}

/* Schedule Section */
.schedule {
    padding: 80px 0;
    background-color: #fff;
}

.schedule img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* News Page Styles */
.news {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.news-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.news-buttons {
    display: flex;
    gap: 15px;
}

.news-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-btn:hover {
    background-color: #f8f9fa;
    border-color: #aaa;
}

.news-btn i {
    font-size: 16px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.news-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.news-source {
    color: #0047AB;
    font-weight: 500;
}

.news-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    color: #666;
}

.news-error i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.news-error p {
    font-size: 16px;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .news-buttons {
        width: 100%;
        justify-content: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-image {
        height: 180px;
    }
}

/* Location Page Styles */
.location {
    padding: 60px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.location-map {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-info {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-group {
    margin-bottom: 30px;
}

.info-group h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.info-group h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
}

.info-group p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.address {
    font-weight: 500;
    color: #333;
}

.parking-note {
    color: #0047AB;
    font-weight: 500;
    margin-top: 4px;
}

.facility-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.facility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.facility-item img {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.facility-item span {
    font-size: 14px;
    color: #666;
}

.location-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-location {
    flex: 1;
    padding: 12px 20px;
    background: #0047AB;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-location:hover {
    background: #003380;
}

@media (max-width: 768px) {
    .location {
        padding: 40px 0;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map {
        height: 300px;
    }

    .facility-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-buttons {
        flex-direction: column;
    }
}

/* Footer Styles */
footer {
    background-color: #000;
    color: #fff;
    padding: 30px 0;
    font-size: 14px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    color: #999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-select {
    position: relative;
    width: fit-content;
}

.footer-select-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #666;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    padding: 8px 15px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-select-link:hover {
    border-color: #999;
    color: #fff;
}

.footer-select-link i {
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
}

.footer-select-link:hover i {
    color: #999;
}

.footer-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-item {
    color: #999;
    font-size: 14px;
}

.footer-divider {
    color: #666;
}

.footer-email {
    color: #999;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.social-link {
    color: #999;
    font-size: 20px;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #fff;
}

.social-link i {
    line-height: 0;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .footer-info {
        align-items: center;
        text-align: center;
    }

    .footer-select {
        width: auto;
    }

    .footer-select-link {
        min-width: 160px;
        justify-content: center;
    }

    .footer-details {
        justify-content: center;
    }

    .social-links {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-details {
        flex-direction: column;
        gap: 8px;
    }

    .footer-divider {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    /* Remove dropdown arrow for mobile */
    .mobile-menu-toggle::after,
    .mobile-menu-toggle::before,
    .mobile-menu-toggle *::after,
    .mobile-menu-toggle *::before {
        display: none !important;
        content: none !important;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        padding: 10px;
        width: 100%;
        display: block;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }

    .hero-logo img {
        width: 120px;
        height: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-logo img {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .news-card h3 {
        font-size: 1.3rem;
    }

    .location-info {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Floating Menu */
.floating-menu {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    align-items: flex-end;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 50px;
    height: 50px;
    background-color: #2f3640;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.floating-btn i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    margin-right: 17px;
}

.floating-btn span {
    position: absolute;
    right: 50px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    pointer-events: none;
    padding-right: 10px;
}

.floating-btn:hover {
    width: 140px;
    border-radius: 25px;
}

.floating-btn:hover i {
    margin-right: 17px;
}

.floating-btn:hover span {
    opacity: 1;
    right: 45px;
}

.top-btn {
    background-color: #e74c3c;
    justify-content: center !important;
    flex-direction: column;
    gap: 2px;
}

.top-btn i {
    margin-right: 0 !important;
    position: static;
    transform: none;
    font-size: 1.1rem;
}

.top-btn span {
    position: static;
    opacity: 1;
    font-size: 0.7rem;
    padding: 0;
    margin: 0;
}

.top-btn:hover {
    background-color: #c0392b;
    width: 50px !important;
}

/* Responsive Design for Floating Menu */
@media (max-width: 768px) {
    .floating-menu {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
    }

    .floating-btn i {
        font-size: 1.2rem;
        margin-right: 15px;
    }

    .floating-btn:hover {
        width: 130px;
    }

    .floating-btn span {
        font-size: 0.9rem;
    }

    .top-btn i {
        margin-right: 0 !important;
        position: static;
        transform: none;
        font-size: 1rem;
    }

    .top-btn span {
        font-size: 0.65rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.gallery-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #004D40, transparent);
    border-radius: 1px;
}

.gallery-header h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    z-index: 1;
}

.gallery-header .view-more {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.gallery-header .view-more:hover {
    color: #007bff;
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-header .view-more::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.gallery-header .view-more:hover::after {
    transform: translateX(4px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.more-card {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    color: #000;
}

.gallery-item.more-card:hover {
    background-color: #e9ecef;
    transform: translateY(-5px);
    color: #000;
}

.gallery-item.more-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 500;
}

.gallery-item.more-content i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #000;
}

.gallery-item.more-card:hover .more-content i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .gallery-header h2 {
        font-size: 1.5rem;
    }
}

/* About Page Styles */
.about-intro {
    background-color: #000;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.about-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-intro .intro-text {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ddd;
}

.about-intro .intro-desc {
    font-size: 1.2rem;
    color: #999;
}

.about-content {
    padding: 80px 0;
    background-color: #fff;
}

.about-section {
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.about-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.instructor-history,
.facility-list,
.class-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instructor-history li,
.facility-list li,
.class-schedule li {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.instructor-history li::before,
.facility-list li::before,
.class-schedule li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

@media (max-width: 768px) {
    .about-intro {
        padding: 60px 0;
    }

    .about-intro h1 {
        font-size: 2rem;
    }

    .about-intro .intro-text {
        font-size: 1.3rem;
    }

    .about-intro .intro-desc {
        font-size: 1.1rem;
    }

    .about-content {
        padding: 60px 0;
    }

    .about-section {
        padding: 0 20px;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }

    .about-section h3 {
        font-size: 1.3rem;
    }

    .about-section p,
    .instructor-history li,
    .facility-list li,
    .class-schedule li {
        font-size: 1rem;
    }
}

/* About Gallery Page Styles */
.about-gallery {
    padding: 100px 0 60px;
    background-color: #f8f9fa;
}

.about-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    cursor: pointer;
}

.about-gallery .gallery-item:hover {
    transform: scale(1.02);
}

.about-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .about-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .about-gallery {
        padding: 80px 0 40px;
    }

    .about-gallery .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Page Title Styles */
.page-title {
    background-color: #fff;
    padding: 40px 0;
    margin-top: 70px;
    border-bottom: 1px solid #eee;
}

.page-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0;
    position: relative;
    display: inline-block;
}

.page-title h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: #333;
}

.page-title .container {
    text-align: center;
}

@media (max-width: 768px) {
    .page-title {
        padding: 30px 0;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 1.5rem;
    }
}

/* Schedule Page Styles */
.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.schedule-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.schedule-image:hover {
    transform: scale(1.02);
}

.schedule-info {
    text-align: center;
    margin-top: 30px;
    color: #666;
}

.schedule-info p {
    margin: 10px 0;
    line-height: 1.6;
}

.schedule-note {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.schedule-note h3 {
    color: #333;
    margin-bottom: 15px;
}

.schedule-note ul {
    list-style-type: disc;
    padding-left: 20px;
}

.schedule-note li {
    margin-bottom: 10px;
    color: #666;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Updated Footer Styles */
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-info p {
    color: #999;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .schedule-container {
        padding: 30px 15px;
    }

    .schedule-image {
        max-width: 100%;
    }

    .schedule-note {
        padding: 15px;
    }

    .schedule-note h3 {
        font-size: 1.2rem;
    }

    .schedule-note li {
        font-size: 0.95rem;
    }
}

/* Mobile Navigation Styles */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 15px;
}

.mobile-nav ul li:last-child {
    margin-bottom: 0;
}

.mobile-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: #0047AB;
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

/* Login Page Styles */
.login-container {
    padding: 60px 20px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.form-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.login-btn {
    background-color: #007bff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #0056b3;
}

/* Mobile styles for login page */
@media (max-width: 768px) {
    .login-container {
        padding: 40px 20px;
        min-height: calc(100vh - 300px);
    }

    .login-box {
        padding: 30px 20px;
    }

    .form-group input {
        padding: 10px;
        font-size: 16px; /* 모바일에서 자동 확대 방지 */
    }

    .login-btn {
        padding: 12px;
        font-size: 16px;
    }

    /* 모바일 관리자 로그인 링크 스타일 */
    .mobile-nav .admin-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px;
        color: #333;
        font-weight: 500;
    }

    .mobile-nav .admin-link i {
        font-size: 1.2rem;
    }

    .mobile-nav .admin-link:hover {
        color: #007bff;
        background-color: #f8f9fa;
    }
}

/* Login Form Styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
}

.login-box {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.login-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form .remember-me {
    margin: 15px 0;
}

.login-form .login-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.login-form .login-btn:hover {
    background: #0056b3;
}

.login-form .error-message {
    color: #dc3545;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #dc3545;
    border-radius: 4px;
    background: #fff;
} 