/* ========================================
   All-Good Furniture — Custom Styles
   Palette: Plum (#6B3A5D) + Amber (#F4C54F)
   Fonts: DM Serif Display + Inter
======================================== */

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

:root {
    --plum: #6B3A5D;
    --plum-light: #8B5A7B;
    --plum-dark: #4E2A43;
    --plum-bg: #FDF5F8;
    --amber: #F4C54F;
    --amber-light: #F9D97A;
    --amber-dark: #D4A520;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE3;
    --text: #2D1F2B;
    --text-light: #6B5A68;
    --white: #FFFFFF;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --shadow-sm: 0 2px 8px rgba(107, 58, 93, 0.08);
    --shadow-md: 0 8px 30px rgba(107, 58, 93, 0.12);
    --shadow-lg: 0 20px 60px rgba(107, 58, 93, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
}

.text-plum { color: var(--plum); }
.text-gradient {
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-amber { color: var(--amber-dark); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--plum);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(107, 58, 93, 0.3);
}
.btn--primary:hover {
    background: var(--plum-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 58, 93, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--plum);
    border: 2px solid var(--plum);
}
.btn--ghost:hover {
    background: var(--plum);
    color: var(--white);
}

.btn--dark {
    background: var(--text);
    color: var(--white);
}
.btn--dark:hover {
    background: var(--plum-dark);
    transform: translateY(-2px);
}

.btn--light {
    background: var(--white);
    color: var(--plum);
    box-shadow: var(--shadow-md);
}
.btn--light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn--ghost-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ── Section Tags ── */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum);
    background: rgba(107, 58, 93, 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--plum);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav__link:hover { color: var(--plum); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amber);
    color: var(--plum-dark);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.nav__cta:hover {
    background: var(--amber-light);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--plum);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu__link {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--plum);
    transition: color var(--transition);
}
.mobile-menu__link:hover { color: var(--amber-dark); }
.mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--amber);
    color: var(--plum-dark);
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    margin-top: 8px;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 0;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--plum);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero__sub {
    display: block;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-top: 8px;
}

.hero__desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Hero Visual */
.hero__visual {
    position: relative;
    height: 600px;
}

.hero__image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.hero__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-float {
    position: absolute;
    bottom: -20px;
    left: -40px;
    z-index: 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.hero__image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-float-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--plum);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.hero__decor-circle {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
    opacity: 0.3;
    z-index: 1;
}

.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* ── Showcase ── */
.showcase {
    padding: 100px 0;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.showcase__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card--large {
    grid-column: span 7;
}

.card:not(.card--large) {
    grid-column: span 5;
}

.card--accent {
    grid-column: span 12;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    color: var(--white);
}

.card--accent .card__body h3 { color: var(--white); }
.card--accent .card__body p { color: rgba(255,255,255,0.8); }

.card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card--large .card__image { aspect-ratio: 16/10; }

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--white);
    color: var(--plum);
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card__body {
    padding: 24px;
}

.card__body--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 48px 40px;
}

.card__icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card__body h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card__body p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.card--accent .card__body p { color: rgba(255,255,255,0.8); }

/* ── About ── */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__image-stack {
    position: relative;
    height: 580px;
}

.about__image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    z-index: 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--plum);
}

.about__stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.about__content .section-title {
    margin-bottom: 24px;
}

.about__text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.about__feature-icon {
    width: 36px;
    height: 36px;
    background: var(--plum-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Visit ── */
.visit {
    padding: 100px 0;
    background: var(--cream);
}

.visit__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit__info .section-title {
    margin-bottom: 16px;
}

.visit__desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.visit__detail {
    display: flex;
    gap: 16px;
}

.visit__detail-icon {
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.visit__detail strong {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--plum);
    margin-bottom: 4px;
}

.visit__detail p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.visit__detail a {
    color: var(--plum);
    font-weight: 500;
    transition: color var(--transition);
}
.visit__detail a:hover { color: var(--amber-dark); }

.visit__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Form */
.visit__form-wrapper {
    position: sticky;
    top: 100px;
}

.visit__form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.visit__form-card h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.visit__form-card > p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--plum);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(107, 58, 93, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

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

.form__success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form__success.show {
    display: block;
}

.form__success-icon {
    width: 72px;
    height: 72px;
    background: var(--plum-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form__success h4 {
    font-size: 1.5rem;
    color: var(--plum);
    margin-bottom: 8px;
}

.form__success p {
    color: var(--text-light);
}

/* ── CTA ── */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 50%, var(--plum-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta::__before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(244, 197, 79, 0.1);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta__title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 8px;
}

.cta__desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
}

.cta__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 32px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--white);
}

.footer__brand p {
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}

.footer__links a:hover { color: var(--amber); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero__container {
        gap: 40px;
    }
    
    .hero__visual {
        height: 480px;
    }

    .about__container {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
        height: 420px;
    }

    .hero__image-float {
        left: -20px;
        bottom: -10px;
    }

    .showcase__grid {
        grid-template-columns: 1fr;
    }

    .card--large,
    .card:not(.card--large),
    .card--accent {
        grid-column: span 1;
    }

    .about__container {
        grid-template-columns: 1fr;
    }

    .about__visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .about__image-stack {
        height: 400px;
    }

    .visit__container {
        grid-template-columns: 1fr;
    }

    .visit__form-wrapper {
        sticky: unset;
        top: unset;
    }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__toggle { display: flex; }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero__visual {
        height: 360px;
    }

    .hero__image-float {
        display: none;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta__actions {
        justify-content: center;
    }

    .footer__links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__headline {
        font-size: 2.2rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .visit__form-card {
        padding: 28px 20px;
    }

    .hero__trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
