@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
    font-family: 'Futura PT Book';
    src: url('../fonts/FuturaPTBook.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Futura PT Medium';
    src: url('../fonts/FuturaPTMedium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'Futura PT Demi';
    src: url('../fonts/FuturaPTDemi.otf') format('opentype');
    font-weight: 600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Futura PT Book', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    background: #fff;
    color: #333;
}

/* ========== LOGIN PAGE ========== */
.login-page {
    display: flex;
    min-height: 100vh;
}

.login-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-wrapper {
    width: 100%;
    max-width: 460px;
    text-align: center;
}

.login-form-wrapper h1 {
    font-family: 'Futura PT Book', sans-serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 14px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.login-form-wrapper .login-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 36px;
    letter-spacing: 0.3px;
}

.login-form-wrapper form {
    text-align: left;
}

.login-form-wrapper .form-group {
    position: relative;
    margin-bottom: 16px;
}

.login-form-wrapper .form-group:last-of-type {
    margin-bottom: 0;
}

.login-form-wrapper .form-group input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d5d5d5;
    font-family: 'Futura PT Book', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    letter-spacing: 0.3px;
}

.login-form-wrapper .form-group input::placeholder {
    color: #aaa;
}

.login-form-wrapper .form-group input:focus {
    border-color: #999;
    position: relative;
    z-index: 1;
}

.login-form-wrapper .form-group .forgot-link {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    text-decoration: none;
    font-family: 'Futura PT Book', sans-serif;
    letter-spacing: 0.2px;
    z-index: 2;
}

.login-form-wrapper .form-group .forgot-link:hover {
    color: #1a1a1a;
}

.login-form-wrapper .login-btn {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-family: 'Futura PT Medium', sans-serif;
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 28px;
}

.login-form-wrapper .login-btn:hover {
    background: #333;
}

.login-form-wrapper .checkbox-group {
    margin-top: 8px;
}

.login-form-wrapper .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}

.login-form-wrapper .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    accent-color: #1a1a1a;
}

.login-form-wrapper .checkbox-group a {
    color: #1a1a1a;
    text-decoration: underline;
}

.login-form-wrapper .register-text {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #999;
    letter-spacing: 0.2px;
}

.login-form-wrapper .register-text a {
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Futura PT Demi', sans-serif;
    font-weight: 600;
}

.login-form-wrapper .register-text a:hover {
    text-decoration: underline;
}

.login-form-wrapper .alert {
    padding: 12px 18px;
    margin-bottom: 20px;
    font-size: 13px;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    background: #fff5f5;
    letter-spacing: 0.2px;
    text-align: left;
}

.login-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 32px 32px 0;
}

.login-right-image {
    width: 100%;
    height: calc(100vh - 64px);
    max-height: calc(100vh - 64px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .login-right { display: none; }
    .login-left { width: 100%; padding: 40px 24px; }
}

@media (max-width: 576px) {
    .login-form-wrapper h1 { font-size: 20px; letter-spacing: 10px; }
}

/* ========== APP LAYOUT ========== */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    min-height: 100vh;
    background: #fff;
    border-right: 1px solid #eee;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 8px;
}

.sidebar-logo a { display: inline-block; }
.sidebar-logo img { width: 130px; }

.sidebar-logo-text {
    display: block;
    font-family: 'Futura PT Medium', sans-serif;
    font-size: 11px;
    color: #1a1a1a;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.sidebar-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 24px;
    margin-top: 16px;
}

.sidebar-search i {
    color: #1a1a1a;
    font-size: 15px;
}

.sidebar-search-input {
    border: none;
    outline: none;
    font-family: 'Futura PT Book', sans-serif;
    font-size: 13px;
    color: #333;
    width: 100%;
    background: transparent;
}

.sidebar-search-input::placeholder {
    color: #bbb;
}

