/* Salon Styles - Static Version for Shared Hosting */

/* Custom CSS Variables */
:root {
    --color-primary: #f8f6f2;    /* Warmer, softer off-white */
    --color-secondary: #2c2c2c;  /* Slightly softer black for better contrast */
    --color-tertiary: #9B8579;   /* Richer, warmer brown */
    --color-accentGray: #E5E0D9; /* Warmer light gray */
    --color-accentPeach: #D4B5A0; /* Deeper, more sophisticated peach */
    --color-accentGold: #C4A484;  /* New accent color for highlights */
    --color-accentDark: #4A3C31;  /* New dark accent for depth */

    --color-zinc-50: #fafafa;
    --color-zinc-100: #f5f5f5;
    --color-zinc-200: #e5e5e5;
    --color-zinc-300: #d4d4d4;
    --color-zinc-400: #a3a3a3;
    --color-zinc-500: #737373;
    --color-zinc-600: #525252;
    --color-zinc-700: #404040;
    --color-zinc-800: #262626;
    --color-zinc-900: #171717;
    --color-zinc-950: #0a0a0a;

    --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.dark {
    --color-primary: #f5f5f0;
    --color-secondary: #1a1a1a;
    --color-tertiary: #A3948B;
    --color-accentGray: #d0d0d0;
    --color-accentPeach: #e1c3b8;
    --color-accent: #ffffff;
    --color-accent-content: #ffffff;
    --color-accent-foreground: #262626;
}

/* Base Styles */
*,
::after,
::before,
::backdrop,
::file-selector-button {
    border-color: #e5e5e5;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.salon-name {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.salon-name:hover::after {
    width: 100%;
}

.header-nav {
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-tertiary);
    color: var(--color-primary);
    border: 1px solid var(--color-tertiary);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accentPeach);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

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

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-outline {
    border: 1px solid var(--color-tertiary);
    color: var(--color-tertiary);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-tertiary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: white;
}

.btn-outline:hover::before {
    transform: translateX(0);
}

/* Dividers */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-tertiary), transparent);
    opacity: 0.5;
    position: relative;
    overflow: hidden;
}

.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fef3c7;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-tertiary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.feature-icon:hover::before {
    transform: scale(1.2);
}

/* Cards */
.service-card {
    background-color: var(--color-primary);
    border: 1px solid var(--color-accentGray);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    padding: 1.5rem;
    overflow: hidden;
}

.service-card img {
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-tertiary);
}

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

.service-card h3 {
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-tertiary);
    transition: all 0.3s ease;
}

.service-card:hover h3::after {
    width: 100%;
}

.service-card p {
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--color-accentPeach);
}

/* Sections */
.booking-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1515377905703-c4788e51af15?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.booking-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
}

@keyframes gradient-shift {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

.footer {
    background: var(--color-zinc-900);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-tertiary), transparent);
}

/* Parallax */
.parallax {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
    }
}

/* Special Offer Section */
.special-offer {
    background: linear-gradient(135deg, #fef3c7 0%, var(--color-tertiary) 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

.special-offer-code {
    background: white;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.special-offer-code::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

/* Experience Section */
.feature-stat {
    position: relative;
    padding: 1.5rem;
    background: #fef3c7;
    border-radius: 8px;
}

.feature-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    opacity: 0.5;
}

/* Animated underline for section titles */
h2 .absolute {
    transform: scaleX(1);
}

/* Image container effects */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(200, 169, 126, 0.1), transparent);
    opacity: 0.5;
}

/* Video button hover effect */
.video-button {
    position: relative;
    overflow: hidden;
}

.video-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(200, 169, 126, 0.1), transparent);
    opacity: 0.5;
}

/* Blur effect for decorative circles */
.blur-circle {
    filter: blur(40px);
}

/* Background pattern */
.pattern-bg {
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

/* Hero Section Enhancements */
.bg-charcoal {
    background-color: var(--color-secondary);
}

/* Typography and Text Colors */
.text-gold {
    color: var(--color-tertiary);
}

.text-gold-light {
    color: var(--color-accentPeach);
}

/* Section Backgrounds */
.bg-gray-50 {
    background-color: var(--color-primary);
}

/* Artist Card Enhancements */
.artist-card {
    background-color: var(--color-primary);
    border: 1px solid var(--color-accentGray);
}

.artist-card:hover {
    border-color: var(--color-tertiary);
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-tertiary), transparent);
}

/* Text Colors */
.text-gray-600 {
    color: var(--color-secondary);
}

.text-gray-700 {
    color: var(--color-secondary);
}

/* Hover Effects */
.hover\:text-gold:hover {
    color: var(--color-tertiary);
}

.hover\:text-amber-500:hover {
    color: var(--color-accentPeach);
}

/* Background Overlays */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--color-secondary), transparent);
}

/* Flux UI Compatibility */
[data-flux-field]:not(ui-radio, ui-checkbox) {
    display: grid;
    gap: 0.5rem;
}

[data-flux-label] {
    margin-bottom: 0 !important;
    line-height: 1.25 !important;
}

/* Loading animation for shared hosting compatibility */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-tertiary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Booking page styles */
.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

.stylist-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.stylist-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stylist-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stylist-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.stylist-details h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stylist-details p {
    color: #6b7280;
}

.services-list {
    margin-top: 1rem;
}

.services-list h3 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

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

.service-price {
    font-weight: 600;
    color: var(--color-tertiary);
}

.book-button {
    width: 100%;
    background-color: #3b82f6;
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.book-button:hover {
    background-color: #2563eb;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    max-width: 28rem;
    width: 100%;
    margin: 1rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modal-close {
    margin-top: 1rem;
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: #e5e7eb;
}
