/* Poxidon - Ana Stil Dosyası */

:root {
    /* Light Theme (Varsayılan) */
    --primary-dark: #0a0e27;
    --primary: #0d1b2a;
    --primary-light: #1a1a2e;
    --accent-gold: #ffd700;
    --accent-gold-dark: #ffb300;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-main: #f5f5f5;
    --border-color: #e0e0e0;
    --error: #e53935;
    --success: #43a047;
    --warning: #ff9800;
    --logo-filter: none;
    --icon-color: inherit;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

[data-theme="dark"] {
    /* Dark Theme - Koyu Mavi */
    --primary-dark: #0a0e27;
    --primary: #0d1b2a;
    --primary-light: #1a1a2e;
    --accent-gold: #ffd700;
    --accent-gold-dark: #ffb300;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --text-white: #ffffff;
    --bg-light: #1a1a2e;
    --bg-white: #0d1b2a;
    --bg-main: #0a0e27;
    --border-color: #2a2a3e;
    --error: #ff6b6b;
    --success: #51cf66;
    --warning: #ffd43b;
    --logo-filter: brightness(0) invert(1);
    --icon-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Landing Page */
.landing-page {
    background: var(--primary-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-align: center;
}

.landing-content {
    padding: var(--spacing-xl) 0;
}

.logo-container {
    margin-bottom: var(--spacing-lg);
}

.logo {
    max-width: 200px;
    height: auto;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-gold);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-dark);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--accent-gold);
}

.feature-item p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Auth Pages */
.auth-page {
    background: var(--primary-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-box {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.logo-container-small {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.logo-small {
    max-width: 120px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-dark);
}

.auth-form {
    margin-top: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    display: block;
    margin-top: var(--spacing-xs);
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alerts */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.alert-error {
    background: #ffebee;
    color: var(--error);
    border-left: 4px solid var(--error);
}

.alert-success {
    background: #e8f5e9;
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-warning {
    background: #fff3e0;
    color: var(--warning);
    border-left: 4px solid var(--warning);
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: var(--spacing-lg);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.75rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .logo-small {
        max-width: 100px;
    }
}

/* Admin Section (Profil sayfası için) */
.admin-section {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.admin-section h2 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

/* App Layout */
.app-container {
    min-height: 100vh;
    background: var(--bg-light);
}

.app-header {
    background: var(--primary-dark);
    color: var(--text-white);
    padding: 12px var(--spacing-md);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header-img {
    height: 50px;
    width: auto;
    border-radius: 12px;
}

.logo-header {
    display: flex;
    align-items: center;
}

.logo-header a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-header a:hover {
    opacity: 0.8;
}

.header-nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.notification-link {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.app-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

/* Matching Container */
.matching-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: var(--spacing-lg) var(--spacing-md);
    position: relative;
}

.cards-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 600px;
    margin-bottom: var(--spacing-lg);
}

.swipe-card {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    will-change: transform;
}

.swipe-card.active {
    cursor: grabbing;
}

.swipe-card:not(.active) {
    pointer-events: none;
}

.user-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.swipe-card.active .user-card {
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.swipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.2s ease;
    border: 4px solid transparent;
}

.swipe-overlay.active {
    opacity: 1;
}

.like-overlay {
    background: rgba(67, 160, 71, 0.2);
    border-color: var(--success);
}

.dislike-overlay {
    background: rgba(229, 57, 53, 0.2);
    border-color: var(--error);
}

.super-like-overlay {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--accent-gold);
}

.overlay-text {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transform: rotate(-15deg);
}

.like-overlay .overlay-text {
    color: var(--success);
}

.dislike-overlay .overlay-text {
    color: var(--error);
}

.super-like-overlay .overlay-text {
    color: var(--accent-gold);
    font-size: 2.5rem;
}

.card-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--primary-dark);
    position: relative;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.no-photo-icon {
    font-size: 120px;
    opacity: 0.5;
}

.card-info {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.card-age {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.card-location {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.card-bio {
    color: var(--text-dark);
    line-height: 1.6;
    margin-top: var(--spacing-sm);
    flex-grow: 1;
}

.card-extra-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.info-badge {
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-dark);
}

.card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    position: relative;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: relative;
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.action-btn:active {
    transform: scale(0.95);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.dislike-btn {
    background: var(--bg-white);
}

.dislike-btn:hover {
    background: #ffebee;
}

.super-like-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 2px solid var(--accent-gold);
}

.super-like-btn:hover {
    background: #fff9e6;
}

.super-like-btn .btn-icon {
    font-size: 1.3rem;
}

.like-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.like-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #e91e63 100%);
}

.swipe-hint {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: var(--spacing-sm);
}

.hint-keys {
    font-size: 0.75rem;
    margin-top: 4px;
    opacity: 0.7;
}

/* Match Modal */
.match-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.match-modal.show {
    display: flex;
}

.match-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.4s ease;
}

.match-animation {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: bounce 0.6s ease;
}

/* Profil Detay Modal */
.profile-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: var(--spacing-md);
}

.profile-detail-modal.show {
    display: flex;
}

.profile-detail-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.profile-detail-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-detail-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.profile-detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.profile-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-detail-info {
    padding: var(--spacing-lg);
}

.profile-detail-info h2 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 1.8rem;
}

.profile-detail-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.profile-detail-info p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.match-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.match-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    align-items: center;
}

.match-buttons .btn {
    width: 100%;
    max-width: 250px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.match-buttons .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
}

.match-buttons .btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.match-buttons .btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.match-buttons .btn-secondary:hover {
    background: var(--border-color);
}

.match-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.match-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    align-items: center;
}

.match-buttons .btn {
    width: 100%;
    max-width: 250px;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.match-buttons .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
}

.match-buttons .btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.match-buttons .btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.match-buttons .btn-secondary:hover {
    background: var(--border-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.no-more-users {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin: 0 auto;
}

.no-more-users h2 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.no-more-users p {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .card-image {
        height: 400px;
    }
    
    .app-main {
        padding: var(--spacing-md);
    }
}

