/* Landing Page - Footer Styles (v3) */

.landing-footer {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 18, 47,0.52);
    z-index: 1;
}

.footer-content-wrapper {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* New Header Row */
.footer-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-header-left .footer-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8em;
    font-weight: 400;
    color: #fff; /* Ensure title is white */
}

.footer-header-right .footer-subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Main Content Row */
.footer-main-row {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Make left col even narrower */
    gap: 0;
    align-items: stretch; /* Make columns equal height */
}

.footer-contact-box {
    background-size: cover;
    background-position: center;
    padding: 30px;
    border-radius: 15px 0 0 15px; /* Round left corners */
    height: 100%; /* Make height consistent */
}

.contact-box-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.contact-info-item a { color: #fff; }

.contact-info-item i {
    font-size: 1.2em;
    margin-right: 15px;
    margin-top: 5px;
}

.social-links-title {
    margin-top: 20px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.social-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links-list li {
    display: inline-block;
    margin-right: 10px;
}

.social-links-list a {
    color: #fff;
    font-size: 1.4em;
    transition: color 0.3s ease;
}

.social-links-list a:hover {
    color: #ddd;
}

.footer-right .form-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-form-wrapper {
    background-color: #fff;
    color: #333;
    padding: 40px;
    border-radius: 0 15px 15px 0; /* Round right corners */
    height: 100%; /* Make height consistent */
}

/* Custom Form Styling - Enhanced */
.custom-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}
.custom-form .form-row:last-child {
    margin-bottom: 0;
}

.custom-form input[type="text"],
.custom-form input[type="tel"],
.custom-form input[type="email"],
.custom-form textarea {
    width: 100% !important;
    padding: 16px 20px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    color: #333 !important;
    background-color: #f5f7fa !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03) !important;
    height: auto !important;
    line-height: normal !important;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #adb5bd !important;
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none !important;
    border-color: #007bff !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1) !important;
}

.custom-form button[type="submit"] {
    width: 100%;
    background-image: linear-gradient(to right, #7b2d6a, #3c1047);
    color: #fff;
    padding: 16px; /* Match input padding */
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77,24,80,0.5);
}
.custom-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123,45,106,0.7);
}
.form-messages {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}
.form-messages.success { background-color: #d4edda; color: #155724; }
.form-messages.error { background-color: #f8d7da; color: #721c24; }


.privacy-policy-link {
    text-align: center;
    margin-top: 15px;
}
.privacy-policy-link a {
    color: #555;
    font-size: 0.9em;
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.footer-wave-divider {
    line-height: 0;
    margin-bottom: -2px;
}

.footer-wave-divider img {
    width: 100%;
}

.footer-copyright-bar {
    /* background-color: #fff; */ /* Removed white background */
    color: #fff; /* White text */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.footer-copyright-bar .copyright-text {
    opacity: 0.8;
    margin: 0;
}

.footer-copyright-bar .bottom-logo {
    position: absolute;
    right: 50px;
    max-width: 150px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-header-row, .footer-main-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-header-right {
        margin-bottom: 30px;
    }
    .footer-contact-box {
        margin: 0 auto;
        max-width: 500px;
    }
    .contact-info-item {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .footer-copyright-bar {
        flex-direction: column;
        gap: 15px;
    }
    .footer-copyright-bar .bottom-logo {
        position: static;
    }
}
@media (max-width: 576px) {
    .custom-form .form-row {
        flex-direction: column;
    }
}
