/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Inherited from body, explicit for clarity */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 100px 0;
    padding-top: calc(var(--header-offset, 120px) + 60px); /* Add header offset */
    background-color: #002B5B; /* Primary brand color */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-contact__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 20px;
    z-index: 1;
}

.page-contact__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.page-contact__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for title */
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* General button styles */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-contact__btn-primary {
    background-color: #FFD700; /* Accent color */
    color: #002B5B; /* Dark text for contrast */
    border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
    background-color: #e0bb00;
    border-color: #e0bb00;
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Accent color text */
    border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
    background-color: #FFD700;
    color: #002B5B;
}

/* Section titles and descriptions */
.page-contact__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* Info Section (Channels Grid) */
.page-contact__info-section {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    padding: 80px 0;
    color: #ffffff;
}

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

.page-contact__channel-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}