/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Section Styles */
section {
    max-width: 1000px;
    margin: auto;
}

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

.landing-pic {
    width: 100%;
    display: block;
    margin-bottom: 3rem;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 3px dashed rgba(255, 255, 255, 0.5);
    margin: 0;
}

.placeholder-content {
    text-align: center;
    color: #fff;
}

.placeholder-content i {
    font-size: 8rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.placeholder-content p {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Main Section */
.main-section {
    background: #fff;
}

/* Permit Notice */
.permit-notice {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem 2rem;
    text-align: center;
}

.permit-notice h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding: 2rem 0;
    background: linear-gradient(135deg, #2457bd 0%, #1a3d8f 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(36, 87, 189, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Scroll to Form Button */
.scroll-to-form {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
}

.scroll-to-form a {
    width: 90%;
    max-width: 600px;
    display: block;
    text-decoration: none;
}

.scroll-btn {
    background: #e74c3c;
    margin-top: 0;
}

.scroll-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Contact Section */
.contact {
    min-height: 60rem;
    padding: 8rem 3rem;
    background: #fff;
    margin-top: -14rem;
    position: relative;
    z-index: 10;
}

.contact .heading {
    font-size: 4.5rem;
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact form {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact form .input-box {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact form .input-box input {
    height: 9rem;
    width: 100%;
    padding: 0 2.5rem;
    margin: 1.5rem 0;
    font-size: 3rem;
    font-weight: 500;
    border: 0.3rem solid #ddd;
    border-radius: 0.8rem;
    background: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}

.contact form .input-box input::placeholder {
    font-size: 3rem;
    color: #999;
}

.contact form .input-box input:focus {
    outline: none;
    border-color: #2457bd;
}

/* Privacy Policy */
.privacy-content {
    max-height: 250px;
    overflow-y: auto;
    border: 0.2rem solid #ddd;
    border-radius: 0.8rem;
    padding: 2rem;
    background: #fafafa;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.privacy-content.active {
    max-height: 250px;
    overflow-y: auto;
    border: 0.2rem solid #ddd;
    border-radius: 0.8rem;
    padding: 2rem;
    background: #fafafa;
}

.policy-text {
    font-size: 1.3rem;
    line-height: 1.6;
}

.policy-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2457bd;
    font-weight: 600;
}

.policy-text h4 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 600;
}

.policy-text p,
.policy-text ul {
    margin-bottom: 0.8rem;
    color: #555;
}

.policy-text ul {
    padding-left: 1.8rem;
}

.policy-text li {
    margin-bottom: 0.4rem;
}

/* Agreement Checkbox */
.agreement {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
}

.agreement input[type="checkbox"] {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    margin-top: 0.3rem;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement label {
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1.4;
    text-align: left;
}

.agreement .required {
    color: #e74c3c;
    font-weight: bold;
}

.agreement .toggle-link {
    text-decoration: underline;
    cursor: pointer;
    color: #2457bd;
    margin-left: 0.5rem;
    font-size: 1.4rem;
}

.agreement .toggle-link:hover {
    color: #1a3d8f;
}

/* Buttons */
.btn {
    width: 100%;
    height: 8rem;
    font-size: 3.5rem;
    font-weight: 700;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    margin-top: 3rem;
}

.submit-btn {
    background: #2457bd;
}

.submit-btn:hover {
    background: #1a3d8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 87, 189, 0.3);
}

.phone-btn {
    background: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.phone-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.phone-btn i {
    font-size: 3.5rem;
}

/* Phone Button Link */
.contact a {
    display: block;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #8d929c;
    color: #fafafa;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

footer .footer-logo {
    max-width: 200px;
    margin-bottom: 2rem;
}

footer .content p {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    max-width: 600px;
}

footer .content .email {
    text-transform: lowercase;
}

footer .copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .contact {
        margin-top: -7rem;
    }

    .contact form {
        width: 90%;
    }
}

@media (max-width: 500px) {
    html {
        font-size: 50%;
    }

    .permit-notice {
        padding: 2rem 1.5rem 1rem 1.5rem;
    }

    .permit-notice h2 {
        font-size: 2.5rem;
        padding: 1.5rem 0;
    }

    .scroll-to-form {
        padding: 2rem 1.5rem;
    }

    .scroll-to-form a {
        width: 100%;
    }

    .contact {
        min-height: 47rem;
        padding: 3rem 1.5rem;
    }

    .contact .heading {
        font-size: 2.4rem;
    }

    .contact form {
        width: 100%;
    }

    .contact a {
        width: 100% !important;
    }

    .contact form .input-box {
        flex-direction: column;
    }

    .contact form .input-box input {
        width: 100%;
        height: 7rem;
        font-size: 2.2rem;
        padding: 0 2rem;
    }

    .contact form .input-box input::placeholder {
        font-size: 2.2rem;
    }

    footer .content p {
        font-size: 1.4rem;
        padding: 0.5rem;
    }

    .privacy-content,
    .privacy-content.active {
        max-height: 200px;
        padding: 1.5rem;
    }

    .policy-text {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .image-placeholder {
        min-height: 250px;
    }

    .placeholder-content i {
        font-size: 5rem;
        margin-bottom: 1.5rem;
    }

    .placeholder-content p {
        font-size: 1.8rem;
    }

    .agreement {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-start;
    }

    .agreement input[type="checkbox"] {
        margin-top: 0.2rem;
    }

    .agreement label {
        font-size: 1.6rem;
        text-align: left;
    }

    .btn {
        height: 7rem;
        font-size: 2.2rem;
    }

    .phone-btn i {
        font-size: 2.2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Styles */
a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}
