/* Custom CSS for T & A Two */

:root {
    --terracotta-50: #fef7f0;
    --terracotta-100: #fde4d0;
    --terracotta-200: #f9c4a0;
    --terracotta-300: #f49a6e;
    --terracotta-400: #ed7040;
    --terracotta-500: #e55525;
    --terracotta-600: #d4421a;
    --terracotta-700: #b33516;
    --terracotta-800: #8f2c14;
    --terracotta-900: #742612;
    
    --sand-50: #fdfbf7;
    --sand-100: #faf5e9;
    --sand-200: #f3e8c8;
    --sand-300: #e9d59a;
    --sand-400: #ddb86b;
    --sand-500: #d4a04a;
    --sand-600: #c4883a;
    --sand-700: #a06b30;
    --sand-800: #7d5327;
    --sand-900: #614220;
}

/* Tailwind config override */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom font families */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

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

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

::-webkit-scrollbar-track {
    background: var(--sand-100);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta-400);
    border-radius: 5px;
}

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

/* Geometric decorative elements */
.geometric-accent {
    position: absolute;
    pointer-events: none;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

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

.pulse-animation {
    animation: pulse-soft 4s ease-in-out infinite;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Image hover zoom effect */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Section reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all content is visible by default for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}
