/* Color Variables */
.contact-hero {
    background-image: url('../images/contact-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(105, 105, 105, 0.3); /* grey overlay */
}

/* Hero Section */
.hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2; /* this is to make sure content appears above overlay */
}

.breadcrumb-custom {
    font-size: 1rem;
    position: relative;
    color: #ffffff;
    z-index: 2; /* this is to make sure content appears above overlay */
}

.breadcrumb-custom a {
    text-decoration: none;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-custom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Main Content Section */
.main-content {
    padding: 30px 0;
    margin: 0;
    background: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 50px;
}

/* Contact Cards */
.contact-cards-section {
    margin-bottom: 60px;
}

.contact-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 185, 160, 0.1), transparent);
    transition: left 0.6s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: #C4B9A0;
    box-shadow: 0 15px 35px rgba(125, 82, 47, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #C4B9A0, #CAC3B2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.75rem;
}

.contact-card-text {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Two Column Layout */
.two-column-section {
    margin-top: 30px;
}

/* Image Section */
.image-section {
    border: 2px solid #C4B9A0;
    border-radius: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* Contact Form */
.contact-form-section {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 2.5rem;
    height: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.75rem;
}

.form-subtitle {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.form-floating {
    margin-bottom: 1rem;
    outline: none;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    outline: none;
}

.form-control:focus {
    border-color: #C4B9A0;
    box-shadow: 0 0 0 0.25rem rgba(196, 185, 160, 0.25);
    outline: none;
}

.form-control:hover {
    border-color: #CAC3B2;
}

.contact-form-section textarea.form-control {
    min-height: 80px;
    height: 80px;
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
}

.btn-submit {
    background: linear-gradient(135deg, #C4B9A0, #CAC3B2);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 185, 160, 0.4);
}

/* Button Success State */
.btn-submit.btn-success-state {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

.btn-submit.btn-success-state:hover {
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.6);
}

/* Success icon animation */
.btn-success .bi-check-circle {
    animation: checkBounce 0.6s ease;
}

/* Social Media Section */
.social-section {
    background: #C4B9A0;
    padding: 2.5rem 0;
    text-align: center;
    color: #ffffff;
}

.social-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Libre Baskerville', serif;
}

.social-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: #ffffff33;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #C4B9A0;
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
}

.map-container {
    background-image: url("../images/contact-map.png");
    border: 3px dashed #7d522f;
    border-radius: 20px;
    height: 400px;
    display: flex;
    position: relative;
    margin-bottom: 2.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #7d522f 0%, #5a3a21 100%);
    padding: 2.5rem;
    border-radius: 20px;
    color: #ffffff;
}

.newsletter-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.newsletter-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background: #ffffff;
    color: #000000;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-newsletter {
    background: #000000;
    color: #7d522f;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-newsletter:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}