/*
Theme Name: SecureMail Fintech Pro
Theme URI: https://securemail.com
Description: A modern, Elementor-compatible WordPress theme for encrypted email services targeting Fintech companies
Version: 1.0.0
Author: Your Company
Author URI: https://securemail.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: securemail-fintech
Tags: business, fintech, security, elementor, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #022c22, #064e3b);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #10b981;
}

/* Content Styles */
.site-content {
    min-height: 60vh;
    padding: 40px 0;
}

article {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0a0e27;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer Styles */
.site-footer {
    background: #0a0e27;
    color: #94a3b8;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* Elementor Compatibility */
.elementor-section {
    position: relative;
}

.elementor-widget-wrap {
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .entry-title {
        font-size: 2rem;
    }
}

/* Footer layout and link styles */
.footer-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-column {
    flex: 1 1 220px;
    text-align: left;
}
.footer-logo { display:flex; align-items:center; gap:0.5rem; margin-bottom:0.75rem }
.footer-logo-icon { background:#021b17; color:#10b981; width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:6px; font-weight:700 }
.footer-logo-text { color:#ffffff; font-weight:700 }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0.45rem 0; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #ffffff; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; background: transparent; color: #94a3b8; }
.social-icon svg { display:block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); margin-top: 1.5rem; padding-top: 1rem; }
.footer-bottom-inner { display:flex; gap:0.5rem; justify-content:center; align-items:center; flex-wrap:wrap }
.footer-copy, .footer-policy { color:#7b8794; font-size:0.85rem }

@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap:1.25rem }
    .footer-column { width:100% }
}

/* Footer bottom inline links (privacy / terms) */
.footer-bottom .footer-bottom-links { list-style: none; display: inline-flex; gap: 0; margin: 0 0 0 0.6rem; padding: 0; align-items: center }
.footer-bottom .footer-bottom-links li { margin: 0; }
.footer-bottom .footer-bottom-links li + li:before { content: "|"; color: #7b8794; margin: 0 0.5rem; }
.footer-bottom .footer-bottom-links a { color: #94a3b8; text-decoration: none; font-size: 0.85rem; }
.footer-bottom .footer-bottom-links a:hover { color: #ffffff; }

/* Global hover & button transition rules: restores hover effects across homepage */
a, .footer-links a, .main-navigation a {
    transition: color .22s ease, background-color .18s ease, opacity .18s ease, transform .12s ease;
}

a:hover, a:focus {
    color: #10b981;
    text-decoration: underline;
    opacity: 0.95;
}

button, .btn, .button, .site-button, .wp-block-button__link {
    transition: background-color .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease;
    cursor: pointer;
}

button:hover, .btn:hover, .button:hover, .site-button:hover, .wp-block-button__link:hover {
    filter: brightness(0.94);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

a:focus, button:focus, .btn:focus { outline: 3px solid rgba(16,185,129,0.12); outline-offset: 3px; }

/* Small accessibility tweak: make sure links show focus ring when keyboard navigating */
a:focus { outline: 3px solid rgba(16,185,129,0.12); }