/* style/contact.css */

/* Variables for consistent styling */
:root {
    --primary-color: #F2C14E; /* Main brand color */
    --secondary-color: #FFD36B; /* Auxiliary brand color */
    --background-dark: #0A0A0A; /* Page background */
    --card-background: #111111; /* Card background */
    --text-light: #FFF6D6; /* Main text color for dark backgrounds */
    --text-dark: #333333; /* Fallback for light backgrounds, though not primary here */
    --border-color: #3A2A12; /* Border color */
    --glow-color: #FFD36B; /* Glow effect color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */

    /* Header offset is handled by shared.css on body */
    --header-offset-small: 10px; /* Small top padding for first section */
}

.page-contact {
    background-color: var(--background-dark);
    color: var(--text-light); /* Main text color for the page */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--header-offset-small) 0 60px 0; /* Small top padding, then content */
    background-color: var(--background-dark);
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-contact__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: var(--secondary-color); /* Gold color for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Soft glow */
}

.page-contact__hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Section Title & Description */
.page-contact__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-contact__section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

.page-contact__method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.page-contact__card-icon {
    width: 200px; /* Adjusted to meet minimum size requirement */
    height: 200px; /* Adjusted to meet minimum size requirement */
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--glow-color)); /* Soft glow for icons */
}

.page-contact__card-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact__card-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-text-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}