/* ========== BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #E86A5B;
    color: white;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #E86A5B;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(232, 106, 91, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #D45A4C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 106, 91, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #3A3A3A;
    padding: 0.875rem 2rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #E86A5B;
    color: #E86A5B;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #3A3A3A;
    padding: 0.875rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E5E7EB;
    cursor: pointer;
}

.btn-ghost:hover {
    border-color: #E86A5B;
    color: #E86A5B;
    transform: translateY(-2px);
}

.btn-coral {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #E86A5B;
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(232, 106, 91, 0.4);
    border: none;
    cursor: pointer;
}

.btn-coral:hover {
    background: #D45A4C;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 106, 91, 0.5);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 1rem 2.25rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-outline-light:hover {
    border-color: #E86A5B;
    color: #E86A5B;
    transform: translateY(-2px);
}

/* ========== CARDS ========== */
.card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

/* ========== NAV LINKS ========== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E86A5B;
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== MOBILE MENU ========== */
.mobile-menu-link {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
}

/* ========== HEADER STATES ========== */
header.scrolled {
    background: rgba(253, 247, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FDF7F5;
}

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

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

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 767px) {
    .card {
        padding: 1.5rem;
    }

    #contact-form {
        padding: 1.5rem;
    }
}
