/* ============================================
   Maria's Place — Custom Styles
   Clean minimalist · Burgundy + Blush
   ============================================ */

/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background: #6B0F1A;
    color: #fff;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: #6B0F1A;
    color: #ffffff;
    border: 1px solid #6B0F1A;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #8A1524;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary span,
.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 15, 26, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: transparent;
    color: #1A1A1A;
    border: 1px solid #1A1A1A;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover {
    background: #1A1A1A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.15);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #6B0F1A;
    transition: width 0.3s ease;
}

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 250, 248, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(107, 15, 26, 0.08);
}

.nav-scrolled .nav-link {
    color: #1A1A1A !important;
}

/* ============================================
   Menu Tabs
   ============================================ */
.menu-tab {
    background: transparent;
    color: #1A1A1A;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.menu-tab.active {
    background: #6B0F1A;
    color: #ffffff;
}

.menu-tab:hover:not(.active) {
    background: rgba(107, 15, 26, 0.08);
    color: #6B0F1A;
}

/* ============================================
   Menu Items
   ============================================ */
.menu-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(107, 15, 26, 0.08);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.menu-item:nth-child(1) { animation-delay: 0.05s; }
.menu-item:nth-child(2) { animation-delay: 0.1s; }
.menu-item:nth-child(3) { animation-delay: 0.15s; }
.menu-item:nth-child(4) { animation-delay: 0.2s; }

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Floating Cards Animation
   ============================================ */
.float-card-1 {
    animation: floatCard1 6s ease-in-out infinite;
}

.float-card-2 {
    animation: floatCard2 7s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-nav-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(107, 15, 26, 0.08);
}

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

/* ============================================
   Form Styles
   ============================================ */
input:focus,
textarea:focus,
select:focus {
    border-color: #6B0F1A !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(26, 26, 26, 0.15);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .float-card-1 {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
        max-width: 100%;
        animation: floatCard1 6s ease-in-out infinite;
    }
    
    .float-card-2 {
        position: relative;
        bottom: auto;
        left: auto;
        margin-bottom: 1rem;
        max-width: 100%;
        animation: floatCard2 7s ease-in-out infinite;
    }
    
    #hero .relative {
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
