/* public_html/style.css */

/* 1. FONTS & BASICS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700;800&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #f72585;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f0f2f5;
    color: #334155;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* 2. NAVBAR */
.navbar-glass {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.8) !important;
    transition: 0.3s;
}
.nav-link:hover { color: #fff !important; transform: translateY(-2px); }
.btn-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

/* 3. HERO SECTION */
.hero-wrapper {
    background: radial-gradient(circle at 10% 20%, rgb(15, 23, 42) 0%, rgb(18, 18, 38) 90%);
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
    color: white;
}

/* Glowing Blobs background */
.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}
.blob-1 { top: -100px; left: -100px; }
.blob-2 { bottom: -100px; right: -100px; }

.hero-content { position: relative; z-index: 1; }

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff 20%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

/* 4. AI INPUT BOX */
.ai-glass-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.ai-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    padding: 15px;
}
.ai-input:focus { background: transparent; color: white; box-shadow: none; }
.ai-input::placeholder { color: rgba(255,255,255,0.4); }

.btn-ai-generate {
    background: white;
    color: var(--primary);
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 30px;
    transition: 0.3s;
}
.btn-ai-generate:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,255,255,0.4); }

/* 5. CARDS (PROMPTS & BLOGS) */
.modern-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    overflow: hidden;
    height: 220px;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.modern-card:hover .card-img-wrapper img { transform: scale(1.1); }

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 6. UTILITIES */
.section-title { font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.section-subtitle { color: #64748b; font-size: 1.1rem; margin-bottom: 40px; }

/* --- FOOTER STYLES --- */

.footer-dark {
    background: #0f0c29; /* Dark background matching the hero theme */
    background: linear-gradient(to bottom, #16133a, #0f0c29);
    padding: 60px 0 30px;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-dark h3 {
    letter-spacing: 1px;
    background: linear-gradient(white, #a5a5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-dark .text-white-50 {
    max-width: 600px;
    margin: 0 auto;
}

/* Social Media Icons */
.footer-dark .fab {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-dark a.text-white-50:hover {
    color: #ffffff !important;
    transform: translateY(-5px); /* Lift effect on hover */
}

/* Horizontal Divider */
.footer-dark .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* --- REUSABLE UTILITIES --- */

.transition-all {
    transition: all 0.3s ease;
}

/* Hover lift for any element */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Adjustments for sticky footers */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}
