﻿/* ==========================================================================
   FONTS
   ========================================================================== */
/* Century Gothic is a system font, no import needed */

/* ==========================================================================
   VARIABLES & GLOBAL STYLES
   ========================================================================== */
:root {
    --color-green: #006b2d;
    --color-red: #e30613;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #f5f5f5;
    --color-dark-gray: #333333;
    --color-light-gray: #e6e6e6;
    --spacing: 2rem;
}

.swieta-landing * {
    box-sizing: border-box;
}

.swieta-landing {
    font-family: 'Century Gothic', sans-serif;
    color: var(--color-dark-gray);
    line-height: 1.6;
    background: var(--color-white);
}

.swieta-landing h1,
.swieta-landing h2,
.swieta-landing h3 {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 900;
    line-height: 1.2;
    color: var(--color-green);
}

.swieta-landing h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

footer.footer {
    display: none;
}

.swieta-landing h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

.swieta-landing h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.swieta-landing p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.swieta-landing .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   CUSTOM HEADER FOR CAMPAIGN
   ========================================================================== */
.campaign-header {
    background: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.campaign-header .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.campaign-header .logo {
    max-height: 60px;
}

.campaign-header .account-info {
    text-align: right;
}

.campaign-header .account-label {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-bottom: 5px;
}

.campaign-header .account-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-green);
}

/* Payment method copy functionality */
.payment-method {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
    position: relative;
}

.payment-method:hover {
    opacity: 0.8;
}

.copy-icon {
    display: inline-block;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.payment-method:hover .copy-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   HERO SECTION WITH VIDEO BACKGROUND
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 20px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop video - visible by default (>=768px) */
.hero-video-desktop {
    display: block;
}

/* Mobile video - hidden by default (>=768px) */
.hero-video-mobile {
    display: none;
}

/* Mobile breakpoint - switch videos */
@media (max-width: 767px) {
    .hero-video-desktop {
        display: none;
    }
    
    .hero-video-mobile {
        display: block;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    color: var(--color-white);
    padding: 1px 20px; /* bylo 40 20 */
    margin-top: 15rem;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 7vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 120%;
}

/* ==========================================================================
   DONATION AMOUNTS
   ========================================================================== */
.donation-amounts {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.amount-btn {
    background: var(--color-white);
    color: var(--color-green);
    border: 2px solid var(--color-white);
    padding: 15px 35px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
    transform: translateY(-3px);
}

.amount-btn.default {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
}

/* ==========================================================================
   SCROLL ARROW INDICATOR
   ========================================================================== */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

.scroll-arrow svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

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

/* Mobile responsiveness for scroll arrow */
@media (max-width: 767px) {
    .scroll-arrow {
        bottom: 20px;
    }
    
    .scroll-arrow svg {
        width: 32px;
        height: 32px;
    }
}

/* ==========================================================================
   DONATION FORM MODAL
   ========================================================================== */
.donation-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.donation-form-modal.active {
    display: flex;
}

.cdp-selected-amount {
    display: none!important;
}
.donation-form-content {
    background: var(--color-white);
    padding: 20px 10px;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.donation-form-content h2 {
    margin-bottom: 0.3rem;
}

.donation-form-content input[type=text], .donation-form-content input[type=number], .donation-form-content input[type=email], .donation-form-content input[type=tel] {
    padding: 0.3rem 0.6rem;
}

.donation-form-content .cdp-donation-form {
    padding: 10px;
}
.donation-form-content {

    h2 {
        font-size: 23px;
    }
    h3 {
        text-align: center;
        font-size: 19px;
    }
}

.donation-form-close {
    float: right;
    font-size: 30px;
    color: var(--color-dark-gray);
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--color-red);
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
}

.btn-primary:hover {
    background: #c00510;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--color-green);
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background: #005223;
    transform: translateY(-2px);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--color-gray);
}

.section-white {
    background: var(--color-white);
}

/* ==========================================================================
   WHY SECTION
   ========================================================================== */
.why-section {
    padding: 80px 0;
    background: var(--color-white);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.why-text h2 {
    color: var(--color-green);
    text-align: left;
}

.why-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.why-video {
    position: sticky;
    top: 100px;
    align-self: start;
}

/* ==========================================================================
   RENOVATION POINTS
   ========================================================================== */
.renovation-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.renovation-point {
    text-align: center;
}

.renovation-point-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.renovation-point-icon img {
    width: auto;
    height: 90px;

}

.renovation-point-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-green);
}

/* ==========================================================================
   CAMPAIGN VIDEO SECTION
   ========================================================================== */
.campaign-video-section {
    background: var(--color-gray);
    padding: 80px 0;
}

.campaign-video-wrapper {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    position: relative;

}

.campaign-video-wrapper video,
.campaign-video-wrapper iframe {
    width: 100%;
    /*position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);*/
}

/* ==========================================================================
   DOG STORIES
   ========================================================================== */
.dog-story {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.dog-story:last-child {
    border-bottom: none;
}

.dog-story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dog-story:nth-child(even) .dog-story-content {
    direction: rtl;
}

.dog-story:nth-child(even) .dog-story-text {
    direction: ltr;
}

.dog-story:nth-child(even) .dog-story-media {
    direction: ltr;
}

.dog-story-text h3 {
    color: var(--color-green);
    margin-bottom: 1.5rem;
}

.dog-story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ==========================================================================
   IMAGE SLIDER
   ========================================================================== */
.dog-story-slider {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.dog-story-slider img {
    width: 100%;
    height: auto;
    display: block;
}

/* Video wrapper with custom play button */
.video-wrapper {
    position: relative;
    width: 100%;
}

.video-wrapper video {
    display: block;
    width: 100%;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: all;
}

.custom-play-button:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.custom-play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.custom-play-button svg {
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background: var(--color-gray);
    padding: 80px 0;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-red);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-dark-gray);
}

/* ==========================================================================
   FULL WIDTH IMAGE SECTION
   ========================================================================== */
.full-width-cta {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-width-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.full-width-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.full-width-cta h2 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.campaign-footer {
    background: var(--color-dark-gray);
    color: var(--color-white);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-info {
    margin-bottom: 30px;
}

.footer-info h3 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-account {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    margin: 20px 0;
}

.footer-account .label {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-account .number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* ==========================================================================
   POPUP
   ========================================================================== */
.exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.exit-popup.active {
    display: flex;
}

.exit-popup-content {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}

.exit-popup h3 {
    margin-bottom: 20px;
}

.exit-popup p {
    margin-bottom: 30px;
}

.page-template-page-swieta {
    .social-top {
        display: none;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .campaign-header .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .campaign-header .account-info {
        text-align: center;
    }

    .hero-section {
        margin-top: 20px;
    }

    .donation-amounts {
        flex-direction: row;
        align-items: center;
    }

    .amount-btn {
        width: 150px;
    }

    .why-content,
    .dog-story-content {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .dog-story-media {
        order: -1;
    }

    .dog-story-text {
        order: 1;
    }

    .renovation-points {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .dog-story:nth-child(even) .dog-story-content {
        direction: ltr;
    }

    .campaign-header .header-content {
        gap: 0;
        flex-direction: row;
    }

    .campaign-header .account-info {
        padding-left: 2rem;
        text-align: right;
    }

    .campaign-header .account-number {
        font-size: 0.9rem;
    }

    .campaign-header .logo {
        max-height: 95px;
    }
}

/* Century Gothic is a system font, no import needed */


.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 40px;
    background: var(--color-gray);
    border-radius: 20px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 107, 45, 0.2);
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-green), #005223);
    border-radius: 15px 15px 0 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-green);
    font-family: 'Amatic SC', cursive;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-dark-gray);
    line-height: 1.4;
}


.thank-you-page {
    font-family: 'Century Gothic', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 40px 20px;
    margin-top: -100px; /* Kompensuje standardowy header */
}

.thank-you-container {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.thank-you-image {
    width: 100%;

    display: block;
}

.thank-you-content {
    padding: 50px 40px;
    text-align: center;
}

.thank-you-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #006b2d;
    margin-bottom: 30px;
}

.thank-you-message {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.thank-you-message strong {
    color: #006b2d;
}

.share-section {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}

.share-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #006b2d;
}

.share-message {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px dashed #006b2d;
    font-family: monospace;
    font-size: 1rem;
    line-height: 1.6;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.share-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #1877f2;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.share-btn.copy-btn {
    background: #006b2d;
}

.share-btn.copy-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 107, 45, 0.3);
}

