/* style/contact.css */

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

/* Base styles for the page content, ensuring contrast with dark body background */
.page-contact {
    font-family: 'Arial', sans-serif;
    color: var(--f168vip-text-main); /* Main text color for dark background */
    background-color: var(--f168vip-bg-main); /* Ensure consistent background */
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-contact__hero-content {
    position: relative; /* Ensure content is above image */
    z-index: 2;
    padding-top: 40px; /* Space between image and text */
    max-width: 900px;
}

.page-contact__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--f168vip-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-contact__description-text {
    font-size: 1.15rem;
    color: var(--f168vip-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-button {
    display: inline-block;
    background: var(--f168vip-btn-gradient);
    color: var(--f168vip-white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* Section Titles */
.page-contact__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--f168vip-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.page-contact__section-description {
    font-size: 1rem;
    color: var(--f168vip-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 80px 0;
    background-color: var(--f168vip-bg-main);
}

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

.page-contact__card {
    background-color: var(--f168vip-bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--f168vip-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-contact__card-text {
    font-size: 1rem;
    color: var(--f168vip-text-secondary);
    margin-bottom: 25px;
}

.page-contact__btn-primary {
    display: inline-block;
    background: var(--f168vip-btn-gradient);
    color: var(--f168vip-white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: var(--f168vip-deep-green);
    border-top: 1px solid var(--f168vip-divider);
    border-bottom: 1px solid var(--f168vip-divider);
}

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

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

.page-contact__form-label {
    display: block;
    font-size: 1rem;
    color: var(--f168vip-text-main);
    margin-bottom: 8px;
    font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--f168vip-border);
    border-radius: 8px;
    color: var(--f168vip-text-main);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

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

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

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}