/* Custom styles for Ponce's Bakery */

/* Custom Properties */
:root {
    --color-navy-900: #1e3a5f;
    --color-navy-800: #2c4a6e;
    --color-navy-700: #3d5a7e;
    --color-amber-400: #d4a853;
    --color-amber-500: #c49a3c;
    --color-amber-600: #b08a2e;
    --color-stone-50: #fafaf9;
    --color-stone-100: #f5f5f4;
    --color-stone-200: #e7e5e4;
    --color-stone-300: #d6d3d1;
    --color-stone-400: #a8a29e;
    --color-stone-500: #78716c;
    --color-stone-600: #57534e;
    --color-stone-900: #1c1917;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-stone-900);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.nav-link {
    position: relative;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--color-amber-400);
    color: var(--color-navy-900);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-amber-400);
}

.btn-primary:hover {
    background: var(--color-amber-500);
    border-color: var(--color-amber-500);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(212, 168, 83, 0.3);
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-stone-200);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Form Styles */
input,
select,
textarea {
    font-family: 'Inter', sans-serif;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-stone-400);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    img,
    .group-hover\:scale-105 {
        transition: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-navy-900);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-navy-800);
}
