/**
 * Project Emmaus - Global Styles
 */

/* ========================================
   Design tokens
======================================== */

:root {
    --emmaus-primary: #0b3d91;
    --emmaus-primary-dark: #072d6d;
    --emmaus-primary-light: #eaf1fc;

    --emmaus-gold: #d4af37;
    --emmaus-gold-dark: #a8861f;

    --emmaus-background: #faf9f6;
    --emmaus-surface: #ffffff;

    --emmaus-text: #252525;
    --emmaus-text-muted: #666666;
    --emmaus-border: #e4e8ef;

    --emmaus-container-width: 1200px;

    --emmaus-radius-sm: 10px;
    --emmaus-radius-md: 16px;
    --emmaus-radius-lg: 24px;

    --emmaus-shadow-sm:
        0 5px 18px rgba(11, 61, 145, 0.07);

    --emmaus-shadow-md:
        0 14px 40px rgba(11, 61, 145, 0.12);

    --emmaus-transition:
        220ms ease;
}

/* ========================================
   Base reset
======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--emmaus-text);
    background: var(--emmaus-background);
    font-family:
        "Noto Sans Tamil",
        "Noto Sans",
        Arial,
        sans-serif;
    line-height: 1.7;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* ========================================
   Accessibility
======================================== */

:focus-visible {
    outline: 3px solid var(--emmaus-gold);
    outline-offset: 4px;
}

/* ========================================
   Global layout
======================================== */

.emmaus-container {
    width: min(
        calc(100% - 40px),
        var(--emmaus-container-width)
    );
    margin-inline: auto;
}

.emmaus-section {
    padding: 88px 0;
}

.emmaus-section-header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.emmaus-section-eyebrow {
    margin: 0 0 8px;
    color: var(--emmaus-gold-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.emmaus-section-title {
    margin: 0;
    color: var(--emmaus-primary-dark);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.3;
}

.emmaus-section-description {
    max-width: 650px;
    margin: 14px auto 0;
    color: var(--emmaus-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ===========================
   HEADER
=========================== */

.site-header{
    background:rgba(255,255,255,.96);
    border-bottom:1px solid #e5e5e5;
    position:sticky;
    top:0;
    left:0;
    z-index:9999;
    width:100%;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    backdrop-filter:blur(10px);
}

.header-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:72px;
}

.site-brand{
    display:flex;
    align-items:center;
    gap:18px;
}

.logo-placeholder{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#123b6d;
}

.site-title h1{
    font-size:30px;
    color:#123b6d;
    margin:0;
}

.site-title p{
    margin:5px 0 0;
    color:#666;
    font-size:14px;
}

.main-menu ul{
    display:flex;
    gap:40px;
    list-style:none;
}

.main-menu a{
    color:#123b6d;
    font-weight:600;
}

.main-menu a:hover{
    color:#c9a227;
}

/* ===========================
   HERO SECTION
=========================== */

.hero{

    min-height:90vh;

    background:url('../images/church.jpg');

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

}

.hero-overlay{

    background:rgba(0,0,0,.38);

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-content{

    color:#fff;

    max-width:700px;

    padding-left:40px;

    padding-top:70px;

}

.hero-content h2{

    text-shadow:0 4px 18px rgba(0,0,0,.45);
}

.hero h1{

    font-size:52px;

    margin-bottom:20px;

    color:#ffffff;

}

.hero h2{

    font-size:28px;

    font-weight:400;

    margin-bottom:20px;

    color:#f5f5f5;

}

.hero p{

    font-size:22px;

    margin-bottom:35px;

    color:#ffffff;

    opacity:.95;

}

.hero-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:nowrap;
    min-width:240px;
    height:58px;
    font-size:20px;
    font-weight:700;
}

.btn-primary{
    background:#D4AF37;
    color:#123B6D !important;
    font-size:18px;
    font-weight:700;
    padding:16px 36px;
    border:none;
    border-radius:8px;
    text-decoration:none;
    display:inline-block;
}

.btn-primary:hover{
    background: #c89b2c;
    color:#ffffff !important;
}

.btn-secondary{
    background:rgba(255,255,255,.15);
    color:#ffffff;
    border:2px solid #ffffff;
    font-size:18px;
    font-weight:600;
    padding:16px 36px;
    border-radius:8px;
    text-decoration:none;
    display:inline-block;
    box-shadow:0 8px 24px rgba(0,0,0,.25);
}

.btn-secondary:hover{
    background:#ffffff;
    color:#123B6D;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    min-width: 0;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.emmaus-site-main {
    width: 100%;
    overflow-x: hidden;
}

.emmaus-container {
    width: min(calc(100% - 40px), 1200px);
    margin-inline: auto;
}