:root {
    --atawa-red: #0E5C5C;          /* primary (deep teal) */
    --atawa-red-dark: #084A4A;     /* primary hover */
    --atawa-red-soft: #E1F0F0;     /* primary tint bg */
    --atawa-navy: #0F172A;
    --atawa-navy-soft: #1E293B;
    --atawa-cream: #FFF8F0;
    --atawa-gold: #E08D6F;         /* accent (soft coral) */
    --atawa-gold-soft: #FFEDE5;
    --atawa-gray: #475569;
    --atawa-gray-soft: #94A3B8;
    --atawa-bg: #FAFAF7;
    --atawa-border: rgba(15, 23, 42, 0.08);
    --atawa-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    --atawa-primary-rgb: 14, 92, 92;
    --atawa-accent-rgb: 224, 141, 111;
}

html, body {
    background: var(--atawa-bg);
    color: var(--atawa-navy);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body:not(.home) { padding-top: 90px; }
body.home { padding-top: 80px; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--atawa-navy);
    line-height: 1.2;
}

h1, .h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--atawa-gray); }
a { color: var(--atawa-red); }
a:hover { color: var(--atawa-red-dark); }

/* ============ Navigation ============ */
.navbar.atawa-nav {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--atawa-border);
    transition: padding .25s ease, box-shadow .25s ease, background .25s ease;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}
.navbar.atawa-nav.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}
.navbar.atawa-nav .navbar-brand img {
    width: 170px;
    height: auto;
    transition: width .25s ease;
}
.navbar.atawa-nav.scrolled .navbar-brand img { width: 150px; }

.navbar.atawa-nav .nav-link {
    color: var(--atawa-navy) !important;
    font-weight: 500;
    font-size: 0.94rem;
    position: relative;
    padding: 0.5rem 0.85rem !important;
    transition: color .2s;
}
.navbar.atawa-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
    height: 2px;
    background: var(--atawa-red);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.navbar.atawa-nav .nav-link:hover::after { transform: scaleX(1); }
.navbar.atawa-nav .nav-link.active::after { transform: scaleX(1); }

.navbar.atawa-nav .dropdown-menu {
    border: 1px solid var(--atawa-border);
    border-radius: 12px;
    box-shadow: var(--atawa-shadow);
    padding: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.93rem;
}
.navbar.atawa-nav .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    color: var(--atawa-navy);
    font-weight: 500;
    transition: background .15s, color .15s;
}
.navbar.atawa-nav .dropdown-item:hover,
.navbar.atawa-nav .dropdown-item:focus {
    background: var(--atawa-red-soft);
    color: var(--atawa-red);
}

.nav-lang {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--atawa-border);
    border-radius: 999px;
    padding: 0.35rem 0.85rem !important;
    margin-left: 0.5rem;
    font-size: 0.85rem !important;
    color: var(--atawa-gray) !important;
}
.nav-lang::after { display: none !important; }
.nav-lang img { width: 18px; height: auto; margin-top: 0 !important; }

.navbar.atawa-nav .nav-link.btn-atawa-donate,
.btn-atawa-donate {
    background: var(--atawa-red);
    color: white !important;
    padding: 0.5rem 1.15rem !important;
    border-radius: 999px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 14px rgba(14, 92, 92, 0.28);
    transition: transform .2s, box-shadow .2s, background .2s;
    margin-left: 0.4rem;
}
.navbar.atawa-nav .nav-link.btn-atawa-donate:hover,
.btn-atawa-donate:hover {
    background: var(--atawa-red-dark);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 92, 92, 0.4);
}
.navbar.atawa-nav .nav-link.btn-atawa-donate::after,
.btn-atawa-donate::after { display: none !important; }

/* ============ Hero ============ */
.atawa-hero {
    position: relative;
    min-height: 82vh;
    overflow: hidden;
}
.atawa-hero .carousel,
.atawa-hero .carousel-inner,
.atawa-hero .carousel-item {
    height: 82vh;
    min-height: 600px;
}
.atawa-hero .carousel-item {
    background-size: cover;
    background-position: center;
}
.atawa-hero .carousel-item::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.20) 0%, rgba(15,23,42,0.55) 55%, rgba(15,23,42,0.85) 100%),
        linear-gradient(90deg, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0) 65%);
    z-index: 1;
}

