/* app/static/css/style.css */

:root {
    --primary-color: #ff6f61;
    --secondary-color: #4a4a4a;
    --background-color: #f9f9f9;
    --card-bg-color: #ffffff;
    --text-color: #333;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 420px; /* Імітація екрану телефону */
    height: 100vh;
    max-height: 800px;
    background-color: var(--card-bg-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;
    overflow-y: auto;
    position: relative;
}

/* --- Головна сторінка --- */
.hero-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.hero-screen h1 {
    font-size: 1.8em;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 40px;
}

.hero-buttons .btn {
    display: block;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    width: 200px;
    transition: transform 0.2s ease;
}
.hero-buttons .btn:hover {
    transform: scale(1.05);
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* --- Сторінка /pets --- */
.pet-gallery {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.nav-button {
    position: absolute;
    top: 0;
    height: 70%; /* Навігація тільки на фото */
    width: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.nav-button.prev { left: 0; }
.nav-button.next { right: 0; }

.pet-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background-color: #d0b4f6; /* Фон для інформаційної частини */
}

.pet-photo-container {
    height: 70%;
    width: 100%;
    flex-shrink: 0;
    position: relative; /* Для можливого оверлея, якщо знадобиться */
}

.pet-card-header {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Libre Baskerville', 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b1b1b;
    z-index: 20;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.pet-card-header:hover {
    opacity: 0.7;
}

.pet-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.pet-info-container {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.pet-info-container .pet-name {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2em;
    color: var(--secondary-color);
}

.pet-short-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 12%;
}

.pet-short-info p {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 0;
    font-size: 1em;
    color: var(--text-color);
    text-align: center;
}

.pet-short-info p strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.pet-info-container .action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto; /* Притискає кнопки до низу */
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.pet-info-container .action-buttons .btn {
    text-decoration: none;
    padding: 15px 0;
    font-weight: bold;
    text-transform: uppercase;
    flex-grow: 1;
    text-align: center;
    transition: transform 0.2s ease;
    border-radius: 30px;
    border: 1px solid black;
}

.pet-info-container .action-buttons .btn-primary {
    color: black;
    background-color: white;
}

.pet-info-container .action-buttons .btn-secondary {
    color: white;
    background-color: black;
}


/* --- Сторінка деталей тварини --- */
.pet-detail-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #d1b4f6;
}

.pet-detail-container .pet-photo-wrapper {
    width: 100%;
    height: 60%; /* Фото займає 60% висоти */
    flex-shrink: 0;
    background-color: #d1b4f6;
    position: relative;
}

.pet-detail-container .back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    text-decoration: none;
}

.pet-detail-container .back-button:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pet-detail-container .back-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.pet-detail-container .back-button:hover svg {
    transform: translateX(-2px);
}

.pet-detail-container .pet-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-detail-container .pet-info {
    padding: 15px 20px;
    border-radius: 10px;
    flex-grow: 1;
    background-color: #f9ffa2;
    width: 80%;
    margin: 0 auto;
    overflow-y: auto; /* Дозволити прокрутку, якщо контенту багато */
}

.pet-detail-container .action-buttons {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    background-color: #d1b4f6;
    flex-shrink: 0; /* Запобігти зменшенню розміру кнопок */
}

.pet-detail-container .action-buttons .btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.pet-detail-container .action-buttons button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.pet-detail-container .action-buttons button img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.pet-detail-container .action-buttons button:hover img {
    opacity: 1;
}

.pet-detail-container .info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pet-detail-container h2 {
    margin: 0;
    font-size: 1.5em;
}

.pet-detail-container .info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.pet-detail-container .info-tags span {
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
}

.pet-detail-container .pet-description {
    font-size: 0.9em;
    line-height: 1.5;
    color: #555;
}

/* --- New Index Landing Page Styles --- */

/* Typography & Layout Tokens */
:root {
    --lavender-bg: #d2c4f9;
    --neon-lime: #c0ff3e;
    --cyan-accent: #00d2ff;
    --yellow-accent: #f8ff16;
    --white: #ffffff;
    --black: #000000;
    --dark-gray: #121212;
    --light-lavender-card: #e5dbff;
    --text-muted: #888888;
}

/* Global resets for landing page */
.landing-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: var(--lavender-bg);
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    overflow-x: hidden;
}

.landing-content {
    width: 100%;
}

.landing-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Font styles */
.serif, h1, h2, h3, .hero-title, .section-title, .meet-heading, .footer-title {
    font-family: 'Libre Baskerville', 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

/* Utility Text Colors */
.text-cyan { color: var(--cyan-accent); }
.text-black { color: var(--black); }

/* --- Fullscreen Navigation Menu Overlay --- */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-menu-overlay.active {
    transform: translateY(0);
}

.nav-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu-link {
    color: var(--white);
    text-decoration: none;
    font-size: 2rem;
    font-family: 'Libre Baskerville', 'Playfair Display', serif;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu-link:hover {
    color: var(--neon-lime);
    transform: scale(1.1);
}

/* --- Block 1: Hero Block --- */
.block-1-hero {
    background-color: var(--lavender-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0 80px 0;
    box-sizing: border-box;
    position: relative;
}

.landing-header {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 0;
}

.header-logo {
    grid-column: 2;
    justify-self: center;
}

.header-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--black);
}

/* Hamburger Menu Icon */
.hamburger-menu {
    grid-column: 3;
    justify-self: end;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    z-index: 1100;
}

.hamburger-line {
    display: block;
    width: 32px;
    height: 4px;
    background-color: var(--black);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

/* Hamburger active transformation */
.hamburger-menu.active .hamburger-line:first-child {
    transform: translateY(6px) rotate(45deg);
    background-color: var(--white);
}

.hamburger-menu.active .hamburger-line:last-child {
    transform: translateY(-6px) rotate(-45deg);
    background-color: var(--white);
}

.hero-main-content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-title-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin: 0;
    color: var(--black);
    z-index: 1;
    text-align: center;
}

/* Overlapping animals styling */
.hero-composition-container {
    width: 100%;
    max-width: 780px;
    height: 380px;
    position: relative;
    margin: -25px auto 0 auto; /* Negative margin pulls animals up to overlap the title */
    z-index: 2;
}

.hero-composition-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-animal {
    position: absolute;
    bottom: 0;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.hero-animal:hover {
    transform: scale(1.06) translateY(-8px);
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25));
    z-index: 10;
}

.animal-dog {
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    z-index: 3;
}

/* Re-apply scale-and-translate on hover for the centered dog which has horizontal offset */
.animal-dog:hover {
    transform: translateX(-50%) scale(1.06) translateY(-8px);
}

.animal-rabbit {
    left: 12%;
    width: 230px;
    z-index: 2;
    transform: rotate(-10deg);
}

.animal-rabbit:hover {
    transform: rotate(-10deg) scale(1.06) translateY(-8px);
}

.animal-cat {
    right: 8%;
    width: 265px;
    z-index: 2;
    bottom: -42px;
    transform: rotate(10deg);
}

.animal-cat:hover {
    transform: rotate(10deg) scale(1.06) translateY(-8px);
}

.hero-subtitle {
    font-family: 'Libre Baskerville', 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 5.5rem 0 0 0;
    color: var(--black);
    text-align: center;
    z-index: 3;
}

.hero-action {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
}

.hero-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff763b; /* Orange color matching site */
    color: var(--white);
    text-decoration: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(255, 118, 59, 0.35);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hero-scroll-btn svg {
    animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.hero-scroll-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(255, 118, 59, 0.45);
}

/* --- Block 2: Intro Block --- */
.block-2-intro {
    background-color: var(--black);
    color: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.intro-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.intro-image {
    width: 100%;
    max-width: 440px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.intro-image:hover {
    transform: rotate(2deg) scale(1.03);
}

.intro-label {
    display: inline-block;
    color: var(--cyan-accent);
    font-size: 1.5rem;
    font-family: 'Libre Baskerville', 'Playfair Display', serif;
    font-weight: 400;

    margin-bottom: 1rem;
}

.intro-heading-decor {
    color: var(--neon-lime);
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 0 0 1.5rem 0;
}

.intro-main-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: var(--white);
}

.intro-text-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.intro-text-body p:last-child {
    margin-bottom: 0;
}

.intro-action {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-start;
}

.btn-intro-pets {
    display: inline-block;
    background-color: transparent;
    color: var(--neon-lime);
    border: 2px solid var(--neon-lime);
    text-decoration: none;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-intro-pets:hover {
    background-color: var(--neon-lime);
    color: var(--black);
    transform: translateY(-2px);
}

/* --- Block 3: What We Do --- */
.block-3-how-it-works {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.how-arrow-container {
    margin: 20px 0 50px 0;
    display: flex;
    justify-content: flex-end;
    padding-right: 18%;
}

.pink-arrow-svg {
    animation: bounceDiagonal 2.5s infinite ease-in-out;
}

@keyframes bounceDiagonal {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-12px, 12px); }
}

@keyframes bounceVerticalMobile {
    0%, 100% { transform: rotate(-45deg) translateY(0); }
    50% { transform: rotate(-45deg) translateY(10px); }
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.how-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
}

.how-card {
    background-color: var(--light-lavender-card);
    color: var(--black);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.how-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(210, 196, 249, 0.2);
}

.how-stage-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
}

.how-stage-num {
    display: block;
    font-family: 'Libre Baskerville', 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--neon-lime);
    margin-bottom: 15px;
    text-align: center;
}

