/* Photography Luxe Studio - Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Luxury Color Palette */
    --color-gold-50: #fffbeb;
    --color-gold-100: #fef3c7;
    --color-gold-200: #fde68a;
    --color-gold-300: #fcd34d;
    --color-gold-400: #f59e0b;
    --color-gold-500: #d97706;
    --color-gold-600: #b45309;
    --color-gold-700: #92400e;
    --color-gold-800: #78350f;
    --color-gold-900: #451a03;
    
    --color-charcoal-50: #f8fafc;
    --color-charcoal-100: #f1f5f9;
    --color-charcoal-200: #e2e8f0;
    --color-charcoal-300: #cbd5e1;
    --color-charcoal-400: #94a3b8;
    --color-charcoal-500: #64748b;
    --color-charcoal-600: #475569;
    --color-charcoal-700: #334155;
    --color-charcoal-800: #1e293b;
    --color-charcoal-900: #0f172a;
    
    /* Typography Scale */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-luxury: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-elegant: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom Tailwind Classes */
.text-gold-400 { color: var(--color-gold-400); }
.text-gold-500 { color: var(--color-gold-500); }
.text-gold-600 { color: var(--color-gold-600); }
.bg-gold-400 { background-color: var(--color-gold-400); }
.bg-gold-500 { background-color: var(--color-gold-500); }
.bg-gold-600 { background-color: var(--color-gold-600); }
.border-gold-400 { border-color: var(--color-gold-400); }

.text-charcoal-700 { color: var(--color-charcoal-700); }
.text-charcoal-800 { color: var(--color-charcoal-800); }
.text-charcoal-900 { color: var(--color-charcoal-900); }
.bg-charcoal-800 { background-color: var(--color-charcoal-800); }
.bg-charcoal-900 { background-color: var(--color-charcoal-900); }

/* Typography */
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

/* Shadows */
.shadow-luxury { box-shadow: var(--shadow-luxury); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Custom Components */

/* Luxury Button */
.btn-luxury {
    @apply inline-flex items-center justify-center px-8 py-3 text-sm font-medium tracking-wider uppercase;
    @apply border-2 border-gold-400 text-gold-400 bg-transparent;
    @apply hover:bg-gold-400 hover:text-charcoal-900 transition-all duration-300;
    @apply focus:outline-none focus:ring-2 focus:ring-gold-400 focus:ring-offset-2 focus:ring-offset-charcoal-900;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
}

.btn-luxury-filled {
    @apply btn-luxury bg-gold-400 text-charcoal-900;
    @apply hover:bg-gold-500 hover:border-gold-500;
}

/* Elegant Card */
.card-elegant {
    @apply bg-white rounded-lg overflow-hidden;
    box-shadow: var(--shadow-elegant);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-elegant:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-luxury);
}

/* Luxury Section */
.section-luxury {
    @apply py-20 lg:py-32;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
}

/* Hero Section */
.hero-overlay {
    background: linear-gradient(
        45deg,
        rgba(15, 23, 42, 0.8) 0%,
        rgba(30, 41, 59, 0.6) 50%,
        rgba(15, 23, 42, 0.8) 100%
    );
}

/* Text Gradient */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--color-gold-400) 0%, var(--color-gold-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative Elements */
.decorative-line {
    position: relative;
}

.decorative-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-gold-400) 50%, transparent 100%);
}

/* Gallery Enhancements */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(245, 158, 11, 0.1) 0%,
        rgba(217, 119, 6, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Form Styling */
.form-luxury input,
.form-luxury textarea {
    @apply w-full px-4 py-3 bg-charcoal-800 border border-charcoal-600 rounded-lg;
    @apply text-white placeholder-charcoal-400 focus:border-gold-400 focus:ring-1 focus:ring-gold-400;
    @apply transition-colors duration-200;
    font-family: var(--font-body);
}

.form-luxury label {
    @apply block text-sm font-medium text-charcoal-300 mb-2;
    font-family: var(--font-body);
    letter-spacing: 0.025em;
}

/* Navigation Enhancements */
.nav-link {
    @apply relative inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium;
    @apply transition-all duration-200;
    font-family: var(--font-body);
    letter-spacing: 0.025em;
}

/* Default state - dark text for light backgrounds */
.nav-link {
    color: var(--color-charcoal-700);
    border-color: transparent;
}

/* Active state */
.nav-link.active,
.nav-link[aria-current="page"] {
    color: var(--color-gold-600);
    border-color: var(--color-gold-400);
}

/* Hover state - ensure good contrast */
.nav-link:hover {
    color: var(--color-gold-600);
}

/* For dark header backgrounds (when transparent) */
.header-dark .nav-link {
    color: white;
}

.header-dark .nav-link:hover {
    color: var(--color-gold-300);
}

.header-dark .nav-link.active {
    color: var(--color-gold-400);
    border-color: var(--color-gold-400);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold-400);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Responsive Typography */
.display-title {
    @apply text-4xl md:text-5xl lg:text-6xl font-bold leading-tight;
    font-family: var(--font-heading);
}

.section-title {
    @apply text-3xl md:text-4xl lg:text-5xl font-bold;
    font-family: var(--font-heading);
}

.section-subtitle {
    @apply text-lg md:text-xl text-charcoal-400 leading-relaxed;
    font-family: var(--font-body);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-500);
}

/* Accessibility Enhancements */
.focus-visible {
    @apply outline-none ring-2 ring-gold-400 ring-offset-2 ring-offset-charcoal-900;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --color-gold-400: #ffeb3b;
        --color-charcoal-900: #000000;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .text-white {
        color: black !important;
    }
    
    .bg-charcoal-800,
    .bg-charcoal-900 {
        background: white !important;
    }
}
