/* ============================================
   Radio Espresso — Styles
   Classic & Elegant · Burgundy + Blush
   ============================================ */

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

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

body {
    min-height: 100vh;
    line-height: 1.7;
    color: #3D2B1F;
    background-color: #FDF8F5;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #7B2D3B;
    color: #FDF8F5;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 0;
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 0;
}

/* ---------- Typography ---------- */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7B2D3B;
    margin-bottom: 0.75rem;
}

.section-eyebrow--light {
    color: #f9cdd7;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: #3D2B1F;
    margin-bottom: 1.25rem;
}

.section-heading--light {
    color: #FDF8F5;
}

.section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #6B5744;
    max-width: 540px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #7B2D3B;
    color: #FDF8F5;
    border: 2px solid #7B2D3B;
}
.btn--primary:hover,
.btn--primary:focus-visible {
    background: #5c1f2b;
    border-color: #5c1f2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 45, 59, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #FDF8F5;
    border: 2px solid rgba(253, 248, 245, 0.5);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: #FDF8F5;
    background: rgba(253, 248, 245, 0.1);
}

.btn--full {
    width: 100%;
}

/* ---------- Section ---------- */
.section {
    padding: 6rem 0;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(123, 45, 59, 0.08);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #7B2D3B;
    letter-spacing: 0.02em;
}

.nav__logo {
    width: 32px;
    height: 32px;
    color: #7B2D3B;
    flex-shrink: 0;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3D2B1F;
    padding: 0.5rem 0.875rem;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover,
.nav__link:focus-visible {
    color: #7B2D3B;
    background: rgba(123, 45, 59, 0.06);
}

.nav__link--cta {
    background: #7B2D3B;
    color: #FDF8F5 !important;
    margin-left: 0.5rem;
}
.nav__link--cta:hover,
.nav__link--cta:focus-visible {
    background: #5c1f2b;
    color: #FDF8F5 !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 110;
}
.nav__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #7B2D3B;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) {
    opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0.25rem;
        background: #FDF8F5;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    .nav__links.open {
        transform: translateX(0);
    }
    .nav__link {
        font-size: 1rem;
        padding: 0.875rem 1rem;
        text-align: center;
    }
    .nav__link--cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 12, 17, 0.82) 0%,
        rgba(123, 45, 59, 0.70) 50%,
        rgba(61, 43, 31, 0.78) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    display: flex;
    align-items: center;
}

.hero__card {
    background: rgba(253, 248, 245, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(253, 248, 245, 0.15);
    border-radius: 12px;
    padding: 3rem;
    max-width: 620px;
    animation: heroCardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.hero__eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 196, 176, 0.9);
    margin-bottom: 1rem;
}

.hero__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: #FDF8F5;
    margin-bottom: 1.25rem;
}

.hero__accent {
    color: #f9cdd7;
    font-style: italic;
    font-weight: 500;
}

.hero__sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(253, 248, 245, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Floating Stat Cards */
.hero__stats {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.stat-card {
    position: absolute;
    background: rgba(253, 248, 245, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 248, 245, 0.18);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    animation: floatCard 6s ease-in-out infinite;
    pointer-events: auto;
}

.stat-card__number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9cdd7;
    line-height: 1;
}

.stat-card__label {
    font-family: 'Lato', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 248, 245, 0.75);
}

.stat-card--1 {
    top: 18%;
    right: 8%;
    animation-delay: 0s;
}
.stat-card--2 {
    top: 55%;
    right: 5%;
    animation-delay: -2s;
}
.stat-card--3 {
    bottom: 15%;
    right: 15%;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
    .hero__stats { display: none; }
}

@media (max-width: 640px) {
    .hero__card {
        padding: 2rem;
    }
    .hero__content {
        padding: 7rem 1.25rem 3rem;
    }
}

/* ============================================
   About
   ============================================ */
.about {
    background: #FDF8F5;
}

.about__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about__text p {
    font-size: 1.025rem;
    line-height: 1.8;
    color: #5C4033;
}

.about__image {
    position: relative;
}

.about__image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.12);
}

.about__image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.about__image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: #7B2D3B;
    border-radius: 8px;
    z-index: -1;
    opacity: 0.15;
}

@media (max-width: 900px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about__image {
        max-width: 480px;
    }
}

/* ============================================
   Offerings
   ============================================ */
.offerings {
    background: #2C1E14;
}

