/**
 * İstanbul Studio Starter - Frontend Styles
 * Minimal tasarım, maksimum performans
 */

/* =====================================================
   FLOATING BUTTONS - YATAY TASARIM
   ===================================================== */

.iss-floating-buttons {
    position: fixed;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.iss-position-right {
    right: 24px;
}

.iss-position-left {
    left: 24px;
}

/* Buton Genel Stilleri - Yatay */
.iss-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.iss-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.iss-btn:active {
    transform: translateY(0);
}

.iss-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Buton Text - Her zaman görünür */
.iss-btn-text {
    display: inline;
}

/* WhatsApp Butonu - Ana CTA, daha belirgin */
.iss-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    padding: 16px 28px;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.iss-btn-whatsapp:hover {
    background: linear-gradient(135deg, #2be371 0%, #159a8a 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Telefon Butonu - İkincil CTA */
.iss-btn-phone {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.iss-btn-phone:hover {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   FOOTER SIGNATURE
   ===================================================== */

.iss-footer-signature {
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.iss-footer-signature p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.iss-footer-signature a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.iss-footer-signature a:hover {
    color: #111827;
}

/* =====================================================
   RESPONSIVE - TABLET
   ===================================================== */

@media (max-width: 1024px) {
    .iss-floating-buttons {
        bottom: 20px;
    }
    
    .iss-position-right {
        right: 20px;
    }
    
    .iss-position-left {
        left: 20px;
    }
    
    .iss-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .iss-btn-whatsapp {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .iss-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE
   ===================================================== */

@media (max-width: 768px) {
    .iss-floating-buttons {
        bottom: 16px;
        gap: 10px;
    }
    
    .iss-position-right {
        right: 16px;
    }
    
    .iss-position-left {
        left: 16px;
    }
    
    .iss-btn {
        padding: 11px 16px;
        font-size: 13px;
        gap: 8px;
        border-radius: 40px;
    }
    
    .iss-btn-whatsapp {
        padding: 13px 20px;
        font-size: 14px;
    }
    
    .iss-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .iss-footer-signature {
        padding: 16px 12px;
    }
    
    .iss-footer-signature p {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 380px) {
    .iss-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .iss-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* =====================================================
   DARK MODE SUPPORT
   ===================================================== */

@media (prefers-color-scheme: dark) {
    .iss-btn-phone {
        background: rgba(40, 40, 40, 0.95);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .iss-btn-phone:hover {
        background: rgba(50, 50, 50, 0.95);
        color: #fff;
    }
    
    .iss-footer-signature {
        background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
        border-top-color: rgba(255, 255, 255, 0.08);
    }
    
    .iss-footer-signature p {
        color: #9ca3af;
    }
    
    .iss-footer-signature a {
        color: #d1d5db;
    }
    
    .iss-footer-signature a:hover {
        color: #f3f4f6;
    }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

.iss-btn:focus {
    outline: 3px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .iss-btn,
    .iss-footer-signature a {
        transition: none;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */

@media print {
    .iss-floating-buttons {
        display: none !important;
    }
}
