:root {
    --primary-pink: #FFC0CB;
    --primary-beige: #FFF5EA;
    --primary-brown: #4A3F35;
    --text-primary: #2C2C2C;
    --text-secondary: #666666;
    --accent-gold: #D4AF37;
    --max-width: 1200px;
    --mobile-width: 375px;
}

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

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-primary);
    background-color: var(--primary-beige);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

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

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

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

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

@media (max-width: 768px) {
    .logo img {
        height: 32px;
    }
}

/* Desktop Menu */
.desktop-menu {
    display: flex;
    gap: 2rem;
}

.menu-item {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.menu-item:hover {
    color: #666;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-brown);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-beige);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-item {
    display: block;
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(74, 63, 53, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu-item:hover {
    color: var(--primary-brown);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Media Queries */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .logo img {
        height: 32px;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    .mobile-menu,
    .mobile-menu-button,
    .mobile-menu-overlay {
        display: none;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Common Page Styles */
.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-brown);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.container {
    max-width: calc(var(--max-width) - 4rem);
    margin: 0 auto;
    padding: 0;
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 2rem;
    text-align: center;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-brown);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
}

/* List Styles */
.notice-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.notice-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background-color: var(--primary-brown);
    color: white;
    padding: 4rem 2rem;
}

.footer-content {
    max-width: calc(var(--max-width) - 4rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.company-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.info-item {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-share {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-button {
    padding: 0;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/mosaquJsMz.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

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

.hero h1 img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-keywords span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-content {
    margin-top: 1rem;
}

.service-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--primary-beige);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gallery Preview */
.gallery-preview {
    padding: 6rem 2rem;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.text-center {
    text-align: center;
    margin-top: 3rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background-image: url('/images/Resized_20220706_163120_1746589611128.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 768px) {
    .hero h1 img {
        max-width: 300px;
    }

    .services-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

/* Notice Page */
.notice {
    padding: 8rem 2rem 4rem;
    background-color: white;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.notice-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.notice-card:hover {
    transform: translateY(-4px);
}

.notice-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.notice-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notice-content {
    padding: 1.5rem;
}

.notice-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.notice-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Notice Popup */
.notice-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.notice-popup.active {
    display: flex;
}

.notice-detail {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.notice-detail-image {
    position: relative;
    padding-top: 60%;
}

.notice-detail-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notice-detail-content {
    padding: 0 2rem 2rem 2rem;
}

.notice-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    padding: 1rem 2rem 0 2rem;
}

.notice-detail-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0rem 2rem 1rem 2rem;
}

.notice-detail-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

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

@media (max-width: 768px) {
    .notice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Gallery Page */
.gallery-page {
    padding: 8rem 2rem 4rem;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

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

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

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Gallery Popup */
.gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.gallery-popup.active {
    display: flex;
}

.gallery-detail {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.gallery-detail img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.gallery-detail-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
}

.gallery-detail-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-detail-info p {
    font-size: 1rem;
    line-height: 1.4;
}

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Rental Page */
.rental {
    padding: 8rem 2rem 4rem;
    background-color: white;
}

.rental-content {
    width: 100%;
    margin: 0 auto;
}

.rental-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.rental-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.rental-intro,
.rental-process,
.rental-schedule,
.rental-notice,
.rental-message {
    margin-bottom: 4rem;
}

.schedule-list {
    list-style: none;
    padding: 0;
}

.schedule-list li {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule-list li:last-child {
    border-bottom: none;
}

.schedule-list .day {
    font-weight: 700;
    color: var(--text-primary);
    min-width: 80px;
}

.schedule-list .description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.notice-list {
    list-style: none;
    padding: 0;
}

.notice-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.notice-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-beige);
}

.rental-message {
    background-color: var(--primary-beige);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.rental-message p {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .schedule-list li {
        flex-direction: column;
        gap: 0.5rem;
    }

    .schedule-list .day {
        min-width: auto;
    }
}

/* Makeup Page */
.makeup-page {
    padding: 8rem 0 4rem;
    background-color: white;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-brown);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--primary-brown);
    background: transparent;
    transition: all 0.3s ease;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-image {
    position: relative;
    padding-top: 125%;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Makeup Info Section */
.makeup-info {
    padding: 6rem 0;
    background-color: var(--primary-beige);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.info-item h2 {
    font-size: 2rem;
    color: var(--primary-brown);
    margin-bottom: 2rem;
    text-align: center;
}

.style-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.style-list li {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.style-list h3 {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.style-list p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Gallery Popup */
.gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.gallery-popup.active {
    display: flex;
}

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

.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.popup-close:hover {
    color: var(--accent-gold);
}

.image-popup .popup-content {
    background: none;
}

.image-popup img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
    }
}

/* Notice 썸네일 스타일 */
.notice-grid .thumbnail-item .thumbnail-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem;
    height: auto;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.notice-grid .thumbnail-item .thumbnail-overlay h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: keep-all;
}

.notice-grid .thumbnail-item .thumbnail-overlay .notice-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 768px) {
    .notice-grid .thumbnail-item .thumbnail-overlay {
        padding: 0.8rem;
        min-height: 70px;
    }

    .notice-grid .thumbnail-item .thumbnail-overlay h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .notice-grid .thumbnail-item .thumbnail-overlay .notice-date {
        font-size: 0.8rem;
    }
}

/* 썸네일 그리드 레이아웃 */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

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

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

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

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

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    transform: translateY(0);
}

.thumbnail-overlay h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.thumbnail-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .thumbnail-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-overlay {
        padding: 1rem;
    }

    .thumbnail-overlay h3 {
        font-size: 1.1rem;
    }

    .thumbnail-overlay p {
        font-size: 0.85rem;
    }
}

/* 4단 그리드 (공지사항) */
.notice-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* 3단 그리드 (Make-up & Hair) */
.makeup-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* 2단 그리드 (Dress & 한복) */
.dress-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* 태블릿 반응형 (768px 이하) */
@media (max-width: 768px) {
    .notice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .makeup-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dress-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 모바일 반응형 (480px 이하) */
@media (max-width: 480px) {
    .notice-grid,
    .makeup-grid,
    .dress-grid {
        grid-template-columns: 1fr;
    }
}

/* 프로필 페이지 스타일 */
.profile-intro {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-info h2 {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

/* 타임라인 스타일 */
.profile-section {
    margin-bottom: 4rem;
}

.profile-section h2 {
    font-size: 2rem;
    color: var(--primary-brown);
    margin-bottom: 2rem;
    text-align: center;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-gold);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .content {
    direction: ltr;
}

.year {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    padding: 1rem;
}

.content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .content::before {
    right: -31px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .content::before {
    left: -31px;
    transform: translateY(-50%);
}

.content h3 {
    font-size: 1.2rem;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.content p {
    color: var(--text-secondary);
}

/* 자격 및 수상 스타일 */
.certification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.certification-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.certification-item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

.certification-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.certification-item h3 {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
}

.certification-item ul {
    text-align: left;
    padding-left: 1.5rem;
}

.certification-item ul li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    position: relative;
}

.certification-item ul li::before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: -1.5rem;
}

/* 전문 분야 스타일 */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.expertise-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.expertise-item h3 {
    font-size: 1.2rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.expertise-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .profile-intro {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .profile-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .year {
        text-align: left;
        padding-left: 2rem;
    }

    .content::before {
        left: -31px !important;
    }

    .certification-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* 스크롤 탑 버튼 */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #333;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* 공유 버튼 */
.share-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-button .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.share-button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.share-button span {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

.share-button.kakao .icon {
    background-color: #391B1B;
}

.share-button.kakao svg {
    fill: white;
}

.share-button.facebook .icon {
    background-color: #1877F2;
}

.share-button.twitter .icon {
    background-color: #1DA1F2;
}

.share-button.url .icon {
    background-color: var(--primary-brown);
}

.share-button:hover .icon {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .share-buttons {
        bottom: 20px;
        left: 20px;
        gap: 10px;
    }

    .share-button {
        width: 50px;
    }

    .share-button .icon {
        width: 40px;
        height: 40px;
    }

    .share-button svg {
        width: 20px;
        height: 20px;
    }

    .share-button span {
        font-size: 11px;
    }
}

/* 이미지 팝업 스타일 */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup.active {
    display: flex;
}

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

.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--accent-gold);
}

.image-popup .popup-content {
    background: none;
}

.image-popup img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
    }
}

/* Notice 썸네일 스타일 */
.notice-grid .thumbnail-item .thumbnail-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem;
    height: auto;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.notice-grid .thumbnail-item .thumbnail-overlay h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: keep-all;
}

.notice-grid .thumbnail-item .thumbnail-overlay .notice-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 768px) {
    .notice-grid .thumbnail-item .thumbnail-overlay {
        padding: 0.8rem;
        min-height: 70px;
    }

    .notice-grid .thumbnail-item .thumbnail-overlay h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .notice-grid .thumbnail-item .thumbnail-overlay .notice-date {
        font-size: 0.8rem;
    }
}

/* URL Copy Notification */
.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, 20px); }
    15% { opacity: 1; transform: translate(-50%, 0); }
    85% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -20px); }
} 