.sidebar-menu-title {
    font-family: 'Futura PT Demi', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-menu-item {
    display: block;
    padding: 6px 0;
    font-family: 'Futura PT Book', sans-serif;
    font-size: 14px;
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.3px;
}

.sidebar-menu-item:hover {
    color: #1a1a1a;
}

.sidebar-menu-item.active {
    color: #1a1a1a;
    font-family: 'Futura PT Medium', sans-serif;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    margin-left: 220px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* TOPBAR */
.topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 32px;
    background: #fff;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #333;
    margin-right: auto;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-user {
    font-family: 'Futura PT Book', sans-serif;
    font-size: 13px;
    color: #999;
    letter-spacing: 0.5px;
}

.topbar-logout {
    color: #bbb;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.topbar-logout:hover {
    color: #1a1a1a;
}

/* CONTENT AREA */
.content-area {
    padding: 0 32px 60px;
    flex: 1;
}

/* KATEGORİ GRID */
.kategori-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.kategori-card {
    display: block;
    text-decoration: none;
}

.kategori-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.kategori-card-label {
    font-family: 'Futura PT Medium', sans-serif;
    font-size: 15px;
    color: #1a1a1a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 12px;
    display: block;
}


/* DETAY HEADER */
.detay-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detay-header h2 {
    font-family: 'Futura PT Medium', sans-serif;
    font-size: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1a1a1a;
    font-weight: 500;
}

/* DOSYA GRID */
.dosya-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 24px;
}

.dosya-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 20px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.dosya-card:hover { background: #f7f7f7; }
.dosya-card img { width: 44px; margin-bottom: 12px; opacity: 0.7; }

.dosya-card span {
    font-family: 'Futura PT Book', sans-serif;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}

.empty-text {
    font-family: 'Futura PT Book', sans-serif;
    font-size: 14px;
    color: #999;
    grid-column: 1 / -1;
}

/* ========== BİZE ULAŞIN FORM ========== */
.contact-section {
    max-width: 780px;
    margin: 80px auto 0;
    padding: 0 16px;
}

.contact-section h3 {
    font-family: 'Futura PT Medium', sans-serif;
    font-size: 22px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 36px;
    color: #1a1a1a;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.contact-form .form-input {
    position: relative;
}

.contact-form .form-input input,
.contact-form .form-input select,
.contact-form .form-input textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: 'Futura PT Book', sans-serif;
    font-size: 14px;
    color: #333;
    background: transparent;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.contact-form .form-input input::placeholder,
.contact-form .form-input textarea::placeholder {
    color: #aaa;
}

.contact-form .form-input input:focus,
.contact-form .form-input select:focus,
.contact-form .form-input textarea:focus {
    border-bottom-color: #1a1a1a;
}

.contact-form .form-input select {
    cursor: pointer;
    color: #aaa;
}

.contact-form .form-input select:valid {
    color: #333;
}

.contact-form .full-width {
    grid-column: span 2;
}

.contact-form .dropzone-area {
    grid-column: span 2;
    border: 1px dashed #ccc;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    margin: 8px 0;
}

.contact-form .dropzone-area:hover {
    border-color: #999;
}

.contact-form .dropzone-area p {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.contact-form .dropzone-area small {
    font-size: 11px;
    color: #aaa;
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form .submit-btn {
    grid-column: span 2;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-family: 'Futura PT Medium', sans-serif;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    max-width: 240px;
    margin: 16px auto 0;
}

.contact-form .submit-btn:hover {
    background: #333;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 99;
    }
    .sidebar-overlay.active { display: block; }
    .main-content { margin-left: 0; }
    .hamburger { display: block; }
    .kategori-grid { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form .full-width,
    .contact-form .dropzone-area,
    .contact-form .submit-btn { grid-column: span 1; }
}

@media (max-width: 576px) {
    .content-area { padding: 0 16px 40px; }
    .topbar { padding: 12px 16px; }
    .dosya-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px; }
}