.how-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Center Stage card style (Bulldog) */
.how-card-center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.how-center-cyan-text {
    color: var(--cyan-accent);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 25px 0;
    max-width: 320px;
}

.how-dog-img-container {
    width: 100%;
    max-width: 300px;
}

.how-dog-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.how-dog-img-container:hover .how-dog-image {
    transform: scale(1.05);
}

/* --- Block 4: Vision --- */
.block-4-vision {
    background-color: var(--lavender-bg);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3.5rem;
    row-gap: 5rem;
    margin-top: 60px;
}

.vision-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vision-image-box {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.vision-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vision-item:hover .vision-img {
    transform: translateY(-8px) scale(1.05);
}

.vision-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    max-width: 300px;
}

/* --- Block 5: Support Project --- */
.block-5-support {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
}

.support-methods-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3.5rem;
    margin-bottom: 60px;
}

.support-method-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.support-method-link:hover {
    color: var(--cyan-accent);
    border-bottom: 2px solid var(--cyan-accent);
}

.support-card-main {
    border: 2px solid rgba(255,255,255,0.1);
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-yellow-title {
    color: var(--yellow-accent);
    font-size: 2rem;
    margin: 0 0 40px 0;
}

.support-dog-binoculars {
    width: 100%;
    max-width: 320px;
    margin-bottom: 40px;
}

.support-binoc-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    transition: transform 0.5s ease;
}

