/* ==========================================================================
   Contact Page Specific Styles
   ========================================================================== */

.contact-page {
    /* Additional page-specific background */
    background-color: var(--background);
    background-image: radial-gradient(circle at top right, rgba(91, 33, 182, 0.1), transparent 50%),
                      radial-gradient(circle at bottom left, rgba(201, 160, 42, 0.05), transparent 50%);
}

.bg-glow-purple {
    position: fixed;
    top: 20%;
    right: 10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(91, 33, 182, 0.04) 0%, rgba(12, 12, 30, 0) 60%);
    z-index: -2;
    pointer-events: none;
}

/* ==========================================================================
   Page Hero Section
   ========================================================================== */
.page-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: 4px;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.title-underline {
    width: 100px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 15px rgba(201, 160, 42, 0.5);
}

.hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-family: 'Lora', serif;
    font-style: italic;
    line-height: 1.8;
}

/* ==========================================================================
   Contact Layout
   ========================================================================== */
.contact-main {
    padding: 3rem 0 5rem;
}

/* ── Info Strip (top, full-width) ─────────────────────────────────────── */
.contact-info-strip {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: rgba(12, 12, 30, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.info-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 180px;
}

.info-strip-item h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.3rem;
}

.info-strip-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.info-strip-item a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.info-strip-item a:hover {
    color: var(--gold);
}

.social-icons-inline {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

/* ── Icon Glow Box ────────────────────────────────────────────────────── */
.icon-glow-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(201, 160, 42, 0.1);
    border: 1px solid rgba(201, 160, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 160, 42, 0.15);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-strip-item:hover .icon-glow-box {
    background: rgba(201, 160, 42, 0.2);
    box-shadow: 0 0 25px rgba(201, 160, 42, 0.3);
}

/* ── Social Circles ───────────────────────────────────────────────────── */
.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(201, 160, 42, 0.3);
}

/* ── Body Grid: Videos LEFT | Form RIGHT ─────────────────────────────── */
.contact-body-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

/* ── Videos Column ────────────────────────────────────────────────────── */
.contact-shorts-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.shorts-title {
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 160, 42, 0.2);
}

.shorts-grid-contact {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(255,255,255,0.05);
}

.shorts-grid-contact::-webkit-scrollbar {
    height: 6px;
}
.shorts-grid-contact::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}
.shorts-grid-contact::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.shorts-grid-contact .video-wrapper {
    position: relative;
    flex: 0 0 90%;
    scroll-snap-align: start;
    padding-bottom: calc(56.25% * 0.9); /* 16:9 ratio maintained based on width */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: rgba(0,0,0,0.3);
}

.shorts-grid-contact .video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 160, 42, 0.2);
    border-color: rgba(201, 160, 42, 0.35);
}

.shorts-grid-contact .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.shorts-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 200px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--text-muted);
}

.shorts-placeholder i {
    font-size: 2.5rem;
    opacity: 0.3;
}

.shorts-placeholder p {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* ── Form Column ──────────────────────────────────────────────────────── */
.contact-form-panel {
    background: rgba(12, 12, 30, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.premium-form input,
.premium-form textarea,
.premium-form select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.premium-form input:focus,
.premium-form textarea:focus,
.premium-form select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 160, 42, 0.12);
}

.premium-form input::placeholder,
.premium-form textarea::placeholder {
    color: rgba(161, 161, 181, 0.35);
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-selected {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    user-select: none;
}

.custom-dropdown.active .custom-dropdown-selected,
.custom-dropdown-selected:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 160, 42, 0.12);
}

.custom-dropdown.active .select-icon {
    color: var(--gold);
    transform: rotate(180deg);
}

.select-icon {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.custom-dropdown-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    background: rgba(12, 12, 30, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-dropdown.active .custom-dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-options li {
    padding: 0.8rem 1.2rem;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.custom-dropdown-options li:hover {
    background: rgba(201, 160, 42, 0.15);
    color: var(--gold);
}

.submit-btn {
    background: var(--gold);
    color: #0c0c1e;
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #dfb22f;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 160, 42, 0.35);
}

.submit-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.glowing-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glowing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.glowing-btn:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* ==========================================================================
   Responsive — Contact Page
   ========================================================================== */

/* Tablet: side-by-side but tighter */
@media (max-width: 900px) {
    .contact-body-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info-strip {
        gap: 1.25rem;
        padding: 1.5rem 1.75rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 9vw, 3rem);
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .title-underline {
        width: 60px;
        margin-bottom: 1.2rem;
    }

    .contact-main {
        padding: 2rem 0 4rem;
    }

    .contact-info-strip {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .info-strip-item {
        min-width: unset;
    }

    .premium-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-panel {
        padding: 2rem 1.25rem;
    }

    .form-header h2 {
        font-size: 1.7rem;
    }

    .submit-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-form-panel {
        padding: 1.5rem 1rem;
        border-radius: 10px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .input-group {
        margin-bottom: 1rem;
    }
}
