/* ============================================================= Rewind Dine — Shared Site Styles (v6) ============================================================= */ /* --- Design Tokens --- */ :root { --color-background: #FDFDFD; --color-text: #2A2C24; --color-primary: #3F4634; --color-accent: #A98867; --color-highlight: #EAE6DA; --font-heading: "EB Garamond", "Georgia", serif; --font-body: "Inter", "Helvetica Neue", sans-serif; } /* --- Reset --- */ html, body { height: 100%; margin: 0; } * { box-sizing: border-box; } a { text-decoration: none; color: inherit; } body { font-family: var(--font-body); background: var(--color-background); color: var(--color-text); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; } main.rewind-main { flex: 1; } /* --- Sticky Header --- */ .rewind-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 80px; background: var(--color-background); border-bottom: 1px solid var(--color-highlight); position: sticky; top: 0; z-index: 100; } .logo a { font-family: var(--font-heading); font-size: 2.7rem; color: var(--color-primary); font-weight: 500; line-height: 1; display: inline-block; } .rewind-nav { display: flex; } .rewind-nav a { color: var(--color-text); font-size: 1.2rem; font-weight: 500; margin: 0 16px; letter-spacing: 0.02em; transition: color .15s; } .rewind-nav a:hover { color: var(--color-accent); } .rewind-nav a.active { color: var(--color-accent); font-weight: 600; position: relative; } .rewind-nav a.active::after { content: ""; display: block; height: 2px; background: var(--color-accent); border-radius: 2px; margin-top: 2px; } .mobile-menu { display: none; cursor: pointer; padding: 10px; } .hamburger-line { width: 30px; height: 2px; background: var(--color-text); margin: 6px 0; } /* --- Mobile Menu Overlay --- */ #mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: none; align-items: flex-start; justify-content: flex-end; } #mobile-menu-overlay.open { display: flex; } #mobile-menu-overlay .mobile-menu-inner { background: #FDFDFD; width: 80%; max-width: 320px; min-height: 100vh; padding: 60px 20px 30px; display: flex; flex-direction: column; gap: 10px; position: relative; box-shadow: -4px 0 20px rgba(0,0,0,0.15); } #mobile-menu-overlay .close-btn { position: absolute; top: 16px; right: 20px; font-size: 28px; color: #3F4634; line-height: 1; background: transparent; border: none; cursor: pointer; text-decoration: none; } #mobile-menu-overlay h2 { display: none; } #mobile-menu-overlay .nav-button-group { width: 100%; display: flex; flex-direction: column; gap: 10px; } #mobile-menu-overlay .nav-button-group a { display: block; padding: 11px 20px; background: #265C27; color: #EAE6DA; border-radius: 6px; border: none; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em; text-align: center; transition: background 0.18s; text-decoration: none; } #mobile-menu-overlay .nav-button-group a:hover, #mobile-menu-overlay .nav-button-group a:active { background: #1f4c21; color: #EAE6DA; } #mobile-menu-overlay .nav-button-group a.active { background: #1f4c21; color: #EAE6DA; font-weight: 600; } /* --- Footer --- */ .rewind-footer { background: #EAE6DA; padding: 18px 32px; font-family: var(--font-body); font-size: 13px; color: #3F4634; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #d4cfc4; } .rewind-footer a { color: #3F4634; text-decoration: none; } .rewind-footer a:hover { text-decoration: underline; } .footer-divider { margin: 0 8px; opacity: 0.45; color: #3F4634; } .footer-left { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; } .footer-social { display: flex; gap: 14px; align-items: center; } .footer-social a { color: #3F4634; display: flex; align-items: center; transition: color .15s; } .footer-social a:hover { color: #265C27; } /* Legacy .site-footer alias */ .site-footer { background: var(--color-highlight); padding: 22px 40px; color: #5B5E52; width: 100%; border-top: 1px solid #e2ddcf; font-family: var(--font-body); font-size: 0.93rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; } .footer-copy { color: #888; font-size: 0.88rem; } .footer-copy a { color: #5B5E52; font-weight: 400; } .footer-copy a:hover { text-decoration: underline; } /* --- Base CTA Buttons --- */ .cta-button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 28px; border-radius: 999px; font-size: 1.05rem; font-weight: 500; border: 1px solid var(--color-primary); background: var(--color-primary); color: #ffffff; transition: background-color .15s, color .15s, border-color .18s; text-decoration: none; } .cta-button:hover { background: var(--color-accent); border-color: var(--color-accent); } .secondary-cta { background: #ffffff; color: var(--color-primary); border-color: var(--color-primary); } .secondary-cta:hover { background: var(--color-accent); color: #ffffff; border-color: var(--color-accent); } hr.section-divider { border: none; border-top: 1px solid var(--color-highlight); margin: 80px 0; } /* --- Section Eyebrow --- */ .section-eyebrow { text-transform: uppercase; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 2px; color: var(--color-accent); margin-bottom: 12px; } /* --- Page-Content Container --- */ .page-content { margin: 0 auto; padding: 60px 40px; width: 100%; max-width: 1100px; } /* --- Responsive --- */ @media (max-width: 768px) { .rewind-nav { display: none; } .mobile-menu { display: block; } .rewind-header { padding: 14px 20px; } .page-content { padding: 40px 20px; } /* Mobile footer */ .rewind-footer { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; gap: 6px; } .footer-left { flex-direction: column; align-items: center; gap: 6px; width: 100%; } .footer-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; } .footer-social { margin-top: 6px; justify-content: center; } /* Legacy site-footer mobile */ .site-footer { padding: 20px 16px; flex-direction: column; align-items: center; text-align: center; gap: 14px; } }