.support-dog-binoculars:hover .support-binoc-img {
    transform: scale(1.06);
}

.support-yellow-desc {
    color: var(--yellow-accent);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 0 50px 0;
}

.btn-join-project {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--light-lavender-card);
    color: var(--black);
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: lowercase;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-join-project:hover {
    transform: scale(1.05);
    background-color: var(--white);
}

.btn-join-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-join-project:hover .btn-join-arrow {
    transform: translateX(4px);
}

/* --- Block 6: App Promo --- */
.block-6-meet {
    background-color: var(--yellow-accent);
    color: var(--black);
}

.meet-top-title {
    font-size: 2.2rem;
    text-align: center;
    margin: 0 0 70px 0;
    line-height: 1.3;
}

.meet-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.meet-col {
    display: flex;
    flex-direction: column;
}

.meet-info-left {
    text-align: right;
}

.meet-cta-right {
    text-align: left;
}

.meet-heading {
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.meet-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
}

.phone-mockup-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.phone-mockup-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    transition: transform 0.4s ease;
}

.phone-mockup-container:hover .phone-mockup-img {
    transform: translateY(-8px);
}

.meet-link-wrapper {
    margin-top: 2rem;
}

.meet-text-link {
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.meet-text-link:hover {
    opacity: 0.7;
}

/* --- Block 7: Calendar --- */
.block-7-calendar {
    background-color: var(--lavender-bg);
    text-align: center;
}

.calendar-mockups-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 50px auto 40px auto;
    display: flex;
    justify-content: center;
}

.calendar-mockups-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.calendar-bottom-text {
    font-size: 1.5rem;
    font-family: 'Libre Baskerville', 'Playfair Display', serif;
    font-weight: 700;
    margin: 0;
}

/* --- Block 8: Become Donor --- */
.block-8-donor {
    background-color: var(--lavender-bg);
    text-align: center;
    padding-top: 0;
}

