/* Dynamic Styles - Site Ayarlarından Gelen Stiller */

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    line-height: 60px;
    display: block;
    color: #FFF;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive WhatsApp Button */
@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
}

/* Header Logo Styles */
.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Social Media Links Styling */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a[href*="facebook"] {
    background: #3b5998;
    color: white;
}

.social-links a[href*="instagram"] {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.social-links a[href*="twitter"], .social-links a[href*="x.com"] {
    background: #1da1f2;
    color: white;
}

.social-links a[href*="linkedin"] {
    background: #0077b5;
    color: white;
}

.social-links a[href*="youtube"] {
    background: #ff0000;
    color: white;
}

.social-links a[href*="tiktok"] {
    background: #000000;
    color: white;
}

.social-links a[href*="spotify"] {
    background: #1db954;
    color: white;
}

.social-links a[href*="whatsapp"], .social-links a[href*="wa.me"] {
    background: #25d366;
    color: white;
}

/* Footer Styling */
.site-footer {
    background-color: var(--footer-bg-color, #2c3e50);
    color: var(--footer-text-color, #ffffff);
    padding: 50px 0 20px;
}

.site-footer h5 {
    color: var(--footer-text-color, #ffffff);
    margin-bottom: 20px;
    font-weight: 600;
}

.site-footer a {
    color: var(--footer-text-color, #ffffff);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: #ffc107;
    text-decoration: none;
}

.site-footer .list-unstyled li {
    margin-bottom: 8px;
}

/* Maintenance Mode */
.maintenance-mode {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.maintenance-mode h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary-color, #007bff);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color-dark, #0056b3);
    transform: translateY(-3px);
}

@media screen and (max-width: 767px) {
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color, #007bff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-dark, #0056b3);
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .scroll-to-top,
    .social-links {
        display: none !important;
    }
}
