/* =========================================
   ToLink — Shared Styles
   ========================================= */

:root {
    --cream: #FDFCF8;
    --black-accent: #1A1A1A;
    --black-hover: #2A2A2A;
    --charcoal: #1A1A1A;
}

body {
    font-family: 'Satoshi', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

h1, h2, h3, .serif {
    font-family: 'Zodiak', serif;
}

.bg-cream        { background-color: var(--cream); }
.bg-black-accent { background-color: var(--black-accent); }
.text-black-accent { color: var(--black-accent); }

/* Floating cards */
.floating-ui {
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1), 0 10px 15px -5px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-ui:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.15);
    background-color: rgba(255,255,255,0.95) !important;
}

/* Float animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-15px); }
}
.animate-float          { animation: float 6s ease-in-out infinite; }
.animate-float-delayed  { animation: float 8s ease-in-out infinite -2s; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* View transitions */
@view-transition { navigation: auto; }
.main-content-area { view-transition-name: main-content; }
.persistent-nav    { view-transition-name: main-nav; }
.persistent-logo   { view-transition-name: main-logo; }

::view-transition-old(main-nav),
::view-transition-new(main-nav),
::view-transition-old(main-logo),
::view-transition-new(main-logo) {
    animation: none;
    mix-blend-mode: normal;
}
::view-transition-old(main-content) { animation: 0.25s ease-out both fade-out; }
::view-transition-new(main-content) { animation: 0.25s ease-in 0.1s both fade-in; }

@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }

/* =========================================
   Contact page specific
   ========================================= */

.method-btn.active {
    background-color: var(--black-accent);
    color: white;
    border-color: var(--black-accent);
}
.form-section        { display: none; }
.form-section.active { display: block; animation: fadeIn 0.4s ease-out; }

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

input, select, textarea { transition: all 0.2s ease; }
input:focus, select:focus, textarea:focus {
    border-color: var(--black-accent) !important;
    box-shadow: 0 0 0 4px rgba(26,26,26,0.05);
}
