:root {
    --premium-gold: #b3834d;
    --dark-bg: #121212;
    --border-color: #2a2a2a;
}

body {
    background-color: var(--dark-bg);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.applications-page {
    min-height: 100vh;
}

.container, .gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================== ANİMASYON ================== */
.animate-element, .animate-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animate-element.fade-in-up, .animate-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* ================== SAYFA ÜST (HERO) ================== */
.page-hero {
    background: linear-gradient(rgba(18,18,18,0.8), rgba(18,18,18,0.9)), url('../uploads/hizmetlerimiz/sabitkasa.png') center/cover;
    padding: 100px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 48px;
    margin: 0 0 15px 0;
    font-weight: 800;
    letter-spacing: 2px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--premium-gold);
    font-weight: 600;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
    color: #555;
}

/* ================== GALERİ BÖLÜMÜ BAŞLIKLARI ================== */
.applications-gallery {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--premium-gold);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-main-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.gold-text {
    color: var(--premium-gold);
}

.section-desc {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
}

/* ================== KART GRID (4'LÜ) ================== */
.category-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
}

@media (max-width: 1200px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .category-grid { grid-template-columns: 1fr; } }

/* ================== KART TASARIMI ================== */
.category-card { 
    position: relative;
    height: 480px; 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    text-decoration: none; 
    color: white; 
    border: 1px solid var(--border-color);
}

.category-card:hover { 
    border-color: var(--premium-gold); 
}

/* Arka Plan Resmi */
.cat-img { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    z-index: 1; 
}

.cat-img img { 
    width: 100%; height: 100%; 
    object-fit: cover; 
    transition: transform 0.8s ease; 
}

.category-card:hover .cat-img img { 
    transform: scale(1.08); 
}

/* Karartma Katmanı */
.cat-overlay {
    position: absolute;
    bottom: 0; left: 0; 
    width: 100%; height: 75%;
    background: linear-gradient(to top, rgba(18,18,18, 1) 0%, rgba(18,18,18, 0.6) 50%, transparent 100%);
    z-index: 2;
    transition: height 0.5s ease;
}

.category-card:hover .cat-overlay {
    height: 85%; 
}

/* Kart İçeriği */
.cat-content { 
    position: relative; 
    z-index: 3; 
    padding: 30px 20px; 
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-label { 
    font-size: 12px; 
    color: var(--premium-gold); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 600; 
    margin-bottom: 8px; 
}

.cat-content h3 { 
    font-size: 22px; 
    margin: 0 0 20px 0; 
    font-weight: 600; 
    letter-spacing: 0.5px;
}

/* Buton */
.btn-detay { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    padding: 12px 25px; 
    border: 1px solid #555; 
    color: #ccc; 
    border-radius: 4px; 
    font-size: 12px; 
    font-weight: 600; 
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.3s ease;
}

.category-card:hover .btn-detay { 
    border-color: var(--premium-gold); 
    color: white; 
}

.btn-detay i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-card:hover .btn-detay i {
    transform: translateX(5px); 
}

/* ================== MOBİL İNCE AYARLAR ================== */
@media (max-width: 768px) {
    .page-title { font-size: 36px; }
    .section-main-title { font-size: 32px; }
    .page-hero { padding: 80px 0 40px 0; }
    .category-card { height: 400px; }
}