/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
    height: 60vh;
    background: url('../images/contact-bg.webp') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    /* Offset for fixed header */
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 37, 69, 0.8), rgba(11, 37, 69, 0.6));
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Section Container */
.contact-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Info Card */
.contact-info-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(201, 161, 74, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--secondary-color);
    margin-right: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.info-item:hover .info-icon {
    transform: scale(1.1);
}

.info-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.info-content p,
.info-content a {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s;
    text-decoration: none;
}

.info-content a:hover {
    color: var(--secondary-color);
}

/* Social Links */
.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-form-card h2 {
    margin-bottom: 10px;
    font-size: 28px;
    color: var(--primary-color);
}

.contact-form-card>p {
    margin-bottom: 30px;
    color: #666;
    font-size: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    background-color: #fcfcfc;
    color: var(--text-color);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(201, 161, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: #000;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #b08d41;
    /* darker shade */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 161, 74, 0.2);
}

/* Map Section */
.map-section {
    height: 450px;
    width: 100%;
    filter: grayscale(100%);
    /* Optional: Artistic effect */
    transition: filter 0.5s;
}

.map-section:hover {
    filter: grayscale(0%);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-hero {
        height: 50vh;
        margin-top: 60px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 25px;
    }
}