/* ===== Custom Properties ===== */
:root {
    --color-primary: #231F20;
    --color-accent: #920F14;
    --color-accent-hover: #b01218;
    --color-yellow: #FBC707;
    --color-white: #FFFFFF;
    --color-light-bg: rgba(255, 255, 255, 0.92);
    --font-main: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.18);
    --radius: 12px;
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-primary);
    line-height: 1.6;
    background: #f5f5f5;
}

/* ===== Hero / Header Section ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
    background-color: white;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 80px 20px 40px;
    max-width: 800px;
}

.hero__logo {
    max-height: 120px;
    width: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.hero__title {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--color-accent);
    opacity: 1;
    max-width: 600px;
    margin: 0 auto 8px;
    line-height: 1.4;
}

.hero__subtitle + p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 400;
    color: var(--color-primary);
    opacity: 0.8;
    margin-top: 8px;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
    color: var(--color-primary);
    opacity: 0.6;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity var(--transition);
}

.hero__scroll-hint:hover {
    opacity: 1;
}

.hero__scroll-hint svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== Main Content ===== */
.main-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

/* ===== Section Titles ===== */
.section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== Cards Grid ===== */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Card ===== */
.card {
    background: var(--color-light-bg);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}

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

.card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    fill: var(--color-accent);
}

.card__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.card__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.card__text a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.card__text a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.social-links__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.social-links__item:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.social-links__item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ===== Petition Button ===== */
.petition-section {
    text-align: center;
    margin: 40px 0 60px;
    opacity: 0;
    transform: translateY(30px);
}

.petition-section.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.petition-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-accent);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(146, 15, 20, 0.3);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.petition-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(146, 15, 20, 0.4);
}

.petition-btn:active {
    transform: translateY(0);
}

.petition-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 24px 20px;
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--color-white);
}

.footer-age {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    line-height: 1.4;
}
