/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

:root {
    --noir: #0a0608;
    --charcoal: #14101a;
    --slate: #1c1624;
    --steel: #2d2438;
    --silver: #9a8fa8;
    --pearl: #f0eaf5;
    --white: #ffffff;
    --ruby: #e31b54;
    --crimson: #c41040;
    --gold: #f5a623;
    --amber: #ffb347;
    --font-body: 'Vazirmatn', 'Tajawal', 'Cairo', 'Noto Sans Arabic', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme Support */
[data-theme="ocean"] { --ruby: #0ea5e9; --crimson: #0284c7; --gold: #38bdf8; }
[data-theme="emerald"] { --ruby: #10b981; --crimson: #059669; --gold: #34d399; }
[data-theme="purple"] { --ruby: #a855f7; --crimson: #9333ea; --gold: #c084fc; }
[data-theme="sunset"] { --ruby: #f97316; --crimson: #ea580c; --gold: #fb923c; }
[data-theme="rose"] { --ruby: #ec4899; --crimson: #db2777; --gold: #f472b6; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background: var(--noir); color: var(--pearl); min-height: 100vh; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* Page Cover - Full Cover Under Menu */
.page-cover {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 60px;
    margin-top: -120px;
    margin-left: -20px;
    margin-right: -20px;
    overflow: hidden;
}

.page-cover__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--charcoal);
}

.page-cover__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10,6,8,0.5) 0%, 
        rgba(10,6,8,0.8) 60%,
        var(--noir) 100%);
    z-index: 1;
}

.page-cover__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    margin: 30px 0;
}

.page-cover__icon {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold), var(--ruby));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-cover__title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.page-cover__title span {
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-cover__subtitle {
    color: var(--silver);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px 80px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* Contact Info */
.contact-info {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
}

.contact-info__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-item__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item__content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--silver);
    margin-bottom: 5px;
}

.contact-item__content a {
    font-size: 1.1rem;
    color: var(--pearl);
    transition: color 0.3s ease;
}

.contact-item__content a:hover {
    color: var(--gold);
}

/* Social Section */
.social-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.social-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--silver);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--silver);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    border-color: transparent;
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px;
}

.contact-form__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--silver);
    margin-bottom: 10px;
}

.form-group label i {
    color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: var(--pearl);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--silver);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ruby);
    box-shadow: 0 0 0 3px rgba(227, 27, 84, 0.15);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239a8fa8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-left: 45px;
}

.form-group select option {
    background: var(--charcoal);
    color: var(--pearl);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--ruby), var(--gold));
    border: none;
    border-radius: 14px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(227, 27, 84, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 27, 84, 0.4);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.form-success i {
    font-size: 5rem;
    color: #22c55e;
    margin-bottom: 25px;
}

.form-success h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.form-success p {
    color: var(--silver);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-cover { min-height: 320px; padding: 120px 20px 50px; }
    .page-cover__title { font-size: 2.2rem; }
    .page-cover__subtitle { font-size: 1rem; }
    .page-cover__icon { font-size: 3rem; }
    .contact-section { padding: 40px 15px 60px; }
    .contact-info, .contact-form-wrapper { padding: 30px 25px; }
    .contact-info__title, .contact-form__title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .contact-item { flex-direction: column; gap: 15px; }
    .social-links { flex-wrap: wrap; justify-content: center; }
}
