/* =====================================================
   BLS Wedding - Main Styles
   ===================================================== */

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* =====================================================
   Header
   ===================================================== */
header {
    background: #fff;
    border-bottom: 1px solid #efefef;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 116px;
}

main {
    width: 100%;
}

/* Header Top: Logo + Util Links */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 24px;
    gap: 40px;
    width: 100%;
    margin: 0;
}

/* Header Bottom: Navigation */
.header-bottom {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 56px;
    width: 100%;
    margin: 0;
    border-top: 1px solid #f0f0f0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-logo img {
    height: 28px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.header-logo span {
    font-size: 1.05em;
    font-weight: 700;
    color: #D4888F;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    letter-spacing: -0.5px;
}

/* User Menu */
.header-user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.header-user-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8em;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    height: 36px;
    white-space: nowrap;
    margin: 0;
}

.header-user-menu a:hover {
    background-color: #f5f5f5;
    color: #D4888F;
}

.header-user-menu i {
    font-size: 14px;
    margin: 0;
}

/* Navigation */
.header-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    padding: 0;
    margin: 0;
    border-top: none;
    flex: 1;
}

.header-nav a {
    font-size: 0.95em;
    font-weight: 500;
    color: #333;
    padding: 0;
    margin: 0;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.header-nav a:hover {
    color: #D4888F;
    border-bottom-color: #D4888F;
}

/* =====================================================
   Main Content
   ===================================================== */
main {
    background: #fff;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 1024px) {
    .header-top {
        padding: 0 20px;
        height: 56px;
        gap: 24px;
    }

    .header-bottom {
        padding: 0 20px;
        height: 52px;
    }

    .header-nav {
        gap: 24px;
    }

    .header-logo span {
        font-size: 1em;
    }

    .header-nav a {
        font-size: 0.9em;
    }

    .header-user-menu a {
        font-size: 0.75em;
        padding: 6px 8px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 0 16px;
        height: 52px;
        gap: 12px;
    }

    .header-bottom {
        display: none;
    }

    .header-logo span {
        display: none;
    }

    .header-logo img {
        height: 24px;
    }

    .header-user-menu {
        gap: 4px;
    }

    .header-user-menu a {
        padding: 4px 6px;
        font-size: 0.7em;
    }

    .header-user-menu span {
        display: none;
    }

    .header-user-menu i {
        font-size: 12px;
    }

}

@media (max-width: 480px) {
    .header-top {
        padding: 0 12px;
        height: 48px;
    }

    .header-logo img {
        height: 20px;
    }

    .header-user-menu {
        gap: 2px;
    }

    .header-user-menu a {
        padding: 4px 4px;
        height: 28px;
    }

}
