/*
Theme Name: YAŞAT Arama Kurtarma Teması
Theme URI: https://yasat.org.tr
Author: Kodenta
Author URI: https://kodenta.com
Description: YAŞAT Derneği için modern, arama kurtarma odaklı WordPress teması.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yasat-theme
Tags: nonprofit, rescue, charity, modern, responsive
*/

:root {
    /* Brand Colors */
    --color-black: #0A0A0A;
    --color-dark-gray: #3A3A3A;
    --color-yellow: #FFC800;
    /* Sıcak Sarı */
    --color-orange: #FF8C00;
    /* Turuncu */
    --color-white: #FFFFFF;

    /* Mappings */
    --primary-yellow: var(--color-yellow);
    --primary-orange: var(--color-orange);
    --secondary-navy: var(--color-dark-gray);
    /* Mapping old var to new preference */
    --text-dark: var(--color-black);
    --text-light: var(--color-white);
    --bg-light: var(--color-white);
    --bg-dark: var(--color-black);
    --bg-off-white: #f9f9f9;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /* Fonts Stack: Priority to DIN if available, then Roboto/Inter */
    --font-heading: 'DIN Pro', 'DIN 1451', 'Roboto', sans-serif;
    --font-body: 'Inter', 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--secondary-navy);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 8px 19px !important;
    border-radius: 50px;
    /* Rounded pill shape */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--color-black);
    /* Dark text on yellow for better contrast */
}

.btn-primary:hover {
    background-color: #ffdb4d;
    /* Lighter yellow on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-navy);
    color: white;
}

.btn-secondary:hover {
    background-color: #4a4a4a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-padding {
    padding: 80px 0;
}

/* Header & Emergency Bar */
.emergency-bar {
    background-color: var(--alert-red);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    /* Slightly taller header */
}

.logo img {
    height: 88px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-navy);
    padding: 5px 0;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    /* Slightly larger */
    position: relative;
    text-transform: none;
    /* Removed uppercase for menu items (except buttons) */
}

.nav-links a:hover {
    color: #000;
}

.nav-links a:not(.btn)::after {
    /* Exclude buttons from underline */
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--color-orange);
    transition: width 0.3s;
    margin-top: 4px;
}

.nav-links a:not(.btn)::hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    /* WordPress'te dinamik background için düzenlenecek */
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), #3a3a3a;
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layout for Activities */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-navy);
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: var(--primary-yellow);
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
}

.footer-col ul li a:hover {
    color: white;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: white;
        text-align: center;
        padding: 20px 0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}