.donor-box {
    max-width: 700px;
}

.donor-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 1rem 0 3.5rem 0;
    font-weight: 500;
}

.donor-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
}

.donor-link-more {
    color: var(--black);
    text-decoration: underline;
    font-size: 1.1rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.donor-link-more:hover {
    opacity: 0.7;
}

.donor-btn-join {
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    padding: 16px 54px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.donor-btn-join:hover {
    background-color: #222222;
    transform: translateY(-2px);
}

/* --- Block 9: Footer --- */
.block-9-footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.footer-title {
    font-size: 2.2rem;
    margin: 0 0 2rem 0;
}

.footer-contact-title {
    margin-top: 4rem;
}

.footer-doc-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-doc-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-doc-link:hover {
    color: var(--cyan-accent);
}

.footer-contact-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 3.5rem 0;
}

.footer-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 40px;
}

.footer-contact-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-contact-val {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-contact-val:hover {
    color: var(--cyan-accent);
}

/* --- Responsive Adaptations (Media Queries) --- */

/* For smaller desktops & large tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero-composition-container {
        height: 380px;
        max-width: 700px;
    }
    .animal-dog { width: 240px; }
    .animal-rabbit { width: 190px; left: 8%; }
    .animal-cat { width: 215px; right: 5%; bottom: -34px; }

    .intro-grid {
        gap: 3rem;
    }
    .intro-heading-decor {
        font-size: 1.8rem;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        justify-items: center;
    }
    .how-col {
        display: contents;
    }
    .stage-1 { order: 1; }
    .stage-2 { order: 2; }
    .stage-3 { order: 3; }
    .stage-4 { order: 4; }
    .stage-5 { order: 5; }
    .how-card {
        max-width: 250px;
    }
    .how-card-center-wrapper {
        margin: 20px 0;
    }
    .how-arrow-container {
        justify-content: center;
        padding-right: 0;
    }
    .pink-arrow-svg {
        transform: rotate(-45deg);
        animation: bounceVerticalMobile 2s infinite ease-in-out;
    }

    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
        row-gap: 4rem;
    }

    .meet-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .meet-info-left, .meet-cta-right {
        text-align: center;
        align-items: center;
    }
    .meet-link-wrapper {
        margin-top: 1rem;
    }

    .footer-contacts-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* For phones */
@media (max-width: 768px) {
    .landing-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        margin: 1.5rem 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin: 2rem 0 2rem 0;
        padding: 0 15px;
    }
    .hero-composition-container {
        height: 260px;
        max-width: 440px;
        margin: 10px auto 25px auto;
    }
    .animal-dog { width: 220px; }
    .animal-rabbit { width: 170px; left: 5%; }
    .animal-cat { width: 195px; right: 2%; bottom: -32px; }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .intro-action {
        justify-content: center;
    }
    .intro-image {
        max-width: 280px;
    }
    .intro-heading-decor {
        font-size: 1.6rem;
    }
    .intro-main-title {
        font-size: 1.3rem;
    }

    .how-col-side {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .how-card {
        width: 100%;
        max-width: 100%;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        row-gap: 4.5rem;
    }
    .vision-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 2rem;
    }
    .vision-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    .vision-image-box {
        flex: 1;
        width: 50%;
        height: 140px;
        margin-bottom: 0;
        align-items: center;
    }
    .vision-text {
        flex: 1;
        width: 50%;
        max-width: none;
    }

    .support-card-main {
        padding: 40px 20px;
    }
    .support-yellow-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    .support-dog-binoculars {
        max-width: 220px;
        margin-bottom: 25px;
    }
    .support-yellow-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .support-methods-links {
        gap: 1.5rem;
        margin-bottom: 40px;
    }

    .meet-top-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    .meet-heading {
        font-size: 1.4rem;
    }
    .phone-mockup-img {
        max-width: 240px;
    }

    .calendar-mockups-wrapper {
        margin: 30px auto 25px auto;
    }
    .calendar-bottom-text {
        font-size: 1.1rem;
    }

    .donor-actions {
        flex-direction: column;
        gap: 2rem;
    }
    .donor-btn-join {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 16px 0;
    }

    .footer-doc-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-title {
        font-size: 1.6rem;
    }
    .footer-contact-title {
        margin-top: 3rem;
    }
}