.atawa-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}
.atawa-hero-content .container { pointer-events: auto; }

.atawa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.22);
    margin-bottom: 1.25rem;
}
.atawa-hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--atawa-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(224, 141, 111, 0.25);
}

.atawa-hero h1 {
    color: white;
    font-size: clamp(2.4rem, 5.8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    max-width: 920px;
    margin-bottom: 1.25rem;
}
.atawa-hero h1 .accent {
    background: linear-gradient(120deg, #fff 0%, var(--atawa-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.atawa-hero .lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    max-width: 620px;
    margin-bottom: 0;
}
.atawa-hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--atawa-red);
    color: white;
    padding: 0.9rem 1.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    border: none;
    box-shadow: 0 10px 30px rgba(14, 92, 92, 0.45);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-hero-primary:hover {
    background: var(--atawa-red-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(14, 92, 92, 0.55);
}
.btn-hero-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.9rem 1.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.atawa-hero .carousel-indicators {
    z-index: 4;
    bottom: 1.5rem;
    margin-bottom: 0;
}
.atawa-hero .carousel-indicators [data-bs-target] {
    width: 28px; height: 3px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    opacity: 1;
    margin: 0 4px;
    transition: background .2s, width .2s;
}
.atawa-hero .carousel-indicators .active {
    background: white;
    width: 40px;
}
.atawa-hero .carousel-control-prev,
.atawa-hero .carousel-control-next {
    width: 8%;
    z-index: 4;
    opacity: 0.6;
}
.atawa-hero .carousel-control-prev:hover,
.atawa-hero .carousel-control-next:hover { opacity: 1; }

/* ============ Sections ============ */
.section {
    padding: 5rem 0;
}
.section-tight { padding: 3rem 0; }

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--atawa-red);
    margin-bottom: 0.85rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}
.section-lead {
    font-size: 1.1rem;
    color: var(--atawa-gray);
    max-width: 680px;
}

/* ============ Stat cards ============ */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.stat-card {
    background: white;
    border: 1px solid var(--atawa-border);
    border-radius: 16px;
    padding: 1.5rem;
}
.stat-card .num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--atawa-red);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat-card .label {
    margin-top: 0.5rem;
    color: var(--atawa-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============ Modern feature cards ============ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.atawa-card {
    background: white;
    border: 1px solid var(--atawa-border);
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.atawa-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--atawa-shadow);
    border-color: rgba(14, 92, 92, 0.25);
    color: inherit;
}
.atawa-card .card-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--atawa-red-soft) 0%, #C9E3E3 100%);
    color: var(--atawa-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
}
.atawa-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.atawa-card p {
    font-size: 0.93rem;
    color: var(--atawa-gray);
    margin-bottom: 1.15rem;
    flex: 1;
}
.atawa-card .card-link {
    color: var(--atawa-red);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap .2s;
}
.atawa-card:hover .card-link { gap: 0.6rem; }

/* ============ Featured announcement card ============ */
.atawa-announcement {
    background: linear-gradient(135deg, var(--atawa-navy) 0%, var(--atawa-navy-soft) 100%);
    color: white;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.atawa-announcement::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 92, 92, 0.4) 0%, rgba(14, 92, 92, 0) 70%);
    pointer-events: none;
}
.atawa-announcement::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -5%;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 141, 111, 0.18) 0%, rgba(224, 141, 111, 0) 70%);
    pointer-events: none;
}
.atawa-announcement > * { position: relative; z-index: 1; }
.atawa-announcement .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--atawa-gold);
    margin-bottom: 0.85rem;
}
.atawa-announcement h2 {
    color: white;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
}
.atawa-announcement p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
}
.atawa-announcement a:not(.btn) {
    color: var(--atawa-gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(224, 141, 111, 0.5);
}
.atawa-announcement a:not(.btn):hover {
    border-bottom-color: var(--atawa-gold);
}
.announce-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.announce-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: white;
}
.announce-chip strong { color: var(--atawa-gold); margin-right: 0.3rem; }

