:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Full HD arkaplan görseli - Kendi görselinizi kullanmak için 'images/nail-background.jpg' gibi bir path kullanabilirsiniz */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.75) 0%, rgba(118, 75, 162, 0.75) 100%),
                url('https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 56px;
}

/* Kendi arkaplan görselinizi kullanmak için yukarıdaki URL'yi şu şekilde değiştirin: */
/* background: linear-gradient(135deg, rgba(102, 126, 234, 0.75) 0%, rgba(118, 75, 162, 0.75) 100%), */
/*             url('images/nail-background.jpg') center/cover no-repeat; */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}


.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    animation: float 20s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Design Cards */
.design-card {
    transition: all 0.3s;
    border: none;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.design-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.design-card img {
    transition: transform 0.3s;
    height: 250px;
    object-fit: cover;
}

.design-card:hover img {
    transform: scale(1.1);
}

.design-card.selected {
    border: 3px solid var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5) !important;
}

.design-card .card-body {
    padding: 1.5rem;
}

.design-card .price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#form-message {
    display: none;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

#form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

#time-info {
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Dolu saatler için özel stil */
.form-select option:disabled {
    background-color: #f8d7da !important;
    color: #dc3545 !important;
    font-weight: bold;
}

.form-select option:not(:disabled) {
    color: #28a745;
}

/* Tasarım önizleme */
#design-preview {
    animation: fadeIn 0.3s ease-in;
}

#design-preview .card {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* Admin Panel Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
    margin-top: 56px;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dark-color) 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    position: fixed;
    height: calc(100vh - 56px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar h2 {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar nav a i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--primary-color);
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: #f5f7fa;
}

.admin-header {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    margin: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.admin-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.admin-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.admin-card h3 i {
    margin-right: 0.5rem;
}

.table {
    margin-top: 1rem;
}

.table thead {
    background: var(--light-color);
}

.table th {
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
}

.time-slot {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.time-slot:hover:not(.occupied) {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.time-slot.occupied {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
    cursor: not-allowed;
    opacity: 0.7;
}

.time-slot.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h4 {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    font-weight: 500;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-card.expense {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card.net {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 450px;
    width: 100%;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.login-card .form-control {
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.login-card .btn-primary {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Bildirim Animasyonu */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

#notification-badge {
    animation: none;
}

/* Bildirim Badge */
#notification-count {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
}

/* Bildirim Alanı */
#notification-area {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 4px solid #ffc107;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#notification-area h4 {
    color: #856404;
    font-weight: bold;
}

#notification-area .text-muted {
    color: #856404 !important;
}
