/**
 * 레이아웃 - 헤더, 검색 패널, 캘린더 패널
 */

/* 헤더 */
.header-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    position: relative;
    animation: fadeInDown 0.6s ease;
}

h1 {
    color: white;
    text-align: center;
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.header-icons {
    display: flex;
    gap: 6px;
    position: absolute;
    right: 0;
}

.settings-link,
.sync-link,
.feedback-link,
.guide-link,
.add-event-link {
    color: white;
    opacity: 0.85;
    transition: all var(--transition-normal);
    padding: 8px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.settings-link:hover,
.sync-link:hover,
.feedback-link:hover,
.guide-link:hover,
.add-event-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 검색 패널 */
.search-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 180px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: white;
    transition: all var(--transition-normal);
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* 캘린더 패널 */
.calendar-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.calendar-header h2 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.calendar-header h2:hover {
    color: var(--primary-color);
}

.calendar-info {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    background: var(--bg-primary);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Footer */
.site-footer {
    margin-top: 80px;
    padding: 60px 24px 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 32px;
    width: auto;
    opacity: 0.85;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    transition: all var(--transition-normal);
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-align: center;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
