/* General Styles */
body {
    background-image: url('frame134.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Old Standard TT', serif;
    color: #f7e7c9;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent scrolling */
}

/* Overlay gradient */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    pointer-events: none;
    z-index: 1;
}

/* Contact Container */
.contact-container {
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 90%;
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* Title Styling */
h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #f7e7c9;
}

.subtitle {
    font-size: 0.9rem;
    color: #f7e7c9;
    margin-bottom: 1rem;
    font-family: 'Work Sans', sans-serif;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group {
    text-align: left;
}

label {
    font-size: 0.85rem;
    color: #f7e7c9;
    margin-bottom: 0.25rem;
    display: block;
    font-family: 'Work Sans', sans-serif;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(247, 231, 201, 0.3);
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: 'Work Sans', sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    color: #f7e7c9;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #f7e7c9;
    outline: none;
}

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

.submit-btn {
    background-color: #8b7355;
    color: #f7e7c9;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Old Standard TT', serif;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: #6b5a45;
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

.response-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-family: 'Work Sans', sans-serif;
    text-align: center;
}