.offerings__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.offerings__header .section-sub {
    margin: 0 auto;
    color: rgba(253, 248, 245, 0.65);
}

.offerings__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.offering-card {
    background: rgba(253, 248, 245, 0.05);
    border: 1px solid rgba(253, 248, 245, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.offering-card__img {
    height: 220px;
    overflow: hidden;
}
.offering-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.offering-card:hover .offering-card__img img {
    transform: scale(1.05);
}

.offering-card__body {
    padding: 2rem;
}

.offering-card__icon {
    width: 44px;
    height: 44px;
    color: #f9cdd7;
    margin-bottom: 1rem;
}
.offering-card__icon svg {
    width: 100%;
    height: 100%;
}

.offering-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #FDF8F5;
    margin-bottom: 0.75rem;
}

.offering-card__body > p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(253, 248, 245, 0.65);
    margin-bottom: 1.25rem;
}

.offering-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.offering-card__list li {
    font-size: 0.875rem;
    color: rgba(253, 248, 245, 0.8);
    padding-left: 1.25rem;
    position: relative;
}
.offering-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: #f9cdd7;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .offerings__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    background: #FAF0EA;
}

.gallery__header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.gallery__item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 12, 17, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}
.gallery__item-overlay span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    color: #FDF8F5;
    font-style: italic;
}

.gallery__item--large {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 420px;
}
.gallery__item--tall {
    grid-column: span 5;
    grid-row: span 2;
    min-height: 420px;
}
.gallery__item:not(.gallery__item--large):not(.gallery__item--tall) {
    min-height: 200px;
}

@media (max-width: 768px) {
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery__item--large,
    .gallery__item--tall {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 280px;
    }
    .gallery__item:not(.gallery__item--large):not(.gallery__item--tall) {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    .gallery__item--large,
    .gallery__item--tall {
        grid-column: span 1;
    }
}

/* ============================================
   Visit
   ============================================ */
.visit {
    background: #FDF8F5;
}

.visit__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.visit__text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visit__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit__detail-icon {
    width: 24px;
    height: 24px;
    color: #7B2D3B;
    flex-shrink: 0;
    margin-top: 3px;
}

.visit__detail-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7B2D3B;
    margin-bottom: 0.25rem;
}

.visit__detail-value {
    font-size: 1rem;
    line-height: 1.6;
    color: #3D2B1F;
}

.visit__detail-link {
    color: #7B2D3B;
    border-bottom: 1px solid rgba(123, 45, 59, 0.3);
    transition: border-color 0.2s ease;
}
.visit__detail-link:hover {
    border-color: #7B2D3B;
}

.visit__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(123, 45, 59, 0.1);
}

.visit__map-frame {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
}

@media (max-width: 900px) {
    .visit__inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Contact
   ============================================ */
.contact {
    background: #FAF0EA;
}

.contact__inner {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7B2D3B;
}

.form-input {
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    color: #3D2B1F;
    background: #FDF8F5;
    border: 1.5px solid rgba(123, 45, 59, 0.2);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}
.form-input:hover {
    border-color: rgba(123, 45, 59, 0.4);
}
.form-input:focus {
    border-color: #7B2D3B;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B2D3B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__success {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: #1a6b3c;
    background: rgba(26, 107, 60, 0.06);
    border: 1px solid rgba(26, 107, 60, 0.2);
    border-radius: 6px;
    padding: 1rem 1.25rem;
}
.contact__success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .contact__inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #2C1E14;
    color: rgba(253, 248, 245, 0.7);
    padding: 4rem 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(253, 248, 245, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #FDF8F5;
    margin-bottom: 0.875rem;
}

.footer__logo-icon {
    width: 32px;
    height: 32px;
    color: #f9cdd7;
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 320px;
    color: rgba(253, 248, 245, 0.55);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__col-title {
    font-family: 'Lato', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f9cdd7;
    margin-bottom: 1rem;
}

.footer__col a {
    display: block;
    font-size: 0.9375rem;
    color: rgba(253, 248, 245, 0.6);
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}
.footer__col a:hover {
    color: #FDF8F5;
}

.footer__col p {
    font-size: 0.9375rem;
    color: rgba(253, 248, 245, 0.6);
    padding: 0.25rem 0;
    line-height: 1.6;
}

.footer__bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(253, 248, 245, 0.4);
}

@media (max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
    .footer__links {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Reveal Animations (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
}

/* Default visible state for reduced-motion or no-JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