/* ============ Visit (map) section ============ */
.visit-card {
    background: white;
    border: 1px solid var(--atawa-border);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
}
@media (max-width: 768px) {
    .visit-card { grid-template-columns: 1fr; }
}
.visit-card .visit-info { padding: 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.visit-card .visit-map {
    position: relative;
    min-height: 320px;
    display: block;
    overflow: hidden;
    text-decoration: none;
}
.visit-card .visit-map #atawa-map {
    position: absolute;
    inset: 0;
    background: #eef3f4;
}
.visit-card .visit-map .visit-map-cta {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 500;
    background-color: #0E5C5C !important;
    color: #fff !important;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(14, 92, 92, 0.35);
    transition: transform .2s ease, box-shadow .2s ease;
    opacity: 1 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.visit-card .visit-map .visit-map-cta i { color: #fff !important; }
.visit-card .visit-map:hover .visit-map-cta {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 92, 92, 0.45);
}
.atawa-pin, .leaflet-div-icon.atawa-pin {
    background: transparent !important;
    border: none !important;
}
.atawa-pin .atawa-pin-inner {
    width: 44px; height: 44px;
    border-radius: 50% 50% 50% 0;
    background-color: #0E5C5C !important;
    transform: rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    border: 3px solid #fff;
}
.atawa-pin .atawa-pin-inner i { transform: rotate(45deg); font-size: 1.15rem; color: #fff; }
.visit-card .visit-info h3 { font-size: 1.5rem; margin-bottom: 0.85rem; }
.visit-card .visit-info p { margin-bottom: 0.5rem; }
.visit-card .visit-info .addr-line { color: var(--atawa-navy); font-weight: 600; }

/* ============ Page sub-header (non-index pages) ============ */
.atawa-page-title {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--atawa-border);
}
.atawa-page-title h1,
.atawa-page-title h2 {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* ============ Footer ============ */
.atawa-footer {
    background: var(--atawa-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}
.atawa-footer h5 {
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.1rem;
    font-weight: 700;
}
.atawa-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
    display: block;
    padding: 0.25rem 0;
    transition: color .2s, transform .2s;
}
.atawa-footer a:hover {
    color: white;
    transform: translateX(2px);
}
.atawa-footer .footer-brand img { width: 160px; opacity: 0.85; margin-bottom: 1rem; }
.atawa-footer .footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; max-width: 320px; }
.atawa-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.atawa-footer .footer-bottom a {
    display: inline;
    color: rgba(255, 255, 255, 0.6);
    padding: 0;
}
.atawa-footer .footer-bottom-text { flex: 1 1 auto; }
.atawa-footer .footer-ataturk {
    height: 72px;
    width: auto;
    opacity: 0.85;
    flex-shrink: 0;
}

/* ============ Misc Bootstrap overrides ============ */
.card {
    border: 1px solid var(--atawa-border);
    border-radius: 14px;
    box-shadow: none;
}
.btn-primary {
    background: var(--atawa-red);
    border-color: var(--atawa-red);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--atawa-red-dark);
    border-color: var(--atawa-red-dark);
}

/* ============ Mobile tweaks ============ */
@media (max-width: 991px) {
    .navbar.atawa-nav .navbar-collapse {
        background: white;
        margin-top: 0.85rem;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: var(--atawa-shadow);
        border: 1px solid var(--atawa-border);
    }
    .nav-lang, .btn-atawa-donate { margin-left: 0; margin-top: 0.5rem; align-self: flex-start; }
    .atawa-hero { min-height: 70vh; }
    .atawa-hero .carousel,
    .atawa-hero .carousel-inner,
    .atawa-hero .carousel-item { height: 70vh; min-height: 500px; }
}
@media (max-width: 576px) {
    .section { padding: 3rem 0; }
    .atawa-announcement { padding: 2rem 1.5rem; }
    body:not(.home) { padding-top: 76px; }
}
