/* Global Styles */
:root {
    --primary-color: #6a11cb;
    --primary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --secondary-color: #2575fc;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #121212;
    --light-bg: #f8f9fa;
    --gray: #6c757d;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    width: 100%;
    display: block;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s ease;
    display: none;
}

@media (min-width: 992px) {
    .cursor {
        display: block;
    }
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Header & Navigation */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 7rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn.primary {
    background: var(--primary-gradient);
    color: var(--light-text);
}

.btn.primary:hover {
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
    transform: translateY(-3px);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

/* Featured Music Section */
.featured-music {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.music-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.music-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.music-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.album-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.music-card:hover .album-cover img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.2rem;
    opacity: 0;
    cursor: pointer;
    transition: var(--transition);
}

.music-card:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.music-info {
    padding: 1.5rem;
}

.music-info h3 {
    margin-bottom: 0.5rem;
}

.music-info p {
    color: var(--gray);
}

/* Latest News Section */
.latest-news {
    padding: 5rem 2rem;
    background-color: white;
}

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

.news-item {
    display: flex;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 1rem;
}

.news-date .day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.9rem;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
}

.news-content h3 {
    margin-bottom: 0.5rem;
}

.news-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.3rem;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 0.6rem;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 0.8rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.music-player.active {
    transform: translateY(0);
}

.player-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

.now-playing img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

.track-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.track-info p {
    font-size: 0.8rem;
    color: var(--gray);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.player-controls button:hover {
    color: var(--primary-color);
}

#play-pause-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #e1e1e1;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: var(--primary-gradient);
    width: 0;
}

#current-time, #duration {
    font-size: 0.8rem;
    color: var(--gray);
    min-width: 40px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.copyright {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .player-content {
        flex-wrap: wrap;
    }
    
    .progress-container {
        order: 1;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 80%;
        height: 100vh;
        padding: 5rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 2rem;
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .menu-toggle.active i {
        color: var(--primary-color);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Page Header */
.page-header {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* About Page Styles */
.about-content {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-text .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-text .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
}

.about-text .social-links a:hover {
    background: var(--primary-gradient);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Timeline Styles */
.milestones {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 1;
    box-shadow: var(--box-shadow);
}

.timeline-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    width: calc(50% - 50px);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: calc(50% + 30px);
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline-content p {
    line-height: 1.6;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.skill-item h3 {
    margin-bottom: 0.5rem;
}

.skill-item p {
    color: var(--gray);
}

/* Responsive Styles for About Page */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        text-align: center;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-date {
        left: 40px;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .timeline-content {
        width: calc(100% - 90px);
        left: 80px !important;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

/* Music Page Styles */
.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Albums Section */
.albums {
    padding: 5rem 0;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.album-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.album-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-info {
    padding: 2rem;
}

.album-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.album-year {
    color: var(--gray);
    margin-bottom: 1rem;
}

.album-desc {
    line-height: 1.6;
}

/* Tracks Section */
.tracks {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tab {
    padding: 0.5rem 1.5rem;
    background: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.tab.active, .tab:hover {
    background: var(--primary-gradient);
    color: white;
}

.track-list {
    max-width: 900px;
    margin: 0 auto;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.track-number {
    font-weight: 700;
    color: var(--gray);
    width: 40px;
}

.track-info {
    flex: 1;
}

.track-info h3 {
    margin-bottom: 0.2rem;
}

.track-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

.track-duration {
    color: var(--gray);
    margin-right: 1.5rem;
}

.track-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.track-play:hover {
    transform: scale(1.1);
}

/* Streaming Section */
.streaming {
    padding: 5rem 0;
}

.streaming p {
    margin-bottom: 3rem;
}

.streaming-platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    text-align: center;
    transition: var(--transition);
}

.platform-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.platform-item:hover i {
    color: var(--secondary-color);
}

/* Responsive styles for music page */
@media (max-width: 768px) {
    .album-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .track-item {
        flex-wrap: wrap;
    }
    
    .track-duration {
        margin-left: auto;
    }
}

/* Contact Page Styles */
.contact-content {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2, .contact-form h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-method h3 {
    margin-bottom: 0.3rem;
}

.contact-method a {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-info .social-links {
    display: flex;
    gap: 1rem;
}

.contact-info .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
}

.contact-info .social-links a:hover {
    background: var(--primary-gradient);
    color: var(--light-text);
    transform: translateY(-3px);
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-family: 'Noto Sans KR', sans-serif;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e9e9e9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background: white;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(106, 17, 203, 0.05);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.accordion-header i {
    transition: var(--transition);
    color: var(--primary-color);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px; /* Adjust as needed */
}

.accordion-content p {
    line-height: 1.6;
}

/* Responsive styles for contact page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-info h2, .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .accordion-header {
        padding: 1.2rem;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
    }
}

/* Gallery Page Styles */
.gallery-content {
    padding: 5rem 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-gradient);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.gallery-zoom {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-zoom:hover {
    background: var(--primary-gradient);
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0.9;
    cursor: pointer;
    transition: var(--transition);
}

.video-play:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--gray);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 5px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.lightbox-caption h3 {
    margin-bottom: 0.2rem;
}

.lightbox-caption p {
    opacity: 0.8;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary-gradient);
}

.lightbox-close {
    top: -50px;
    right: 0;
}

.lightbox-prev {
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: var(--primary-gradient);
}

/* Responsive styles for gallery page */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* 매일 해야 할 일 섹션 스타일 */
.daily-tasks {
    display: block;
    width: 100%;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    background: white;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    box-sizing: border-box;
}

.daily-tasks h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.daily-tasks h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.daily-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.daily-task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.daily-task-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.2);
}

.daily-task-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.daily-task-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.daily-task-item span {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* 할 일 관리 앱 스타일 */
.todo-app {
    display: block;
    width: 100%;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    box-sizing: border-box;
}
.todo-app h2 {
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    color: #6a32c6;
    text-align: center;
}
.todo-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}
#todo-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
#todo-form select,
#todo-form input[type="text"],
#todo-form input[type="time"] {
    padding: 0.4rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
#todo-form button[type="submit"] {
    background: linear-gradient(135deg, #b721ff 0%, #21d4fd 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
#todo-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #21d4fd 0%, #b721ff 100%);
}
.todo-category-group {
    margin-bottom: 1.5rem;
}
.todo-category-group h3 {
    color: #21d4fd;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.todo-category-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.todo-category-group li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #f7f7fa;
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}
.todo-title {
    flex: 1 1 40%;
    font-weight: 500;
}
.todo-priority {
    color: #b721ff;
    font-size: 0.95em;
}
.todo-time {
    color: #888;
    font-size: 0.95em;
}
.todo-edit, .todo-delete {
    background: none;
    border: none;
    color: #6a32c6;
    font-size: 1em;
    cursor: pointer;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    transition: background 0.2s;
}
.todo-edit:hover {
    background: #e6e6ff;
}
.todo-delete:hover {
    background: #ffe6e6;
    color: #d32f2f;
}
/* 매일 해야 할 일 섹션 반응형 스타일 */
@media (max-width: 768px) {
    .daily-tasks {
        padding: 3rem 1.5rem;
    }
    
    .daily-tasks h2 {
        font-size: 1.5rem;
    }
    
    .daily-tasks-list {
        max-width: 100%;
    }
    
    .daily-task-item {
        padding: 12px 15px;
    }
    
    .daily-task-item span {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .daily-tasks {
        padding: 2rem 1rem;
        border-radius: 15px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .daily-tasks h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .todo-app {
        padding: 2rem 1rem;
        max-width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    #todo-form {
        flex-direction: column;
        gap: 0.3rem;
    }
    .todo-category-group ul {
        display: block !important;
        max-height: unset !important;
        overflow: visible !important;
        padding: 0;
        margin: 0;
    }
    .todo-category-group li {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        font-size: 1rem;
        height: auto !important;
        overflow: visible !important;
    }
}
.todo-progress {
    color: #2196f3;
    font-weight: 600;
    margin-left: 0.5em;
    font-size: 0.98em;
}
