/* styles/contact.css */

:root {
    /* Color Palette - Indigo & Slate */
    --primary: #4f46e5;         /* Indigo 600 */
    --primary-hover: #4338ca;   /* Indigo 700 */
    --primary-light: #e0e7ff;   /* Indigo 100 */
    --slate-900: #0f172a;       /* Darkest Slate */
    --slate-700: #334155;       /* Text Primary */
    --slate-500: #64748b;       /* Text Secondary */
    --slate-100: #f1f5f9;       /* Background light */
    --white: #ffffff;
    
    /* Layout */
    --max-width: 1100px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--slate-100);
    color: var(--slate-700);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Background Visuals --- */

.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, #e0e7ff 0%, #f1f5f9 100%);
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(79, 70, 229, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.blob-2 {
    background: rgba(99, 102, 241, 0.08);
    top: 40%;
    left: -150px;
    width: 600px;
    filter: blur(80px);
    border-radius: 50%;
}

/* --- Navigation (Centered Links) --- */

#navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--max-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    z-index: 1000;
    transition: var(--transition);
}

#navbar.scrolled {
    top: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--slate-900);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex: 1;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 2;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-500);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Ghost spacer to keep links centered */
#navbar::after {
    content: "";
    flex: 1;
}

/* --- Mobile Menu --- */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--slate-900);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active { right: 0; }

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-menu-item {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    text-decoration: none;
    color: var(--slate-900);
    font-weight: 700;
}

.mobile-menu-item.active { color: var(--primary); }

/* --- Contact Content --- */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 180px 2rem 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    color: var(--slate-900);
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
    background: linear-gradient(to right, var(--primary), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-container {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
}

.contact-container h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--slate-900);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--slate-100);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 2rem;
}

.contact-details {
    text-align: left;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    word-break: break-all;
}

/* --- Animations --- */

.animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsiveness --- */

@media (max-width: 768px) {
    #navbar::after { display: none; }
    .nav-links { display: none; }
    
    .mobile-menu-btn { 
        display: flex; 
        margin-left: auto;
    }

    main { padding-top: 140px; }

    .contact-container { padding: 2rem 1.5rem; }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details { text-align: center; }
}