* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', '맑은 고딕', sans-serif !important;
    font-weight: 700 !important;
}

:root {
    --brown-primary: #8B4513;
    --brown-secondary: #A0522D;
    --brown-light: #D2B48C;
    --brown-dark: #654321;
    --brown-bg: #F5E6D3;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --beige-light: #F5F1E8;
    --beige-medium: #E8E0D3;
    --beige-dark: #D4C4B0;
}

body {
    font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', '맑은 고딕', sans-serif !important;
    font-weight: 700 !important;
    color: var(--text-dark);
    background-color: var(--brown-bg);
    line-height: 1.6;
}

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

/* Header */
header {
    background: var(--beige-light);
    color: var(--text-dark);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin: 0;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--brown-primary);
    background-color: var(--beige-medium);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--brown-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--beige-medium);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.mobile-nav-logo {
    padding: 20px 0 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    text-align: center;
}

.mobile-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

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

.mobile-nav-link {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--beige-light);
    padding-left: 10px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Image Sections */
.image-section {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    background: var(--beige-light);
    padding: 80px 0;
    margin-top: 40px;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: bold;
}

.form-notice {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 20px;
    background: var(--beige-medium);
    border-radius: 10px;
    border-left: 4px solid var(--brown-primary);
}

.form-notice p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--brown-dark);
    font-weight: 600;
    font-size: 1rem;
}

.name-field-wrapper {
    width: 100%;
}

.name-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.name-input-group input {
    flex: 1;
}

.verify-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--brown-primary) 0%, var(--brown-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.verify-btn:active {
    transform: translateY(0);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--brown-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brown-primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    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='%233E2723' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-top: 20px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--brown-primary);
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
}

.privacy-link {
    color: var(--brown-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--brown-dark);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--beige-dark) 0%, var(--brown-light) 100%);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--brown-light) 0%, var(--beige-dark) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--beige-light);
    color: var(--text-dark);
    padding: 50px 0;
    margin-top: 40px;
}

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

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
    color: var(--text-dark);
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.footer-section {
    background: var(--beige-medium);
    padding: 20px;
    border-radius: 10px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-dark);
    border-bottom: 2px solid var(--beige-dark);
    padding-bottom: 10px;
}

.footer-section p {
    margin: 10px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section a {
    color: var(--brown-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-section a:hover {
    color: var(--brown-dark);
    border-bottom-color: var(--brown-dark);
}

.kakao-link {
    color: #FEE500 !important;
    font-weight: 600;
}

.kakao-link:hover {
    color: #FFD700 !important;
    border-bottom-color: #FFD700 !important;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--brown-primary) 0%, var(--brown-dark) 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.6);
}

.floating-btn:active {
    transform: translateY(-1px) scale(1.05);
}

.phone-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    animation: pulse 2s infinite;
}

.phone-btn:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

.top-btn {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.7);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

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

    .logo {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 40px;
    }

    .mobile-logo-img {
        height: 50px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .footer-content h3 {
        font-size: 1.3rem;
    }

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

    .footer-section {
        text-align: center;
        padding: 15px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .logo-img {
        height: 35px;
    }

    .footer-logo-img {
        height: 40px;
    }

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

    .contact-form {
        padding: 25px 15px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

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

/* Privacy Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid var(--beige-light);
    background: var(--beige-light);
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: var(--beige-medium);
    color: var(--brown-primary);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h4 {
    font-size: 1.2rem;
    color: var(--brown-primary);
    margin: 25px 0 15px;
    font-weight: bold;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 10px 0;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.modal-body li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 8px 0;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid var(--beige-light);
    text-align: right;
    background: var(--beige-light);
    border-radius: 0 0 15px 15px;
}

.modal-close-btn {
    padding: 12px 30px;
    background: var(--brown-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body h4 {
        font-size: 1.1rem;
    }

    .modal-footer {
        padding: 15px 20px;
    }

    .form-notice {
        padding: 15px;
    }

    .form-notice p {
        font-size: 0.9rem;
    }

    .name-input-group {
        flex-direction: column;
    }

    .verify-btn {
        width: 100%;
    }
}

.notice-content {
    text-align: center;
    padding: 20px 0;
}

.notice-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 15px 0;
    color: var(--text-dark);
}

.notice-content p strong {
    color: var(--brown-primary);
    font-size: 1.2rem;
}

.notice-phone {
    margin-top: 30px;
    padding: 20px;
    background: var(--beige-light);
    border-radius: 10px;
}

.notice-phone p {
    font-size: 1.2rem;
    margin: 0;
}

.notice-phone a {
    color: var(--brown-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.notice-phone a:hover {
    color: var(--brown-dark);
    text-decoration: underline;
}

