/* Contact Page Styles - Palette Marbre */

/* Hero Section */
.hero-section {

    padding: 100px 0 80px;
    background: linear-gradient(135deg, #F5F5F5 0%, #DDD0C8 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2C2C2C;
    position: relative;
}

.hero-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #2E4F4F;
    transition: width 0.6s ease;
}

.hero-section:hover .hero-title:after {
    width: 120px;
    background: #C9B37E;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2C2C2C;
    max-width: 90%;
    opacity: 0.8;
}

.hero-image-container {
    position: relative;
    padding: 20px;
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(46, 79, 79, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    max-width: 100%;
    height: auto;
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 79, 79, 0.25);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: rgba(118, 250, 160, 0.3);
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.shape-2 {
    width: 70px;
    height: 70px;
    background: rgba(118, 250, 160, 0.3);
    bottom: 10%;
    right: -20px;
    animation-delay: 2s;
}
.shape-3 {
    width: 90px;
    height: 90px;
    background: rgba(118, 250, 160, 0.3);
    bottom: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #F5F5F5;
}

/* Contact Info Cards */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(46, 79, 79, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(221, 208, 200, 0.3);
}

.contact-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 179, 126, 0.08) 0%, rgba(221, 208, 200, 0.15) 100%);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(46, 79, 79, 0.15);
    border-color: #C9B37E;
}

.contact-card:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #DDD0C8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #2E4F4F;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: #2E4F4F;
    color: #F5F5F5;
    transform: rotateY(180deg);
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2C2C2C;
}

.contact-card p {
    font-size: 0.95rem;
    color: #2C2C2C;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(46, 79, 79, 0.1);
    position: relative;
    border: 1px solid rgba(221, 208, 200, 0.2);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 1rem;
    color: #2C2C2C;
    opacity: 0.8;
}

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

.contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 8px;
    display: block;
    transition: all 0.3s ease;
}

.contact-form .form-control {
    height: auto;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #DDD0C8;
    border-radius: 8px;
    background-color: #F5F5F5;
    transition: all 0.3s ease;
    position: relative;
    color: #2C2C2C;
}

.contact-form .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #2E4F4F;
    background-color: #fff;
}

.contact-form .form-control:focus + .focus-border {
    transform: scaleX(1);
    opacity: 1;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2E4F4F 0%, #C9B37E 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

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

.form-check-input {
    margin-top: 0.3rem;
    accent-color: #2E4F4F;
}

.form-check-label {
    font-size: 0.9rem;
    color: #2C2C2C;
    opacity: 0.8;
}

.btn-submit {
    background: #2E4F4F;
    color: #F5F5F5;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C9B37E 0%, #2E4F4F 100%);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.btn-submit:hover {
    color: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(201, 179, 126, 0.4);
}

.btn-submit:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

/* Form Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    color: #2E4F4F;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.form-success p {
    font-size: 1rem;
    color: #2C2C2C;
    margin-bottom: 25px;
    opacity: 0.8;
}

.btn-outline {
    background: var(--light-gray);

    color: #2E4F4F;
    border: 2px solid black;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2E4F4F;
    color: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 179, 126, 0.3);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: #DDD0C8;
}

.map-container {
    position: relative;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(46, 79, 79, 0.15);
}

.map-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(46, 79, 79, 0.9) 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #F5F5F5;
}

.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #C9B37E;
}

.overlay-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-outline-light {
    background: transparent;
    color: #C9B37E;
    border: 2px solid #C9B37E;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #C9B37E;
    color: #1A1A1A;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 179, 126, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #2C2C2C;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(46, 79, 79, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(221, 208, 200, 0.3);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(46, 79, 79, 0.15);
    border-color: #C9B37E;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(221, 208, 200, 0.1);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2E4F4F;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #C9B37E;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px;
    transition: all 1s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    font-size: 0.95rem;
    color: #2C2C2C;
    line-height: 1.6;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2E4F4F 0%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/placeholder.svg?height=200&width=200") no-repeat center center;
    opacity: 0.05;
}

.cta-content {
    text-align: center;
    color: #F5F5F5;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #C9B37E;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-content .btn {
    background: #C9B37E;
    color: #1A1A1A;
    border: 2px solid #C9B37E;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-content .btn:hover {
    background: transparent;
    color: #C9B37E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(201, 179, 126, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        padding: 180px 0 60px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .contact-form-container {
        padding: 30px;
        margin-top: 40px;
    }

    .map-overlay {
        width: 250px;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 160px 0 40px;
        text-align: center;
    }

    .hero-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .hero-image-container {
        margin-top: 40px;
    }

    .contact-info-container {
        margin-bottom: 40px;
    }

    .map-overlay {
        position: relative;
        width: 100%;
        height: auto;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(46, 79, 79, 0.95) 100%);
    }

    .map-container {
        height: auto;
    }

    .map-container iframe {
        height: 300px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}