/* style/contact.css */

/* Variables for consistency */
:root {
    --page-contact-primary-color: #007bff; /* Deep Blue */
    --page-contact-secondary-color: #ffc107; /* Amber Gold */
    --page-contact-text-color: #333;
    --page-contact-light-text-color: #fff;
    --page-contact-background-light: #f8f9fa;
    --page-contact-background-dark: #212529;
    --page-contact-border-color: #dee2e6;
    --page-contact-focus-color: #0056b3; /* Darker primary for focus */
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-contact-text-color);
    background-color: var(--page-contact-background-light);
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-contact__hero {
    background: linear-gradient(135deg, var(--page-contact-primary-color) 0%, var(--page-contact-secondary-color) 100%);
    color: var(--page-contact-light-text-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: page-contact__bubble1 10s infinite ease-in-out;
}

.page-contact__hero::after {
    content: '';
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: page-contact__bubble2 12s infinite ease-in-out;
}

@keyframes page-contact__bubble1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 30px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes page-contact__bubble2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -20px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

.page-contact__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-contact-light-text-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-contact__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-contact__hero-description a {
    color: var(--page-contact-secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-contact__hero-description a:hover {
    color: #ffd700; /* Slightly brighter gold on hover */
}


/* General Section Styling */
.page-contact__info-section,
.page-contact__form-section,
.page-contact__map-section,
.page-contact__social-section {
    padding: 60px 0;
    background-color: var(--page-contact-background-light);
}

.page-contact__section-title {
    font-size: 2.5em;
    color: var(--page-contact-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-contact-text-color);
}

.page-contact__section-description a {
    color: var(--page-contact-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-contact__section-description a:hover {
    text-decoration: underline;
}

/* Info Grid Section */
.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__info-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-contact__info-card-title {
    font-size: 1.8em;
    color: var(--page-contact-primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__info-card p,
.page-contact__info-card ul {
    margin-bottom: 15px;
    color: var(--page-contact-text-color);
}

.page-contact__info-card strong {
    color: var(--page-contact-primary-color);
}

.page-contact__info-card a {
    color: var(--page-contact-primary-color);
    text-decoration: none;
}

.page-contact__info-card a:hover {
    text-decoration: underline;
}

.page-contact__info-card ul {
    list-style: none;
    padding: 0;
}

.page-contact__info-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.page-contact__info-card ul li::before {
    content: '•';
    color: var(--page-contact-secondary-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
}

.page-contact__highlight {
    color: var(--page-contact-secondary-color);
    font-weight: bold;
}

.page-contact__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

.page-contact__image--small {
    max-width: 250px; /* Smaller image for the info card */
    margin-left: 0;
    margin-right: auto;
}

/* Form Section */
.page-contact__form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-contact__form-group {
    margin-bottom: 25px;
}

.page-contact__label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--page-contact-primary-color);
}

.page-contact__input,
.page-contact__textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--page-contact-border-color);
    border-radius: 6px;
    font-size: 1em;
    color: var(--page-contact-text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__input:focus,
.page-contact__textarea:focus {
    border-color: var(--page-contact-primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.page-contact__textarea {
    resize: vertical;
}

/* Buttons */
.page-contact__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
    margin-top: 15px; /* For buttons in cards */
}

.page-contact__button--primary {
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-light-text-color);
}

.page-contact__button--primary:hover {
    background-color: var(--page-contact-focus-color);
    transform: translateY(-2px);
}

.page-contact__button--secondary {
    background-color: var(--page-contact-secondary-color);
    color: var(--page-contact-text-color); /* Darker text for amber background */
}

.page-contact__button--secondary:hover {
    background-color: #e0a800; /* Darker amber */
    transform: translateY(-2px);
}


/* Map Section */
.page-contact__map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #6c757d;
}

.page-contact__map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Social Section */
.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.page-contact__social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--page-contact-primary-color);
    color: var(--page-contact-light-text-color);
    font-size: 1.5em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__social-icon:hover {
    background-color: var(--page-contact-secondary-color);
    color: var(--page-contact-text-color); /* Darker text for amber background */
    transform: translateY(-3px);
}

.page-contact__social-icon svg {
    width: 28px;
    height: 28px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__form {
        padding: 30px;
    }

    .page-contact__map-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero {
        padding: 60px 0;
    }

    .page-contact__hero-title {
        font-size: 2em;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }

    .page-contact__info-card {
        padding: 20px;
    }

    .page-contact__form {
        padding: 20px;
    }

    .page-contact__button {
        width: 100%;
        padding: 10px 15px;
    }

    .page-contact__social-links {
        gap: 15px;
    }

    .page-contact__social-icon {
        width: 45px;
        height: 45px;
    }
}