@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --color-surface: #FDFCF8;
    --color-primary: #1A1A1A;
    --color-secondary: #000000;
    --color-tertiary: #f3f2ee;
    --color-on-surface: #1A1A1A;
    --color-on-surface-variant: #1A1A1A;
    --color-outline-variant: rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--color-surface);
    color: var(--color-on-surface);
    font-family: 'Georgia', 'Playfair Display', serif;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.font-sans-editorial {
    font-family: 'Open Sans', 'ui-sans-serif', system-ui;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', 'Georgia', serif;
    letter-spacing: -0.04em;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.btn-primary {
    background-color: #96482d;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 11px;
    padding: 1.5rem 3rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(150, 72, 45, 0.15);
}

.btn-primary:hover {
    background-color: #7a331c;
    box-shadow: 0 15px 40px rgba(150, 72, 45, 0.25);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    background-color: #1c1917; /* stone-900 */
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 10px;
    padding: 1.25rem 2.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #000000;
}

.btn-secondary:active {
    transform: scale(0.95);
}

.input-editorial {
    background-color: transparent !important;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    color: #1A1A1A;
    font-size: 1rem;
    padding: 0.75rem 0;
    width: 100%;
    transition: border-color 0.3s ease;
    outline: none;
}

.input-editorial:focus {
    border-bottom-color: #1A1A1A;
}

.input-editorial::placeholder {
    color: #a8a29e; /* stone-400 */
}

select.input-editorial {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1.2em;
    padding-right: 2rem;
}

select option {
    background-color: #ffffff;
    color: #1A1A1A;
}

/* Fix for browser autofill visibility issues */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #FDFCF8 inset !important;
    -webkit-text-fill-color: #1A1A1A !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Success Animation */
.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.tracking-editorial {
    letter-spacing: 0.4em;
}

.border-editorial {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Custom spacing and utility classes for editorial feel */
.section-gap {
    padding-top: 140px;
    padding-bottom: 140px;
}

@media (max-width: 768px) {
    .section-gap {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.max-w-container {
    max-width: 1200px;
}

/* Fade-in animation on scroll simple class */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
