/* SoloContent - Photography Service CSS */

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utility Classes */
.font-inter {
    font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cccccc;
}

/* Header Styles */
header {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.95);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

/* Camera Logo Animation */
.camera-logo {
    transition: all 0.3s ease;
}

.camera-logo:hover {
    transform: scale(1.05);
}

/* Button Styles */
.btn-primary {
    background: #ffffff;
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* Card Hover Effects */
.pricing-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gallery-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Floating Animation for Camera Elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Popular Package Special Effects */
.pricing-card-popular {
    position: relative;
    overflow: hidden;
}

.pricing-card-popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.pricing-card-popular:hover::before {
    left: 100%;
}

/* Form Styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Old mobile menu styles removed - now using StaggeredMenu */

/* Loading Animation */
.loading-spinner {
    border: 2px solid #f3f4f6;
    border-top: 2px solid #000000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Fade In Animation */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography Enhancements */
.hero-title {
    letter-spacing: 0.05em;
    text-rendering: optimizeLegibility;
}

/* Photo Gallery Grid Enhancement */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Testimonial Quote Styling */
.testimonial-quote {
    position: relative;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: #e5e7eb;
    position: absolute;
    top: -1rem;
    left: -1rem;
    line-height: 1;
}

/* WhatsApp Button Enhancement */
.whatsapp-btn {
    background: #25D366;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1DA851;
    transform: scale(1.05);
}

/* Package Selection Animation */
.package-selector {
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-selector:hover {
    background: #f8f9fa;
}

.package-selector.selected {
    background: #000000;
    color: #ffffff;
}

/* Contact Form Enhancement */
.contact-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Pricing Highlight */
.price-highlight {
    background: linear-gradient(135deg, #000000, #333333);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Icon Animations */
.icon-bounce {
    transition: transform 0.3s ease;
}

.icon-bounce:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Newsletter Signup */
.newsletter-form {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .mobile-padding {
        padding: 0 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .text-responsive {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        letter-spacing: 0.06em !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Keep the black/white theme consistent */
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles for Better Accessibility */
button:focus, a:focus, input:focus, textarea:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .text-gray-300 {
        color: #e5e7eb !important;
    }
    
    .text-gray-400 {
        color: #d1d5db !important;
    }
    
    .text-gray-100 {
        color: #f9fafb !important;
    }
}

/* Enhanced text contrast for dark backgrounds */
.bg-gray-900 .text-gray-300,
.bg-gray-800 .text-gray-300 {
    color: #e5e7eb;
}

.bg-gray-900 .text-gray-400,
.bg-gray-800 .text-gray-400 {
    color: #d1d5db;
}

/* Testimonial text enhancement */
.testimonial-card p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Pricing card text enhancement */
.pricing-card .text-gray-100 {
    color: #f3f4f6 !important;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-black {
        background: white !important;
        color: black !important;
        border: 1px solid black;
    }
}

/* Photography Theme Specific Styles */
.photo-frame {
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 1px #e5e7eb, 0 4px 15px rgba(0, 0, 0, 0.15);
}

.camera-viewfinder {
    border: 2px dashed #cccccc;
    animation: viewfinder-blink 2s infinite;
}

@keyframes viewfinder-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Service Highlight Sections */
.service-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #000000;
}

/* Content Creator Specific Elements */
.content-badge {
    background: #000000;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Video Play Button Overlay */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Instagram Integration Styles */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    aspect-ratio: 1;
}

.instagram-post {
    aspect-ratio: 1;
    background: #374151;
    position: relative;
    overflow: hidden;
}

.instagram-post:hover {
    transform: scale(0.95);
    transition: transform 0.2s ease;
}



/* Photography theme dark enhancements */
.photo-frame-dark {
    border: 3px solid #000000;
    box-shadow: 0 0 0 1px #374151, 0 4px 15px rgba(255, 255, 255, 0.05);
}

/* Force text visibility - emergency override */
.text-white, h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

.text-gray-100 {
    color: #f3f4f6 !important;
}

.text-gray-300 {
    color: #d1d5db !important;
}

.text-green-400 {
    color: #4ade80 !important;
}

/* Ensure all text in pricing cards is visible */
.pricing-card * {
    color: inherit !important;
}

.pricing-card .text-white {
    color: #ffffff !important;
}

.pricing-card .text-gray-100 {
    color: #f3f4f6 !important;
}

/* Ensure all testimonial text is visible */
.testimonial-card * {
    color: inherit !important;
}

.testimonial-card .text-gray-100 {
    color: #f3f4f6 !important;
}

.testimonial-card .text-white {
    color: #ffffff !important;
}

.testimonial-card .text-gray-300 {
    color: #d1d5db !important;
}

/* Enhanced pricing card hover effects */
.pricing-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Button hover effects */
.pricing-card button:hover {
    transform: scale(1.02);
    transition: all 0.2s ease;
}

/* Package button text visibility override - aggressive approach */
#paquetes button,
#paquetes button *,
#paquetes button span {
    color: #000000 !important;
    font-weight: bold !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Prevent any CSS framework from overriding button colors */
#paquetes button {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 2px solid #000000 !important;
}

/* Flashing button states */
#paquetes button.flashing {
    animation: none !important;
}

/* Ensure button spans maintain black color during flashing */
#paquetes button span {
    color: #000000 !important;
    display: inline !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force black text in all button states */
#paquetes button:hover span,
#paquetes button:active span,
#paquetes button:focus span {
    color: #000000 !important;
}

/* Popular badge animation */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(255, 107, 107, 0.9), 0 0 35px rgba(255, 107, 107, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
    }
}

/* Ensure popular badge text is always visible */
#popular-badge {
    color: #ffffff !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* PURE BLACK BACKGROUND - Remove all existing colors */
* {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
}

body, html {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
    letter-spacing: 0.025em !important;
}

/* Improved letter spacing for better readability */
*, h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, label, input, textarea, button {
    letter-spacing: 0.025em !important;
}

/* Enhanced spacing for headings */
h1, h2, h3 {
    letter-spacing: 0.05em !important;
}

/* Button text spacing */
button, .button {
    letter-spacing: 0.05em !important;
}

/* Navigation menu text spacing */
nav a {
    letter-spacing: 0.03em !important;
}

/* Hero section enhanced spacing */
.hero-title {
    letter-spacing: 0.08em !important;
}

/* Gallery item descriptions */
.gallery-item p {
    letter-spacing: 0.04em !important;
}

/* Footer content spacing */
footer p, footer span {
    letter-spacing: 0.03em !important;
}

/* Company name/logo enhanced spacing */
.tracking-wider {
    letter-spacing: 0.1em !important;
}

/* Form labels and inputs */
label, input, textarea {
    letter-spacing: 0.03em !important;
}

/* Remove all section backgrounds */
section, div, header, footer, main, article, aside, nav {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
}

/* Force all text to be white */
*, h1, h2, h3, h4, h5, h6, p, span, a, li, td, th, label, input, textarea, button {
    color: #ffffff !important;
}

/* Remove specific Tailwind classes */
.bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-white {
    background-color: transparent !important;
    background: transparent !important;
}

/* Remove button backgrounds except for package buttons */
button:not(#paquetes button) {
    background-color: transparent !important;
    background: transparent !important;
    border-color: #ffffff !important;
}

/* Keep only package button styling */
#paquetes button {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Remove popular badge background */
#popular-badge {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Dithered Waves Background Styles */
#prismatic-burst-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: auto;
    z-index: 1;
    overflow: hidden;
}

