/**
 * BuyPazarlama - Ana CSS Dosyası
 */

:root {
    --primary: #2563eb;
    --primary-rgb: 37, 99, 235;
    --secondary: #64748b;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Navbar */
.navbar-blur {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Hero Cards */
.hero-cards {
    position: relative;
    height: 500px;
}

.hero-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: absolute;
}

.hero-card-main {
    width: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite;
}

.hero-card-secondary {
    width: 220px;
    top: 10%;
    right: 0;
    animation: float 4s ease-in-out infinite;
}

.hero-card-tertiary {
    width: 180px;
    bottom: 15%;
    left: 0;
    animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

.hero-card-secondary,
.hero-card-tertiary {
    animation-name: floatSimple;
}

@keyframes floatSimple {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Project Cards */
.project-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--info);
    color: #0f172a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.project-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Device Frame */
.device-frame-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-url {
    background: rgba(255,255,255,0.1);
    padding: 4px 16px;
    border-radius: 8px;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: #0f172a !important;
}

/* Utilities */
.bg-primary-subtle {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-cards {
        display: none;
    }
}
