/* Root Variables - Dark Theme (Default) */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --accent-color: #d4af37;
    --accent-hover: #c19b26;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Light Theme */
body.light-theme {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --accent-color: #c41e3a;
    --accent-hover: #a01829;
    --text-light: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12);
    --gradient: linear-gradient(135deg, #ffffff, #f8f9fa);
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .navbar-brand,
body.light-theme .nav-link {
    color: #1a1a1a !important;
}

body.light-theme .btn-outline-light {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

body.light-theme .btn-outline-light:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.light-theme .card {
    background-color: #ffffff;
    color: #1a1a1a;
}

body.light-theme .modal-content {
    background-color: #ffffff;
    color: #1a1a1a;
}

body.light-theme .hero-section h1,
body.light-theme .hero-section p {
    color: #ffffff !important;
}

#themeToggle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

#themeToggle:hover {
    transform: rotate(360deg);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo Styling */
.logo-navbar {
    margin-right: 8px;
    animation: logoFloat 3s ease-in-out infinite;
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition);
}

.navbar-brand:hover .logo-navbar {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-color) !important;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.3rem;
    color: var(--text-light) !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.container.mt-5 {
    padding: 8rem 0 6rem;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-top: 0 !important;
}

.container.mt-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/api/placeholder/1920/1080') center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.container.mt-5 h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--accent-color);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.btn-warning:hover {
    background-color: var(--accent-hover);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-warning i {
    margin-right: 0.5rem;
}

/* Gallery Section */
.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 4rem 0 3rem;
    text-align: center;
    position: relative;
}

.gallery-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

.gallery-container {
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    flex: 0 0 300px;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Features Section */
.card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-light);
    opacity: 0.8;
}

/* Service Selection Styles */
.service-card {
    background: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--secondary-color), rgba(212, 175, 55, 0.1));
}

.service-card h6 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-card .service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0.5rem 0;
}

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

.service-card .service-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.service-card .selected-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Calendar Styles */
.calendar-container {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

#monthName {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.month-switch {
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.month-switch:hover {
    color: var(--accent-color);
}

.days-of-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.days-of-week div {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.day-box {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-light);
}

.day-box:hover:not(.disabled) {
    background: var(--accent-color);
    color: var(--primary-color);
}

.day-box.selected {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

.day-box.disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Hour Picker */
.hour-picker {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.hour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.hour-slot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.8rem;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.hour-slot:hover:not(.disabled) {
    background: var(--accent-color);
    color: var(--primary-color);
}

.hour-slot.selected {
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

.hour-slot.disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Modal Styles */
.modal-content {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.modal-title {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.form-label {
    color: var(--text-light);
    font-weight: 500;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--border-radius);
    padding: 0.8rem 1rem;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--text-light);
    box-shadow: none;
}

/* Footer */
footer {
    background: var(--secondary-color);
    padding: 4rem 0;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

footer p {
    color: var(--text-light);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container.mt-5 h1 {
        font-size: 3rem;
    }
    
    .gallery-item {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .container.mt-5 h1 {
        font-size: 2.5rem;
    }
    
    .gallery-title {
        font-size: 2.2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
    }
    
    .hour-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        flex: 0 0 100%;
        height: 350px;
    }
}

@media (max-width: 576px) {
    .container.mt-5 h1 {
        font-size: 2rem;
    }
    
    .hour-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.modal.show .modal-content {
    animation: fadeIn 0.3s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: none;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Additional Button States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.form-control.is-valid {
    border-color: #28a745;
    background-image: none;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Loading States */
.loading {
    position: relative;
    opacity: 0.8;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Welcome Message Styles */
.text-light.me-3 {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Button Link Styles */
.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    padding: 0;
}

.btn-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Modal Dialog Centered */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

/* Error State Animations */
.error-shake {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Focus States */
*:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}
/* My Bookings Styles */
.table-dark {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: var(--border-radius);
}

.table-dark thead th {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.table-dark td, 
.table-dark th {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Image Placeholders */
img[src*="placeholder"] {
    position: relative;
    background: var(--secondary-color);
}

img[src*="placeholder"]::before {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}