/**
 * Welcome Popup Styles
 */

/* Popup overlay - arka plan */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    animation: fadeIn 0.4s ease-in-out;
}

/* Popup container */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 360px;
    width: 85%;
    background-color: #2b2b2b;
    border: 2px solid #c5a47e;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
    animation: popupSlideIn 0.5s ease-out;
}

/* Popup kapatma butonu */
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background-color: rgba(197, 164, 126, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background-color: #c5a47e;
    transform: rotate(90deg);
}

.popup-close:before,
.popup-close:after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: #fff;
}

.popup-close:before {
    transform: rotate(45deg);
}

.popup-close:after {
    transform: rotate(-45deg);
}

/* Popup görsel alanı */
.popup-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popup-link {
    display: block;
    overflow: hidden;
}

.popup-link:hover .popup-image {
    transform: scale(1.05);
}

/* Popup içerik alanı */
.popup-content {
    padding: 20px;
    text-align: center;
    color: #fff;
}

.popup-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c5a47e;
    margin: 0 0 12px 0;
}

.popup-content p {
    font-family: 'montserratlight', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

/* Instagram button */
.popup-instagram-btn {
    display: inline-block;
    font-family: 'montserratsemibold';
    font-size: 0.95em;
    padding: 10px 24px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 164, 126, 0.3);
    letter-spacing: 0.05em;
}

.popup-instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 164, 126, 0.5);
    color: #fff;
    text-decoration: none;
}

.popup-instagram-btn .fa {
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
}

/* Checkbox alanı */
.popup-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #c5a47e;
}

.popup-checkbox label {
    font-family: 'montserratlight', sans-serif;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
}

.popup-checkbox label:hover {
    color: #c5a47e;
}

/* Body scroll kilidi */
body.popup-active {
    overflow: hidden;
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .popup-container {
        width: 90%;
        max-width: 340px;
    }

    .popup-content {
        padding: 18px;
    }

    .popup-content h2 {
        font-size: 1.3em;
        letter-spacing: 0.1em;
    }

    .popup-instagram-btn {
        font-size: 0.9em;
        padding: 9px 22px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        max-width: 300px;
    }

    .popup-content {
        padding: 15px;
    }

    .popup-content h2 {
        font-size: 1.2em;
    }

    .popup-instagram-btn {
        font-size: 0.85em;
        padding: 8px 20px;
    }

    .popup-checkbox label {
        font-size: 0.75em;
    }

    .popup-close {
        width: 26px;
        height: 26px;
        top: 8px;
        right: 8px;
    }
}
}
