:root {
    /* Renk Paleti */
    --primary-color: #C00000; /* Engineering Red - Asil ve Güçlü */
    --primary-dark: #8a0000;
    --secondary-color: #262626; /* Premium Antrasit */
    --text-color: #333333;
    --light-bg: #F4F4F4;
    --white: #ffffff;
    --border-color: #e5e5e5;
    
    /* Fontlar */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Ölçüler */
    --container-width: 1200px;
    --header-height: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   WHATSAPP PREMIUM WIDGET
   ========================================= */
.wa-premium-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font-body);
}

.wa-message-box {
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-bottom: 15px;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255,255,255,0.5);
}

.wa-message-box.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.wa-header {
    background: var(--secondary-color);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.wa-close {
    margin-left: auto;
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.wa-close:hover { color: #fff; }

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    position: relative;
}

.wa-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.wa-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #25D366;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
}

.wa-info { display: flex; flex-direction: column; }
.wa-name { color: #fff; font-weight: 700; font-size: 0.9rem; }
.wa-status { color: rgba(255,255,255,0.7); font-size: 0.7rem; }

.wa-body { padding: 20px; background: #f0f2f5; }
.wa-text { 
    background: #fff; 
    padding: 12px 15px; 
    border-radius: 0 15px 15px 15px; 
    font-size: 0.9rem; 
    color: #444; 
    line-height: 1.4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Typing Animation */
.wa-typing { display: flex; gap: 4px; padding: 5px 0; }
.wa-typing span { width: 6px; height: 6px; background: #bbb; border-radius: 50%; animation: waTyping 1s infinite; }
.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes waTyping {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.wa-trigger {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.wa-trigger svg { width: 32px; height: 32px; fill: #fff; }
.wa-trigger:hover { transform: scale(1.1) rotate(10deg); }

.wa-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}