/* style/contact.css */

/* Custom properties for colors */
:root {
    --shbet80-primary: #11A84E;
    --shbet80-secondary: #22C768;
    --shbet80-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --shbet80-card-bg: #11271B;
    --shbet80-bg: #08160F;
    --shbet80-text-main: #F2FFF6;
    --shbet80-text-secondary: #A7D9B8;
    --shbet80-border: #2E7A4E;
    --shbet80-glow: #57E38D;
    --shbet80-gold: #F2C14E;
    --shbet80-divider: #1E3A2A;
    --shbet80-deep-green: #0A4B2C;
}

.page-contact {
    background-color: var(--shbet80-bg);
    color: var(--shbet80-text-main); /* Light text on dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* Ensure no image overflow */
    background-color: var(--shbet80-deep-green); /* Background for the whole section */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for hero image */
    margin-bottom: 30px; /* Space between image and text content */
}

.page-contact__hero-content {
    padding: 0 20px; /* No top/bottom padding here, handled by section */
    width: 100%;
    max-width: 800px; /* Constrain content width */
}

.page-contact__hero-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--shbet80-text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.1em;
    color: var(--shbet80-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-button {
    display: inline-block;
    background: var(--shbet80-button-gradient);
    color: #ffffff; /* White text for button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-contact__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--shbet80-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

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

/* Info Section */
.page-contact__info-section {
    padding: 60px 0;
    background-color: var(--shbet80-bg);
}

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

.page-contact__method-card {
    background-color: var(--shbet80-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--shbet80-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: var(--shbet80-text-main);
}

.page-contact__method-icon {
    min-width: 200px; /* Enforce minimum size for images as per requirement */
    min-height: 200px;
    width: 200px; /* Explicitly set to avoid smaller rendering */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: var(--shbet80-gold);
    margin-bottom: 15px;
}

.page-contact__method-text {
    color: var(--shbet80-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take up available space */
}

.page-contact__method-button {
    display: inline-block;
    background: var(--shbet80-button-gradient);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
}

.page-contact__method-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: var(--shbet80-deep-green);
}

.page-contact__contact-form {
    background-color: var(--shbet80-card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--shbet80-border);
    max-width: 800px;
    margin: 0 auto;
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--shbet80-text-main);
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--shbet80-border);
    border-radius: 8px;
    background-color: #0A2016; /* Slightly lighter dark background for input */
    color: var(--shbet80-text-main);
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: var(--shbet80-text-secondary);
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    outline: none;
    border-color: var(--shbet80-secondary);
    box-shadow: 0 0 0 3px rgba(34, 199, 104, 0.3);
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    background: var(--shbet80-button-gradient);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__form-submit-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: var(--shbet80-bg);
}

.page-contact__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__faq-item {
    background-color: var(--shbet80-card-bg);
    border: 1px solid var(--shbet80-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--shbet80-text-main);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--shbet80-text-main);
    background-color: var(--shbet80-card-bg); /* Ensure background for summary */
    list-style: none; /* Remove default marker */
}

.page-contact__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-qtext {
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--shbet80-gold);
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: "−";
}

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--shbet80-text-secondary);
    font-size: 0.95em;
}

.page-contact__faq-answer p {
    margin: 0;
}

/* Location Section */
.page-contact__location-section {
    padding: 60px 0;
    background-color: var(--shbet80-deep-green);
}

.page-contact__address-map-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
    align-items: flex-start;
}

.page-contact__address-details {
    flex: 1;
    min-width: 300px;
    background-color: var(--shbet80-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--shbet80-border);
    color: var(--shbet80-text-main);
}

.page-contact__address-details p {
    margin-bottom: 10px;
    color: var(--shbet80-text-secondary);
}

.page-contact__address-details strong {
    color: var(--shbet80-text-main);
}

.page-contact__map-placeholder {
    flex: 2;
    min-width: 300px;
    background-color: var(--shbet80-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--shbet80-border);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-image {
        max-height: 500px;
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-bottom: 40px;
    }
    .page-contact__hero-image {
        max-height: 350px;
    }
    .page-contact__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-contact__hero-description {
        font-size: 0.95em;
    }

    .page-contact__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-contact__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__location-section {
        padding: 40px 0;
    }

    .page-contact__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__method-card {
        padding: 25px;
    }

    .page-contact__contact-form {
        padding: 30px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea,
    .page-contact__form-submit-button {
        padding: 12px 15px;
        font-size: 1em;
    }

    .page-contact__faq-question {
        font-size: 1em;
        padding: 18px 20px;
    }
    .page-contact__faq-toggle {
        font-size: 1.3em;
    }
    .page-contact__faq-answer {
        padding: 0 20px 18px 20px;
        font-size: 0.9em;
    }

    .page-contact__address-map-wrapper {
        flex-direction: column;
    }
    .page-contact__address-details,
    .page-contact__map-placeholder {
        min-width: unset;
        width: 100%;
    }

    /* Mobile image and video responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-section,
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__location-section,
    .page-contact__contact-methods,
    .page-contact__method-card,
    .page-contact__contact-form,
    .page-contact__faq-list,
    .page-contact__address-map-wrapper,
    .page-contact__address-details,
    .page-contact__map-placeholder {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video section top padding for mobile, body handles header offset */
    .page-contact__hero-section {
        padding-top: 10px !important;
    }

    /* Button responsiveness */
    .page-contact__cta-button,
    .page-contact__method-button,
    .page-contact__form-submit-button,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        /* padding-left: 15px; */ /* Removed as container already has it, or can be added to button directly if needed */
        /* padding-right: 15px; */
    }
    .page-contact__contact-methods {
        /* If buttons are in a flex context, ensure they wrap or stack */
        flex-direction: column;
        gap: 15px;
    }
}

/* Text colors for contrast safety */
.page-contact p,
.page-contact li,
.page-contact label,
.page-contact__form-input,
.page-contact__form-textarea {
    color: var(--shbet80-text-secondary); /* Use secondary text for general content */
}
.page-contact h1, .page-contact h2, .page-contact h3, .page-contact h4, .page-contact h5, .page-contact h6 {
    color: var(--shbet80-text-main); /* Main text for headings */
}
.page-contact__hero-title, .page-contact__method-title, .page-contact__faq-question .page-contact__faq-qtext {
    color: var(--shbet80-gold); /* Specific gold for some titles/questions */
}
.page-contact__faq-toggle {
    color: var(--shbet80-gold);
}
.page-contact__address-details strong {
    color: var(--shbet80-text-main);
}

/* Ensure strong contrast for buttons */
.page-contact__cta-button,
.page-contact__method-button,
.page-contact__form-submit-button {
    color: #ffffff; /* White text on gradient buttons */
}

/* Ensure no CSS filter on images */
.page-contact img {
    filter: none;
}