@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');

:root {
    --font-primary: 'Funnel Display', sans-serif;
}

body {
    font-family: var(--font-primary) !important;
    background-color: #fff;
    overflow-x: hidden;
}

* {
    font-family: var(--font-primary);
}

/* Back Link Hover Effect */
.back-link {
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #666 !important;
}

.back-link .icon-circle {
    transition: all 0.3s ease;
}

.back-link:hover .icon-circle {
    background-color: #000;
    color: #fff;
    transform: translateX(-5px);
}

/* Logo Glow Effect - CSS replacement for logo_back.svg */
.logo-wrapper {
    position: relative;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    pointer-events: none;
    z-index: 1;
}

.logo-glow::before,
.logo-glow::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

/* Golden/Yellow circle */
.logo-glow::before {
    width: 200px;
    height: 200px;
    background-color: #EECE8F;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
}

/* Brown circle */
.logo-glow::after {
    width: 200px;
    height: 200px;
    background-color: #AD8D76;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
}

/* Black semi-circle (half moon) */
.logo-semicircle {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background-color: #000;
    border-radius: 0 0 200px 200px;
    z-index: 2;
}

/* Custom Button Hover Effect */
.btn-hover-effect {
    transition: all 0.3s ease;
}

.btn-hover-effect:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Link Hover */
.hover-underline {
    padding: 12px 30px;
    border: 1px solid transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hover-underline:hover {
    border: 1px solid #000;
}

/* About Section */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-title {
    font-size: 86px;
    line-height: 1.1;
}

.about-image-wrapper {
    position: relative;
    height: 100%;
}

.about-poster {
    max-width: 100%;
    transition: transform 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-poster:hover {
    transform: scale(1.02);
}

.about-btn {
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.about-btn:hover {
    background-color: transparent;
    color: #fff !important;
    border-color: #fff;
}

/* Timeline Section */
.timeline-title {
    font-size: 86px;
    line-height: 1.1;
}

.timeline-wrapper {
    position: relative;
    padding: 60px;
    background-color: #171717;
}

.timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    top: 50%;
    transform: translateY(-50%);
}

.timeline-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

/* Center dots vertically so line passes through center */
.timeline-dots-row .row {
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: #333;
    /* Default future state */
    border: 2px solid #555;
    transition: all 0.3s ease;
}

/* Passed State */
.timeline-dot.passed {
    background-color: #fff;
    border-color: #fff;
}

/* Active State */
.timeline-dot.active {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
    animation: pulse 2s infinite;
}

/* Special Last Dot */
.timeline-dot.special {
    width: 24px;
    height: 24px;
    background-color: #171717;
    border: 4px solid #555;
}

.timeline-dot.special.passed {
    border-color: #fff;
    background-color: #fff;
    /* Optional: fill it if passed */
}

.timeline-dot.special.active {
    border-color: #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
    animation: none;
    /* No pulse for the ring style, or custom pulse */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.timeline-label {
    font-size: 14px;
    color: #888;
    /* Default future text */
    font-weight: 500;
    transition: color 0.3s ease;
}

.timeline-label.passed,
.timeline-label.active {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    /* Header Mobile */
    .back-link span {
        display: none;
        /* Hide text on mobile */
    }

    .back-link .icon-circle {
        width: 36px !important;
        height: 36px !important;
    }

    .back-link .icon-circle svg {
        width: 16px;
        height: 16px;
    }

    /* Logo Mobile */
    .logo-wrapper {
        width: 150px !important;
        height: 150px !important;
    }

    .logo-wrapper img {
        width: 100px !important;
        top: 20% !important;
    }

    .logo-semicircle {
        width: 250px !important;
        height: 125px !important;
        border-radius: 0 0 125px 125px !important;
        top: 25% !important;
    }

    .logo-glow {
        width: 250px;
        height: 250px;
    }

    .logo-glow::before,
    .logo-glow::after {
        width: 120px;
        height: 120px;
        filter: blur(50px);
    }

    /* Typography Mobile */
    .display-1 {
        font-size: 2.2rem;
    }

    .fs-5 {
        font-size: 1rem !important;
    }

    .rounded-pill.border {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    .btn-hover-effect {
        padding: 12px 30px !important;
    }

    /* About Section Mobile */
    .about-title {
        font-size: 3.5rem;
    }

    .about-content {
        padding-left: 0 !important;
    }

    /* Timeline Mobile Vertical */
    .timeline-title {
        font-size: 2.5rem;
    }

    .mobile-timeline-container {
        position: relative;
        padding-left: 10px;
    }

    .mobile-timeline-line {
        position: absolute;
        top: 20px;
        bottom: 40px;
        left: 30px;
        /* Aligned with wrapper center (10px padding + 20px half width) */
        width: 1px;
        background-color: rgba(255, 255, 255, 0.3);
        z-index: 1;
    }

    .mobile-dot-wrapper {
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
        /* background-color: #171717;  REMOVED to prevent cutting the line */
        padding: 10px 0;
        flex-shrink: 0;
    }

    /* Ensure dot has background so line doesn't show THROUGH the dot itself if filled */
    .mobile-dot-wrapper .timeline-dot {
        background-color: #171717;
        /* Default background matches container */
        z-index: 2;
        /* On top of line */
    }

    .mobile-dot-wrapper .timeline-dot.filled {
        background-color: #fff;
    }

    .mobile-dot-wrapper .timeline-dot.empty {
        background-color: #171717;
    }

    .mobile-timeline-item {
        position: relative;
    }

    /* Adjust font sizes for mobile */
    .timeline-date {
        font-size: 11px;
        margin-bottom: 2px !important;
        opacity: 0.7;
    }

    .timeline-label {
        font-size: 16px;
        margin-bottom: 0;
    }
}

/* Footer Section */
.footer-section {
    background-color: #000;
    /* Black bg as per image */
    padding: 20px 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    /* Ensuring modern font */
}


/* Event Page Styles */
.etkinlikler-wrapper {
    background-color: #F4F4F2;
    /* Light background mimicking the image */
    min-height: calc(100vh - 94px);
    /* Full height minus header */
    padding-top: 60px;
    padding-bottom: 100px;
}

.etkinlik-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 6px;
    color: #111;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.event-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-img-wrap {
    position: relative;
    background: #F4F4F2;
    /* Match bg */
    margin-bottom: 25px;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: auto;
    display: block;
    /* aspect-ratio: 1/1; Removed to show full image */
    /* object-fit: cover; Removed to avoid cropping */
}

.event-date-text {
    font-family: 'Funnel Display', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.event-time-text {
    font-family: 'Funnel Display', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #333;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* KAMPANYALAR PAGE */
.kampanyalar-wrapper {
    background-color: #131313;
    min-height: calc(100vh - 94px);
    padding-top: 60px;
    padding-bottom: 100px;
    font-family: 'Funnel Display', sans-serif;
}

.kampanya-page-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 8px;
    color: #fff;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Featured Campaign Card (Large) */
.featured-campaign {
    background-color: #000;
    border-radius: 250px;
    /* Large pill shape */
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 60px;
    padding-right: 60px;
}

.featured-campaign .fc-image-wrap {
    width: 50%;
    height: 450px;
    flex-shrink: 0;
    /* Alternatively just rounded border on one side */
    overflow: hidden;
    position: relative;
    /* To match the image exactly requires complex masking or border-radius */
    margin: 10px;
    padding: 20px;
    /* spacing inside */
    border-radius: 522.23px;
}

.featured-campaign .fc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 522.23px;
}

.featured-campaign .fc-content {
    padding-left: 50px;
    color: #fff;
    flex-grow: 1;
}

.fc-title {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.fc-title strong {
    font-weight: 700;
    display: block;
}

.fc-desc {
    font-size: 20px;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.4;
}

.fc-badge {
    display: inline-block;
    background-color: #222;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Small Campaign Cards */
.small-campaign-card {
    background-color: #000;
    border-radius: 251.9px;
    display: flex;
    align-items: center;
    padding: 10px;
    overflow: hidden;
    height: 250px;
    padding-right: 30px;
    margin-bottom: 30px;
}

.small-campaign-card .sc-image-wrap {
    width: 45%;
    height: 230px;
    margin: 10px;
    flex-shrink: 0;
}

.small-campaign-card .sc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 251.9px;
}

.small-campaign-card .sc-content {
    padding-left: 20px;
    color: #fff;
}

.sc-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sc-desc {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.sc-badge {
    background-color: #222;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    color: #fff;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .kampanya-page-title {
        font-size: 24px;
        text-align: center;
        letter-spacing: 4px;
        margin-bottom: 40px;
    }

    .featured-campaign {
        flex-direction: column;
        border-radius: 50px;
        /* Reduced for mobile but still round */
        padding: 15px;
        height: auto;
        margin-bottom: 40px;
    }

    .featured-campaign .fc-image-wrap {
        width: 100%;
        height: 250px;
        margin: 0 0 20px 0;
        border-radius: 40px;
        padding: 0;
    }

    .featured-campaign .fc-image {
        border-radius: 40px;
    }

    .featured-campaign .fc-content {
        padding: 10px;
        text-align: center;
    }

    .fc-title {
        font-size: 24px;
    }

    .fc-desc {
        font-size: 16px;
    }

    .small-campaign-card {
        flex-direction: column;
        border-radius: 40px;
        height: auto;
        padding: 15px;
        margin-bottom: 30px;
    }

    .small-campaign-card .sc-image-wrap {
        width: 100%;
        height: 180px;
        margin: 0 0 15px 0;
    }

    .small-campaign-card .sc-image {
        border-radius: 30px;
    }

    .small-campaign-card .sc-content {
        padding: 0;
        text-align: center;
    }

    .sc-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .footer-left {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;

    }
}