/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #ff6b6b;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-heavy: 0 20px 40px rgba(0,0,0,0.15);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-light);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
}

.admin-link {
    background: var(--gradient-secondary);
    color: white !important;
    border: 2px solid transparent;
}

.admin-link:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Quick Welcome Section */
.quick-welcome {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0;
    font-weight: 500;
}

/* Gizli admin linki */
.quick-welcome .container {
    position: relative;
}

.admin-access-link {
    position: absolute;
    top: 10px;
    right: 10px;
    color: transparent !important;
    font-size: 1px !important;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    z-index: 10;
}

/* Appointment Steps */
.appointment-steps {
    padding: 20px 0 80px;
    background: var(--bg-white);
    min-height: calc(100vh - 80px);
}

.step-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 1rem;
    min-width: 120px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.step-item.active .step-number {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.step-label {
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.2;
}

.step-item.active .step-label {
    color: var(--text-dark);
    font-weight: 600;
}

.step-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.step-content.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

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

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Forms */
.appointment-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
    width: 20px;
}

.form-group input {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Services Section */
.services-section {
    margin-bottom: 3rem;
}

.services-section h3,
.staff-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.service-category {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 25px;
    display: inline-block;
}

.category-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 2px solid #e9ecef;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.service-card.selected {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
}

.service-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Staff Section */
.staff-section {
    margin-bottom: 3rem;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.staff-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 2px solid #e9ecef;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.staff-card.selected {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: var(--shadow-medium);
}

.staff-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.staff-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.staff-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.staff-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Date & Time Section */
.datetime-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.date-section,
.time-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.date-section h3,
.time-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.date-section input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.date-section input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}

.time-slot {
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.05);
}

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

.time-slot.booked {
    background: #f8f9fa;
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Appointment Summary */
.appointment-summary {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.appointment-summary h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    margin-top: 1rem;
    padding-top: 1rem;
}

/* Buttons */
.next-btn,
.prev-btn,
.submit-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.next-btn,
.submit-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.next-btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.next-btn:disabled,
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.prev-btn {
    background: #6c757d;
    color: white;
}

.prev-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: slideInUp 0.6s ease-out;
}

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

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.appointment-details {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.payment-info {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.payment-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.iban-info {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.payment-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.back-to-home {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2rem auto 0;
}

.back-to-home:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2.2rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .quick-welcome {
        padding: 40px 0 30px;
    }
    
    .step-progress {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .step-progress::before {
        display: none;
    }
    
    .step-item {
        min-width: auto;
        padding: 0;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .datetime-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-services {
        grid-template-columns: 1fr;
    }
    
    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.3rem;
    }
    
    .time-slot {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .appointment-form {
        padding: 1.5rem;
    }
    
    .success-content {
        padding: 1.5rem;
    }
    
    .date-section,
    .time-section {
        padding: 1.5rem;
    }
    
    .appointment-summary {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .quick-welcome {
        padding: 30px 0 20px;
    }
    
    .appointment-steps {
        padding: 10px 0 60px;
    }
    
    .step-progress {
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .appointment-form {
        padding: 1rem;
    }
    
    .success-content {
        padding: 1rem;
    }
    
    .date-section,
    .time-section {
        padding: 1rem;
    }
    
    .appointment-summary {
        padding: 1rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }
    
    .time-slot {
        padding: 6px;
        font-size: 0.8rem;
    }
    
    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .category-services {
        gap: 0.5rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .staff-card {
        padding: 1rem;
    }
}