/* ============================================
   CONTACT PAGE STYLES
   Based on FAQ design template
   ============================================ */

/* Font Faces - Reuse from invitation */
@font-face {
    font-family: 'ASM';
    src: url('../../invitation/font/ASM-Regular.woff2') format('woff2'),
         url('../../invitation/font/ASM-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ASM';
    src: url('../../invitation/font/ASM-Bold.woff2') format('woff2'),
         url('../../invitation/font/ASM-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/* CSS Variables */
:root {
    --color-primary: #F3AB0E;
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: rgba(255,255,255,0.6);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'ASM', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   VIDEO BACKGROUND
   ============================================ */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Hide browser default video controls and play button (Safari fix) */
.video-bg video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-enclosure {
    display: none !important;
}
.video-bg video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
}
.video-bg video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: relative;
    z-index: 1000;
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
}

.dropdown-menu-dark {
    background: rgba(0,0,0,0.95);
    border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-item:hover {
    background: var(--color-primary);
    color: #000;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.98);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 30px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-nav {
    text-align: center;
}

.mobile-menu-section {
    margin-bottom: 24px;
}

.mobile-menu-label {
    display: block;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    opacity: 0.9;
}

.mobile-menu-link {
    display: block;
    width: 100%;
    text-align: center;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: rgba(255,255,255,0.08);
    color: var(--color-primary);
}

.mobile-menu-divider {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 24px auto;
}

.mobile-menu-btn {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 32px;
    background: var(--color-primary);
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ============================================
   SCROLLING LOGO BANNER
   ============================================ */
.logo-band {
    background: rgba(0,0,0,0.95);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
    transition: all 0.3s ease;
}

.logo-band.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.logo-band-placeholder {
    display: none;
}

.logo-band-placeholder.active {
    display: block;
}

.logo-marquee {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.logo-marquee img {
    height: 24px;
    width: auto;
    opacity: 0.8;
}

.banner-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary);
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Bottom banner */
.logo-band-bottom {
    /* Inherits from .logo-band */
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    position: relative;
    z-index: 10;
    padding: 60px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-family: 'ASM', sans-serif;
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: 8px;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    text-shadow: 0 2px 40px rgba(243, 171, 14, 0.2);
}

.contact-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* ============================================
   CONTACT GRID
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(243, 171, 14, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(243, 171, 14, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(243, 171, 14, 0.1);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover .contact-icon {
    color: var(--color-primary);
    transform: scale(1.1);
}

.contact-card:hover .contact-label {
    color: var(--color-primary);
}

/* ============================================
   CONTACT ICONS
   ============================================ */
.contact-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    color: var(--color-primary);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   CONTACT LABELS
   ============================================ */
.contact-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* ============================================
   TITLE POSITION (CENTER IN HEADER)
   ============================================ */
body.title-center .contact-title {
    position: fixed;
    top: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    font-size: 20px;
    margin: 0;
    letter-spacing: 3px;
    white-space: nowrap;
    line-height: 1;
}

body.title-center .contact-subtitle {
    margin-top: 80px;
}

body.title-center .contact-section {
    padding-top: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: rgba(0,0,0,0.9);
    padding: 24px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content p {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-content a:hover {
    color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .contact-card {
        padding: 20px 24px;
        gap: 20px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-label {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .contact-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        padding: 0 20px;
    }
    
    /* Center title on mobile */
    body.title-center .contact-title {
        position: fixed;
        top: 32px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        letter-spacing: 2px;
        margin: 0;
        line-height: 1;
    }
    
    body.title-center .contact-subtitle {
        margin-top: 60px;
    }
    
    .logo-marquee {
        gap: 24px;
    }
    
    .logo-marquee img {
        height: 18px;
    }
    
    .banner-text {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    body.title-center .contact-title {
        font-size: 12px;
        letter-spacing: 1px;
        top: 30px;
    }
    
    .contact-card {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-label {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease backwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }
