/* ============================================
   PARADISE NAIL STUDIO - WEB BOOKING
   ============================================ */

:root {
    --primary: #E8C4BC;
    --primary-dark: #D4A5A5;
    --secondary: #000000;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text: #1A1A1A;
    --text-light: #666666;
    --border: #E5E5E5;
    --success: #4CAF50;
    --error: #F44336;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
}

.logo-icon {
    font-size: 1.8rem;
}

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

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-dark);
}

.lang-switch {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    color: var(--text);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FDF6F4 0%, #F8E8E4 50%, #F0D8D4 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(232, 196, 188, 0.4) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--surface);
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary);
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    background: var(--surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

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

.service-duration {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   BOOKING
   ============================================ */

.booking {
    background: linear-gradient(135deg, #FDF6F4 0%, #F8E8E4 100%);
}

.booking-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* Steps */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--secondary);
    color: var(--surface);
}

.step.completed .step-number {
    background: var(--success);
}

.step span {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.step.active span {
    color: var(--text);
    font-weight: 500;
}

/* Booking Steps */
.booking-step {
    min-height: 300px;
}

.booking-step.hidden {
    display: none;
}

.booking-step h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

/* Salon Select */
.salon-select {
    display: grid;
    gap: 15px;
}

.salon-city-group {
    margin-bottom: 10px;
}

.salon-city-label {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.salon-option {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
}

.salon-option:hover {
    border-color: var(--primary);
}

.salon-option.selected {
    border-color: var(--secondary);
    background: #F8F8F8;
}

.salon-option input {
    display: none;
}

.salon-option-icon {
    font-size: 1.8rem;
    margin-right: 15px;
}

.salon-option-info {
    flex: 1;
}

.salon-option-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.salon-option-address {
    font-size: 0.85rem;
    color: var(--text-light);
}

.salon-option-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
    opacity: 0.8;
}

/* Service Select */
.service-select {
    display: grid;
    gap: 15px;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.service-option:hover {
    border-color: var(--primary);
}

.service-option.selected {
    border-color: var(--secondary);
    background: #F8F8F8;
}

.service-option input {
    display: none;
}

.service-option-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.service-option-info {
    flex: 1;
}

.service-option-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.service-option-details {
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-option-price {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Date & Time Picker */
.datetime-picker {
    display: grid;
    gap: 30px;
}

.date-picker label,
.time-picker label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.date-picker input:focus {
    outline: none;
    border-color: var(--secondary);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.time-slot:hover {
    border-color: var(--primary);
}

.time-slot.selected {
    background: var(--secondary);
    color: var(--surface);
    border-color: var(--secondary);
}

.time-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Customer Form */
.customer-form {
    display: grid;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Booking Summary */
.booking-summary {
    background: var(--background);
    border-radius: var(--radius);
    padding: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.summary-label {
    color: var(--text-light);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Waiting/Pending State */
.waiting-notice {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border: 2px solid #FFB74D;
    border-radius: var(--radius);
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.waiting-notice .icon {
    font-size: 2rem;
    animation: pulse-warning 1.5s ease infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.success-message h3 {
    color: var(--success);
    margin-bottom: 15px;
}

.booking-code {
    background: var(--background);
    padding: 20px;
    border-radius: var(--radius);
    margin: 25px 0;
}

.booking-code strong {
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--secondary);
    letter-spacing: 3px;
}

/* Booking Nav */
.booking-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: var(--primary-dark);
    text-decoration: none;
}

.contact-qr {
    text-align: center;
}

.contact-qr p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.qr-placeholder canvas {
    border-radius: var(--radius);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--secondary);
    color: var(--surface);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--surface);
}

.footer-company {
    text-align: right;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   LOADING
   ============================================ */

.loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border);
    }
    
    .nav.open {
        display: flex;
    }
    
    .nav .lang-switch {
        justify-content: center;
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        width: 30%;
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-company {
        text-align: center;
    }
    
    .booking-container {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .booking-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .booking-nav .btn {
        width: 100%;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

