
/* Mevcut stiller buraya gelecek */

/* Sabit WhatsApp ikonu için yeni stiller */
.fixed-whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 999;
}

.fixed-whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.fixed-whatsapp-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fixed-whatsapp-icon.animate {
    animation: bounce 1s ease infinite;
}


/* Mevcut CSS'in sonuna ekleyin */
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 30px;
    background: #ffd300;
    top: 0;
    opacity: 0;
}

.confetti-piece:nth-child(1) {
    left: 7%;
    transform: rotate(-40deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 182ms;
    animation-duration: 1116ms;
}

.confetti-piece:nth-child(2) {
    left: 14%;
    transform: rotate(4deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 161ms;
    animation-duration: 1076ms;
}

.confetti-piece:nth-child(3) {
    left: 21%;
    transform: rotate(-51deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 481ms;
    animation-duration: 1103ms;
}

.confetti-piece:nth-child(4) {
    left: 28%;
    transform: rotate(61deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 334ms;
    animation-duration: 708ms;
}

.confetti-piece:nth-child(5) {
    left: 35%;
    transform: rotate(-52deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 302ms;
    animation-duration: 666ms;
}

.confetti-piece:nth-child(6) {
    left: 42%;
    transform: rotate(38deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 180ms;
    animation-duration: 1168ms;
}

.confetti-piece:nth-child(7) {
    left: 49%;
    transform: rotate(11deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 395ms;
    animation-duration: 1200ms;
}

.confetti-piece:nth-child(8) {
    left: 56%;
    transform: rotate(49deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 14ms;
    animation-duration: 887ms;
}

.confetti-piece:nth-child(9) {
    left: 63%;
    transform: rotate(-72deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 149ms;
    animation-duration: 805ms;
}

.confetti-piece:nth-child(10) {
    left: 70%;
    transform: rotate(10deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 351ms;
    animation-duration: 1059ms;
}

.confetti-piece:nth-child(11) {
    left: 77%;
    transform: rotate(4deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 307ms;
    animation-duration: 1132ms;
}

.confetti-piece:nth-child(12) {
    left: 84%;
    transform: rotate(42deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 464ms;
    animation-duration: 776ms;
}

.confetti-piece:nth-child(13) {
    left: 91%;
    transform: rotate(-72deg);
    animation: makeItRain 1000ms infinite ease-out;
    animation-delay: 429ms;
    animation-duration: 818ms;
}

.confetti-piece:nth-child(odd) {
    background: #7431e8;
}

.confetti-piece:nth-child(even) {
    z-index: 1;
}

.confetti-piece:nth-child(4n) {
    width: 5px;
    height: 12px;
    animation-duration: 2000ms;
}

.confetti-piece:nth-child(3n) {
    width: 3px;
    height: 10px;
    animation-duration: 2500ms;
    animation-delay: 1000ms;
}

.confetti-piece:nth-child(4n-7) {
    background: #ff1f1f;
}

@keyframes makeItRain {
    from {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    to {
        transform: translateY(1000px);
    }
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1500;
    display: none; /* Varsayılan olarak gizli */
}




.whasapp-modal-header {
padding: 30px;
border-bottom: 1px solid #e2e8f0;
position: relative;
background: linear-gradient(135deg, #dcf8c6 0%, #e8f8e8 100%);
border-radius: 20px 20px 0 0;
}

.whasapp-title-icon {
width: 40px;
height: 40px;
background: #25D366;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.2);
}

.whasapp-title-icon svg {
width: 24px;
height: 24px;
color: white;
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}

.whasapp-intro-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}
.whasapp-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whasapp-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: white;
    border-radius: 16px;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.whasapp-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #dcf8c6 0%, #e8f8e8 100%);
    border-radius: 16px 16px 0 0;
}

.whasapp-modal-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.whasapp-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: -0.02em;
}

.whasapp-badge {
    background: #25D366;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whasapp-modal-content {
    padding: 20px;
}

.whasapp-intro-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.whasapp-feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
}

.whasapp-feature-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.whasapp-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.whasapp-feature-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
:root {
    --primary-color: #2563eb;
    --success-color: #25D366;  /* WhatsApp yeşili */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

.whatsapp-button {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    max-width: 300px;
}

.whasapp-close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .whasapp-modal {
        max-height: 80vh; /* Varsayılan 90vh'dan 80vh'a düşürdük */
        margin-top: 20px; /* Üstten biraz boşluk bırakalım */
    }

    .whasapp-feature-list {
        gap: 8px; /* Feature'lar arası boşluğu azaltalım */
        margin: 10px 0; /* Üst ve alt marjini azaltalım */
    }

    .whasapp-feature-item {
        padding: 12px; /* Padding'i azaltalım */
    }

    .whasapp-modal-content {
        padding: 15px; /* İçerik padding'ini azaltalım */
    }

    .whasapp-intro-text {
        margin-bottom: 10px; /* Alt marjini azaltalım */
    }

    .whasapp-modal-header {
        padding: 15px; /* Header padding'ini azaltalım */
    }
}

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

    .modal-title {
        font-size: 1.75rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }
}

.whasapp-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.whasapp-modal-overlay.show {
    opacity: 1;
}


@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.whasapp-cta-section {
    text-align: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 0 0 20px 20px;
    background-size: 200% 200%;
    animation: gradientBG 5s ease infinite;
}

.whatsapp-button {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}
