/* ===============================
   CONTACT PAGE STYLES
================================= */

/* Background Wrapper */
.background-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;

}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;

}

/* Dark Overlay */
.background-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%);
    z-index: 0;
}

/* Contact Wrapper */
.contact-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 70%;
    margin: 6% auto;
    padding: 60px 40px 120px;
    color: #fff;
    min-height: 100vh;
}

/* Contact Info */
.contact-info {
    animation: slideInLeft 0.8s ease-out;
    z-index: 2;
}


.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 450px;
    font-weight: 900;
}

/* Info Items */
.info-item {
    margin-bottom: 45px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.info-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 900;
    background-image: linear-gradient(90deg, #bfa046, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.info-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 5px 0;
    line-height: 1.5;
    font-weight: 800;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    font-weight: bold;
}

.social-icon:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
}

/* ===============================
   FORM STYLES
================================= */



.form-container {
    background: linear-gradient(135deg, #d4af37 0%, #f0d870 50%, #d4af37 100%);
    border-radius: 20px;
    padding: 15px 20px; /* ↓ smaller vertical & horizontal padding */
    border: 2px solid #f9d77f;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.8s ease-out;
    position: relative;
    z-index: 2;
}


.form-title-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.form-container h2 {
    font-size: 2.2rem;
    color: #2d2d2d;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Form Groups */
.form-group {
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Labels */
label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d2d2d;
    font-size: 0.95rem;
}

.required {
    color: #c41e3a;
    font-weight: 700;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2.5px solid #d4af37;
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2d2d2d;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

textarea {
    resize: vertical;
    min-height: 130px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-top: 15px;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: #f0d870;
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Messages */
.success-message,
.error-message {
    display: none;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    animation: slideDown 0.3s ease-out;
    font-weight: 600;
    color: #fff;
}

.success-message { background: #4caf50; }
.error-message { background: #f44336; }

/* ===============================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
        max-width: 90%;
    }


    .form-container {
        padding: 40px;
    }
}



@media (max-width: 600px) {
    .contact-wrapper {
        max-width: 95%;
        padding: 25px 15px;
        margin-top: 22%;
    }
    .form-container {
        padding: 15px; /* Smaller padding for mobile */
        max-width: 90%; /* Use most of the screen width */
        margin-top: 20px; /* Slight top margin */
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px 12px; /* Smaller padding in form fields */
        font-size: 14px;  /* Adjust font size for mobile */
    }

    .contact-form label {
        margin-bottom: 6px; /* Reduce label spacing */
    }

   

    .form-container h2 {
        font-size: 1.6rem;
    }
}

/* ===============================
   ANIMATIONS
================================= */

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

