/* eMayl Shared Styles - Common across all pages */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to right, #162e58 0%, teal 100%);
}

.container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#site-header {
    width: 100%;
}

/* === HERO HEADER === */
.hero-header {
    position: relative;
    min-height: 300px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.82) 20%,
        rgba(0, 0, 0, 0.74) 40%,
        rgba(0, 0, 0, 0.66) 60%,
        rgba(0, 0, 0, 0.58) 80%,
        rgba(0, 0, 0, 0.50) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 30px 20px;
}

.hero-content-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-content-header img {
    width: 80px;
    height: 80px;
}

.hero-content-header .logo {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-left: 10px;
}

/* === LOGO === */
.logo {
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo sup {
    font-size: 1.25rem;
    margin-left: -6px;
}

/* === TAGLINE (Animated) === */
.tagline {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-top: -12px;
    margin-bottom: 25px;
    font-family: serif;
    letter-spacing: 0.9px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.tagline sup {
    font-size: 1rem;
    margin-left: -6px;
}

.tagline-base {
    color: rgba(255, 255, 255, 0.5);
    grid-column: 1;
    grid-row: 1;
}

.tagline-highlight {
    grid-column: 1;
    grid-row: 1;
    color: white;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);
    pointer-events: none;
}

/* === PAGE TITLE / COMING SOON === */
.page-title,
.coming-soon {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.coming-soon {
    font-size: 1rem;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 0 20px;
    color: white;
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links div:last-child {
    margin-top: 15px;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    font-size: 1.2rem;
    margin: 0 15px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links .current-page {
    color: white;
    font-size: 1.2rem;
    margin: 0 15px;
    opacity: 0.5;
    font-weight: 600;
    cursor: default;
}

footer > p {
    font-size: 0.9rem;
}

footer p a {
    color: white;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer p a:hover {
    color: #667eea;
}

/* === ACCESSIBILITY === */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* External link indicator */
a[target="_blank"]::after {
    content: " ↗";
    font-size: 0.8em;
    vertical-align: super;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .hero-header {
        min-height: 300px;
        width: 100vw;
    }

    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .page-title {
        font-size: 1.2rem;
        padding: 8px 20px;
    }

    .coming-soon {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    .footer-links a,
    .footer-links .current-page {
        font-size: 0.95rem;
        margin: 0 8px;
    }
}
