:root {
    --primary-color: #2B2F8E;
    --secondary-color: #E31E24;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Logo Container */
.logo-container {
    text-align: center;
    padding: 0;
    margin: 0;
    position: fixed; /* Sabit pozisyon */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding: 5px 0;
}

.site-title span {
    color: var(--secondary-color);
}

.slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.slogan i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.slogan p {
    margin: 0;
    font-weight: 500;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.section-title i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Slider */
.main-slider {
    width: 100%;
    height: 60vh;
    margin-bottom: 3rem;
}

.main-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.main-slider .swiper-button-next:after,
.main-slider .swiper-button-prev:after {
    font-size: 20px;
}

.main-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.8;
}

.main-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Promo Section */
.promo-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 3rem;
}

.promo-content {
    padding-right: 2rem;
}

.promo-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.promo-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.promo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #444;
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.promo-image {
    position: relative;
    text-align: center;
}

.promo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Kampanya Kartları - Grid Görünüm */
.campaigns-container {
    padding: 2rem 0;
}

.campaign-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.campaign-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.campaign-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campaign-card:hover .campaign-image {
    transform: scale(1.05);
}

.campaign-info {
    padding: 0.8rem;
    text-align: center;
}

.campaign-info h3 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Featured Slider için mobil uyumluluk */
@media (max-width: 576px) {
    .featured-slider {
        padding: 0.5rem;
    }

    .featured-item {
        aspect-ratio: 1;
    }

    .featured-info h3 {
        font-size: 0.9rem;
    }

    .btn-view {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Güvenlik Sistemleri Bölümü */
.security-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.security-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.security-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.security-content {
    padding-left: 3rem;
}

.security-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.security-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.security-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.security-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1rem;
}

.security-features i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.btn-contact {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .security-content {
        padding-left: 0;
        text-align: center;
        margin-top: 2rem;
    }

    .security-content h2 {
        font-size: 1.8rem;
    }

    .security-features {
        display: inline-block;
        text-align: left;
    }

    .btn-contact {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .security-content h2 {
        font-size: 1.5rem;
    }

    .security-content p {
        font-size: 1rem;
    }

    .security-features li {
        font-size: 1rem;
    }
}

/* Stories Container */
.stories-container {
    padding: 2rem 0;
    background: #fff;
    margin-top: -3rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 2;
}

.storiesWrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Story Item Styles */
.story {
    width: 120px;
    max-width: 120px;
    min-width: 120px;
    margin-right: 15px;
}

.story > .item {
    border-radius: 10px;
    overflow: hidden;
}

.story > .item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.story.seen {
    opacity: 0.7;
}

.story.seen > .item {
    border-color: #999;
}

/* Story Viewer Styles */
.stories.snapgram .story > .item {
    border: 3px solid var(--primary-color);
}

.stories.snapgram .story.seen > .item {
    border-color: #999;
}

.stories.snapgram .story.viewing > .item {
    border-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .story {
        width: 90px;
        max-width: 90px;
        min-width: 90px;
    }

    .stories-container {
        margin-top: -2rem;
    }
}

@media (max-width: 576px) {
    .story {
        width: 80px;
        max-width: 80px;
        min-width: 80px;
        margin-right: 10px;
    }
}

/* Stories Viewer */
.stories-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.stories-viewer.active {
    display: flex;
}

/* Kampanyalar Arası İlerleme Çubuğu */
.campaigns-progress-bar {
    display: none;
    align-items: center;
    gap: 3px;
    padding: 6px 15px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: rgba(0,0,0,0.85);
    height: 28px;
    box-sizing: border-box;
}

.campaigns-progress-bar.active {
    display: flex;
}

.cp-segment {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s ease;
}

.cp-segment.done {
    background: rgba(255,255,255,0.9);
}

.cp-segment.active {
    background: rgba(255,255,255,0.25);
}

.cp-segment.active .cp-fill {
    width: 100%;
    height: 100%;
    background: #25D366;
    animation: cpFillAnim 0.4s ease forwards;
}

@keyframes cpFillAnim {
    from { width: 0; }
    to { width: 100%; }
}

.cp-segment:hover {
    background: rgba(255,255,255,0.5);
    transform: scaleY(1.5);
}

.cp-counter {
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 35px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.stories-header {
    padding: 12px 15px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

/* Kampanya progress bar aktifken header'ı aşağı kaydır */
.campaigns-progress-bar.active ~ .stories-header {
    top: 28px;
}

.story-info {
    display: flex;
    flex-direction: column;
}

.story-title {
    margin: 0;
    font-size: 1.2rem;
}

.story-time {
    font-size: 0.8rem;
    opacity: 0.7;
}

.stories-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pause-stories {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.2s ease;
}

.pause-stories:hover {
    background: rgba(255,255,255,0.2);
}

.close-stories {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.2s ease;
}

.close-stories:hover {
    background: rgba(255,255,255,0.2);
}

.stories-progress {
    display: flex;
    gap: 4px;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 3;
}

/* Kampanya progress bar aktifken resim progress barlarını da kaydır */
.campaigns-progress-bar.active ~ .stories-progress {
    top: 78px;
}

.progress-bar {
    height: 2px;
    background: rgba(255,255,255,0.3);
    flex: 1;
}

.progress-bar .fill {
    width: 0;
    height: 100%;
    background: white;
    transition: width 0.1s linear;
}

.stories-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 0 80px; /* Header ve footer için boşluk */
}

.story-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image img {
    max-width: 100%;
    max-height: calc(100vh - 140px); /* Header ve footer için alan bırak */
    object-fit: contain;
}

.story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 2;
}

.story-nav.prev {
    left: 0;
}

.story-nav.next {
    right: 0;
}

.story-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    padding: 15px;
    text-align: center;
    z-index: 1;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1fb959;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .stories-content {
        padding: 50px 0 70px;
    }
    
    .story-image img {
        max-height: calc(100vh - 120px);
    }
    
    .whatsapp-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info > div {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.contact-info p {
    margin: 0;
    line-height: 1.4;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .map-container {
        margin-top: 1rem;
    }

    .map-container iframe {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .footer-title {
        font-size: 1.2rem;
    }

    .contact-info {
        font-size: 0.9rem;
    }

    .map-container iframe {
        height: 200px;
    }
}

/* Featured Campaigns Slider */
.featured-campaigns {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 3rem;
    margin-top: 50px; /* Logo yüksekliği kadar margin */
}

.featured-slider {
    padding: 1rem;
}

.featured-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    aspect-ratio: 1;
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-item:hover img {
    transform: scale(1.05);
}

.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.featured-info h3 {
    margin: 0;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-slider .swiper-button-next,
.featured-slider .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.featured-slider .swiper-button-next:after,
.featured-slider .swiper-button-prev:after {
    font-size: 20px;
}

.featured-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.8;
}

.featured-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Image Viewer */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-viewer.active {
    display: flex;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2;
}

.viewer-content {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
}

.viewer-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.viewer-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    text-align: center;
}

.viewer-title {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.whatsapp-share {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.whatsapp-share:hover {
    background: #1fb959;
    color: white;
    transform: translateY(-2px);
}

/* Featured Item Button */
.btn-view {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ============ TAG STORY CIRCLES ============ */
.tag-stories-section {
    padding: 1.5rem 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.tag-stories-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tag-stories-scroll::-webkit-scrollbar {
    display: none;
}

.tag-story-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 80px;
    transition: transform 0.2s ease;
}

.tag-story-circle:hover {
    transform: scale(1.08);
}

.tag-circle-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tag-story-circle:hover .tag-circle-ring {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tag-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
    position: relative;
}

.tag-circle-inner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-circle-name {
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============ CATEGORY SLIDERS ============ */
.category-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid #eee;
}

.category-section:nth-child(odd) {
    background: #f8f9fa;
}

.category-count {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.6;
}

.category-slider {
    padding: 1rem 0;
}

.category-campaign-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.category-campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-campaign-card:hover .category-card-image img {
    transform: scale(1.05);
}

.category-card-info {
    padding: 1rem;
    text-align: center;
}

.category-card-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-category-view {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.btn-category-view:hover {
    background: var(--secondary-color);
}

.category-slider .swiper-button-next,
.category-slider .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255,255,255,0.9);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-slider .swiper-button-next:after,
.category-slider .swiper-button-prev:after {
    font-size: 16px;
}

/* Responsive Tag Stories */
@media (max-width: 768px) {
    .tag-circle-ring {
        width: 60px;
        height: 60px;
    }

    .tag-circle-inner {
        font-size: 1.2rem;
    }

    .tag-story-circle {
        min-width: 70px;
    }

    .tag-circle-name {
        font-size: 0.7rem;
        max-width: 70px;
    }
}

@media (max-width: 576px) {
    .tag-circle-ring {
        width: 55px;
        height: 55px;
    }

    .tag-circle-inner {
        font-size: 1.1rem;
    }

    .tag-story-circle {
        min-width: 65px;
    }

    .category-slider .swiper-button-next,
    .category-slider .swiper-button-prev {
        display: none;
    }

    .category-section {
        padding: 1.5rem 0;
    }
} 