.footer-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-info h4 {
    font-size: 1.2rem;
    color: #006b2d;
    margin-bottom: 15px;
}

.footer-info p {
    color: #666;
    margin-bottom: 10px;
}

.account-box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.account-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.account-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #006b2d;
}

.logo-footer {
    max-width: 200px;
    margin: 30px auto 20px;
}

@media (max-width: 768px) {

    .why-video {
        width: 100%;
    }
    .thank-you-content {
        padding: 30px 20px;
    }

    .swieta-landing .container {
        padding: 0 5px;
    }

    .section {
        padding: 20px 0;
    }
    .campaign-video-section, .about-section {
        padding: 30px 0;
    }

    .hero-content {
        margin-top: 3rem;
    }

    .hero-section {
        height: 80vh;
    }

    .thank-you-title {
        font-size: 2rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Snowflake animation for festive feeling */
@keyframes snowfall {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

.snowflake {
    position: fixed;
    color: #e0e0e0;
    font-size: 1em;
    user-select: none;
    z-index: 10;
    animation: snowfall linear infinite;
}

.snowflake:nth-of-type(1) {
    left: 5%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake:nth-of-type(2) {
    left: 15%;
    animation-duration: 12s;
    animation-delay: 1s;
}

.snowflake:nth-of-type(3) {
    left: 25%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.snowflake:nth-of-type(4) {
    left: 35%;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

.snowflake:nth-of-type(5) {
    left: 45%;
    animation-duration: 13s;
    animation-delay: 3s;
}

.snowflake:nth-of-type(6) {
    left: 55%;
    animation-duration: 14s;
    animation-delay: 1.5s;
}

.snowflake:nth-of-type(7) {
    left: 65%;
    animation-duration: 10s;
    animation-delay: 2.5s;
}

.thank-you-container {
    margin-top: 5rem;
}

.snowflake:nth-of-type(8) {
    left: 75%;
    animation-duration: 16s;
    animation-delay: 0s;
}

.snowflake:nth-of-type(9) {
    left: 85%;
    animation-duration: 12s;
    animation-delay: 1s;
}

.snowflake:nth-of-type(10) {
    left: 95%;
    animation-duration: 11s;
    animation-delay: 3.5s;
}