﻿:root {
    --primary-color: #0056b3; /* Halıtlar Kurumsal Mavi */
    --secondary-color: #00a8cc;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Header Styling */
.header-logo {
    max-height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

    .header-logo:hover {
        transform: scale(1.05);
    }

.form-meta-data {
    font-size: 0.85rem;
}

/* Form Controls & Floating Labels */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

    .form-floating > .form-control:focus,
    .form-floating > .form-select:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.25rem rgba(0, 168, 204, 0.25);
        background-color: #fff;
    }

/* Section Titles */
.section-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 50px;
        height: 2px;
        background-color: var(--secondary-color);
    }

/* Brand Logos Gallery */
.brand-logo-container img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    cursor: pointer;
    max-height: 60px;
    object-fit: contain;
}

    .brand-logo-container img:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.15);
    }

/* File Upload Area */
.custom-file-upload {
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

    .custom-file-upload:hover {
        background-color: #e2e6ea;
        border-color: var(--secondary-color);
    }

/* Submit Button */
.btn-submit {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 204, 0.3);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 168, 204, 0.4);
        color: white;
    }

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    font-weight: 600;
    color: var(--primary-color);
}

/* Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.custom-modal-content {
    margin: 5% auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoom 0.6s;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

    .close-modal:hover {
        color: #bbb;
    }

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .glass-card {
        padding: 1rem;
    }

    .header-logo {
        max-height: 50px;
    }
}
