/*
 * Hero Section – Clean & Elegant (no falling bubbles)
 * Google Fonts imported for stylish typography
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Poppins:wght@300;400;600;700;800&family=Dancing+Script:wght@400;700&display=swap');

.ef-clean-hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 70vh;
    background: #fdfdfb;
    overflow: hidden;          /* kept for safety, but grain removed */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    padding: 40px 20px 30px;
    z-index: 10;
    box-sizing: border-box;
}

/* Hide Astra default title */
body .entry-title,
body .page-title,
.ast-separate-container .entry-title,
.ast-separate-container .page-title {
    display: none;
}

.ef-hero-core {
    position: relative;
    z-index: 5;
    max-width: 950px;
    width: 100%;
    margin-top: 0;
}

/* Floating brand image */
.ef-hero-logo {
    display: block;
    max-width: 450px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
    animation: smoothFloat 5s ease-in-out infinite;
}
@keyframes smoothFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ---------- Stylish Tagline ---------- */
.ef-hero-desc {
    font-size: 1.4rem;                     /* slightly larger for elegance */
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);  /* subtle depth */
    /* The actual color is set inline via admin, but we can add a nice gradient fallback */
    background: linear-gradient(135deg, #1b3022, #4caf50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* This gradient will be overridden by the inline color if set; fallback for default */
    /* To allow inline color to override, we use the inline style which will take priority. */
    /* So the gradient will only show when no custom color is set (i.e., default #1b3022) */
}

/* Ensure inline style wins for color */
.ef-hero-desc[style*="color"] {
    -webkit-text-fill-color: inherit;
    background: none;
    color: inherit;   /* use the inline color */
}

/* --- Social Icons (unchanged, no reflection) --- */
.ef-social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}/* Social icons – static, no reflection */
.ef-social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b3022;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

/* Static icons – no animation */
.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #1b3022;
    color: #fff;
    border-color: #1b3022;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #1b3022;
    color: #fff;
    border-color: #1b3022;
    animation: none;
}

/* App Store Badges */
.app-store-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 10px 24px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
    min-width: 200px;
    justify-content: center;
    box-sizing: border-box;
}
.store-badge:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    background: #f9f9f9;
}
.store-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; }
.store-icon svg { display: block; width: 100%; height: 100%; }
.store-text { font-family: 'Poppins', sans-serif; font-size: 0.8rem; line-height: 1.3; color: #555; text-align: left; white-space: nowrap; }
.store-text strong { font-weight: 700; color: #1b3022; display: block; }

/* Admin modals (unchanged) – these are shared from header.css but included for completeness */
.admin-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.admin-modal-content {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 2;
    font-family: 'Poppins', sans-serif;
}
.admin-modal-content h3 { margin: 0 0 20px; font-size: 1.5rem; color: #1b3022; }
.admin-modal-content label { display: block; font-weight: 600; margin: 15px 0 5px; color: #333; }
.admin-modal-content input, .admin-modal-content select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; box-sizing: border-box; }
.admin-modal-buttons { display: flex; gap: 12px; justify-content: flex-end; margin-top: 25px; }
.btn-save { background: #4caf50; color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-save:hover { background: #388e3c; }
.btn-cancel { background: #eee; color: #333; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-cancel:hover { background: #ddd; }

/* ---------- Responsive Scaling ---------- */
@media (max-width: 1024px) {
    .ef-hero-logo { max-width: 380px; }
    .ef-hero-desc { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .ef-clean-hero { min-height: auto; padding: 30px 20px 20px; }
    .ef-hero-logo { max-width: 280px; margin-bottom: 15px; }
    .ef-hero-desc { font-size: 1.15rem; margin-bottom: 25px; }
    .ef-social-row { gap: 14px; margin-bottom: 25px; }
    .social-icon { width: 42px; height: 42px; font-size: 1rem; }
    .app-store-badges { gap: 12px; flex-wrap: nowrap; }
    .store-badge { min-width: 175px; padding: 8px 18px; }
    .store-text { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .ef-hero-logo { max-width: 220px; }
    .ef-hero-desc { font-size: 1rem; }
    .ef-social-row { gap: 8px; }
    .social-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .app-store-badges { flex-wrap: nowrap; gap: 8px; }
    .store-badge { min-width: 150px; padding: 6px 12px; }
    .store-text { font-size: 0.65rem; }
}