#prismatic-burst-container canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Ensure all content stays above background */
header, nav, main, section, footer, .container {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

/* Re-enable pointer events for interactive elements */
a, button, input, textarea, select, [onclick], [onmouseover], .staggered-menu-wrapper,
.pricing-card, .gallery-item, .testimonial-card, nav, header, #circular-gallery-container {
    pointer-events: auto !important;
}

/* Circular Gallery Styles */
#circular-gallery-container {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.circular-gallery-item {
    pointer-events: auto !important;
    will-change: transform, opacity;
}

/* Staggered Menu Background Override */
.staggered-menu-panel,
.staggered-menu-panel *,
.sm-prelayer {
    background-color: #000000 !important;
    background: #000000 !important;
}

.staggered-menu-panel .sm-panel-inner,
.staggered-menu-panel .sm-panel-list,
.staggered-menu-panel .sm-socials {
    background: transparent !important;
    background-color: transparent !important;
}

/* Force Staggered Menu Width Override */
.staggered-menu-panel {
    width: 33.333vw !important;
    min-width: 320px !important;
    max-width: 500px !important;
}

/* Responsive Width Overrides */
@media (max-width: 1024px) {
    .staggered-menu-panel {
        width: 40vw !important;
        min-width: 300px !important;
    }
}

@media (max-width: 768px) {
    .staggered-menu-panel {
        width: 50vw !important;
        min-width: 280px !important;
        max-width: 350px !important;
    }
}

@media (max-width: 480px) {
    .staggered-menu-panel {
        width: 65vw !important;
        min-width: 260px !important;
        max-width: 300px !important;
    }
}

/* Fallback burst layers */
.fallback-burst-layer-1,
.fallback-burst-layer-2, 
.fallback-burst-layer-3 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .pricing-card h3 {
        font-size: 1.5rem !important;
    }
    
    .pricing-card .price {
        font-size: 1.75rem !important;
    }
    
    .pricing-card p {
        font-size: 0.9rem !important;
    }
    
    /* Mobile adjustments for prismatic burst */
    #prismatic-burst-container {
        /* Reduce performance impact on mobile */
        opacity: 0.7;
    }
}