/**
 * منارات الفرص - Contact Page Stylesheet
 * Manarat Elforas - Contact Page
 * Use with main.css
 */

/* ============================================
   Page Hero
   ============================================ */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

@media (max-width: 1024px) {
    .page-hero {
        min-height: auto;
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(0, 107, 100, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(174, 147, 87, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(174, 147, 87, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #004C48 0%, #003D3A 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23AE9357' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(174, 147, 87, 0.2);
    border: 2px solid var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(174, 147, 87, 0.2);
}

@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--off-white);
    margin-bottom: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.page-hero h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-cream);
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   Contact Methods Section - Premium Design
   ============================================ */
.contact-methods-section {
    background: linear-gradient(135deg, #004C48 0%, rgba(174, 147, 87, 0.1) 50%, #003D3A 100%);
    padding: 5rem 0;
}

/* Main Contact Cards - 2 Columns */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 4rem;
}

@media (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2.5rem;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.4) 0%, rgba(0, 76, 72, 0.3) 100%);
    border: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.contact-method-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-light);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(174, 147, 87, 0.5);
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.5) 0%, rgba(0, 76, 72, 0.4) 100%);
}

.contact-method-card:hover::before {
    transform: scaleX(1);
}

.method-icon-wrapper {
    flex-shrink: 0;
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border: 4px solid var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold-lg);
    transition: all 0.4s ease;
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1) rotate(10deg);
}

.method-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--dark-teal);
    stroke-width: 2;
    fill: none;
}

.method-icon svg[fill="currentColor"] {
    fill: var(--dark-teal);
    stroke: none;
}

.method-content {
    flex: 1;
    text-align: right;
}

.method-content h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.method-value {
    font-size: 1.4rem !important;
    color: var(--off-white) !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
}

.method-link {
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 600;
}

.contact-method-card:hover .method-link {
    text-decoration: underline;
}

/* Special styling for WhatsApp card */
.whatsapp-card:hover {
    border-color: #25D366;
}

.whatsapp-card:hover::before {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

@media (max-width: 600px) {
    .contact-method-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .method-content {
        text-align: center;
    }
    
    .method-icon {
        width: 70px;
        height: 70px;
    }
    
    .method-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   Secondary Contact Info Grid
   ============================================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    border: 2px solid rgba(174, 147, 87, 0.3);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.info-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.info-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--dark-teal);
    stroke-width: 2;
    fill: none;
}

.info-content {
    flex: 1;
    text-align: right;
}

.info-content h4 {
    font-size: 0.9rem;
    color: var(--gold-light);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.info-content a {
    font-size: 1.1rem;
    color: var(--off-white);
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.info-content a:hover {
    color: var(--gold);
}

.info-content p {
    font-size: 1.1rem;
    color: var(--off-white);
    margin: 0;
    font-weight: 600;
}

@media (max-width: 600px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .info-content {
        text-align: center;
    }
}

/* ============================================
   Social Media Section - Enhanced
   ============================================ */
.social-media-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(174, 147, 87, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.social-media-section h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    color: var(--dark-teal);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-gold-lg);
}

.social-icon svg {
    width: 28px;
    height: 28px;
}

/* Individual social media brand colors on hover */
.social-icon.facebook:hover {
    background: #1877F2;
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.twitter:hover {
    background: #000000;
    color: white;
}

.social-icon.snapchat:hover {
    background: #FFFC00;
    color: #000000;
}

.social-icon.tiktok:hover {
    background: #000000;
    color: white;
}

@media (max-width: 600px) {
    .social-icons-row {
        gap: 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   Contact Form Section
   ============================================ */
.contact-form-section {
    background: linear-gradient(135deg, #006B64 0%, rgba(174, 147, 87, 0.1) 50%, #004C48 100%);
    padding: 5rem 0;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(145deg, rgba(0, 107, 100, 0.3) 0%, rgba(0, 76, 72, 0.2) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(174, 147, 87, 0.3);
    backdrop-filter: blur(10px);
}

@media (max-width: 600px) {
    .contact-form {
        padding: 1.5rem;
    }
}

.form-input.error,
.form-select.error {
    border-color: #ff6b6b !important;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-note {
    font-size: 0.85rem;
    color: var(--light-cream);
    opacity: 0.8;
    margin-top: 1rem;
}