/* ========================================
   AZ REKLAME - CUSTOM STYLES
   ======================================== */

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #f77f00;
    --dark-bg: #1a1a2e;
}

/* ========================================
   FONTS
   ======================================== */
.font-heading { 
    font-family: 'Playfair Display', serif; 
}

.font-body { 
    font-family: 'Montserrat', sans-serif; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ========================================
   ANIMATED GRADIENT BACKGROUND
   ======================================== */
.animated-gradient {
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #004e89);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   FLOATING ANIMATION
   ======================================== */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   BUTTON GLOW EFFECT
   ======================================== */
.btn-glow {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    transition: all 0.4s ease;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.8);
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
}

/* ========================================
   PORTFOLIO ITEMS
   ======================================== */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(0, 78, 137, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
    text-align: center;
    color: white;
}

.portfolio-item:hover .portfolio-content {
    opacity: 1;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ========================================
   WEBSITE SCROLL ANIMATION (ÖZER REINIGUNG)
   ======================================== */
.website-scroll-animation {
    transition: transform 6s ease-in-out;
}

.group:hover .website-scroll-animation {
    transform: translateY(-60%);
}

/* ========================================
   LIVE BADGE
   ======================================== */
.live-badge {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to right, #ff6b35, #ef4444);
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: bold;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.group:hover .live-badge {
    opacity: 1;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ========================================
   SECTION TITLE UNDERLINE
   ======================================== */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 20px auto;
    border-radius: 2px;
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* ========================================
   NAVBAR SCROLL EFFECT
   ======================================== */
.nav-scrolled {
    background: rgba(26, 26, 46, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   COUNTER GRADIENT TEXT
   ======================================== */
.counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar { 
    width: 12px; 
}

::-webkit-scrollbar-track { 
    background: #1a1a2e; 
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
}

/* ========================================
   PATTERN OVERLAY
   ======================================== */
.pattern-overlay {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.03) 10px, rgba(255,255,255,.03) 20px);
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   FORM ALERTS
   ======================================== */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    display: none;
}

.alert.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background-color: #10b981;
    color: white;
}

.alert-error {
    background-color: #ef4444;
    color: white;
}
