/* Base Styles */
body,
html {
    margin: 0;
    padding: 0;
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    /* Default font */
}

p {
    margin-bottom: 0 !important;
}

/* contact Section */
.contact-section {
    margin-top: -70px !important;
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../images/contact/Thaproban-Beach-House-Penthouse-5.webp') center/cover no-repeat;
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.contact-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 500px;
}

.contact-title {
    font-family: 'Marcellus', serif !important;
    font-size: 4.8rem !important;
    color: white !important;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    font-weight: 300;
    max-width: 800px;
    text-align: center;
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: #ffffff;
    width: 100%;
    overflow: hidden;
}

.section-header {
    text-align: center;
    padding-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wave-icon {
    height: 40px !important;
    filter: grayscale(100%) opacity(0.7) !important;
    margin-bottom: 20px !important;
}

.section-subtitle {
    color: #3F5E4E;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
    font-family: 'Marcellus', serif;
}

.contact-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.map-container {
    width: 60%;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
}

.map-wrapper {
    height: 450px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-container {
    width: 40%;
    padding: 40px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.info-content {
    text-align: center;
}

.accent-line {
    width: 50px;
    height: 2px;
    background: #3F5E4E;
    margin: 0 auto 30px;
}

.info-title {
    font-family: 'Marcellus', serif;
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #1F2E27;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
    gap: 12px;
}

.contact-text {
    font-family: 'Montserrat', sans-serif;
    color: #555;
    margin: 0;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: #3F5E4E;
    transition: fill 0.3s;
}

/* Inquiry Section */
.inquiry-section {
    padding: 80px 0;
    background-color: #F3F3F0;
    width: 100%;
    overflow: hidden;
}

.inquiry-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    flex-wrap: wrap;
}

.form-container {
    width: 45%;
    padding: 0 30px;
    box-sizing: border-box;
}

.form-wrapper {
    border: 1px solid #3F5E4E;
    padding: 40px;
    text-align: center;
    background-color: white;
}

.form-header {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.form-title {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
}

.form-description {
    font-family: 'Montserrat', sans-serif;
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3F5E4E;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #555;
    background-color: #F9F9F9;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #3F5E4E;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #555;
    background-color: #F9F9F9;
    margin-bottom: 25px;
    box-sizing: border-box;
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #3F5E4E;
    color: white;
    border: none;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
}


.image-container {
    width: 55%;
    overflow: hidden;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media Queries */
@media (max-width: 1024px) {
    .contact-title {
        font-size: 4rem !important;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-tagline {
        font-size: 0.8rem;
        letter-spacing: 3px;
        max-width: 90%;
    }

    .contact-title {
        font-size: 2.5rem !important;
        max-width: 90%;
    }

    .contact-description {
        font-size: 1rem;
        max-width: 90%;
    }

    .map-container,
    .info-container {
        width: 100%;
        padding: 20px;
    }

    .map-wrapper {
        height: 350px;
    }

    .form-container,
    .image-container {
        width: 100%;
    }

    .image-container {
        height: 400px;
        order: -1;
        margin-bottom: 30px;
    }

    .form-wrapper {
        margin-top: 30px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2rem !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .info-title,
    .form-title {
        font-size: 1.3rem;
    }

    .map-wrapper {
        height: 250px;
    }

    .image-container {
        height: 300px;
    }
}

/* Hover Effects */
.submit-button:hover {
    background-color: #2C4236;
}

.social-icon:hover {
    fill: #2C4236;
}

.social-icon.instagram:hover {
    fill: #5D4037;
}