/* ========================================
   Bargain Mart of Amarillo — Styles
   ======================================== */

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

:root {
    --plum: #6B215B;
    --plum-light: #8B2F75;
    --plum-dark: #4E1742;
    --plum-deeper: #3A1030;
    --amber: #F59E0B;
    --amber-light: #FCD34D;
    --amber-dark: #D97706;
    --amber-soft: #FEF3C7;
    --cream: #FFFBF5;
    --warm-white: #FFF8F0;
    --text-dark: #1A0A14;
    --text-mid: #4A2040;
    --text-light: #7A5068;
    --border: #E8D0DC;
    --shadow-sm: 0 2px 8px rgba(107, 33, 91, 0.08);
    --shadow-md: 0 8px 30px rgba(107, 33, 91, 0.12);
    --shadow-lg: 0 20px 60px rgba(107, 33, 91, 0.15);
    --shadow-xl: 0 30px 80px rgba(107, 33, 91, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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: 16px;
    background: var(--plum);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--plum);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--amber);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum);
    color: white;
    box-shadow: 0 4px 20px rgba(107, 33, 91, 0.3);
}

.btn-primary:hover {
    background: var(--plum-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 33, 91, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--plum);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--plum);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 208, 220, 0.5);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 251, 245, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-line1 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--plum);
}

.logo-line2 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--amber-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li a {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: all var(--transition);
}

.nav-menu li a:hover {
    background: var(--amber-soft);
    color: var(--plum);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--plum) !important;
    color: white !important;
    margin-left: 8px;
}

.nav-phone:hover {
    background: var(--plum-light) !important;
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--plum);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    padding: 140px 0 0;
    background: var(--plum);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--amber-light);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: white;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--amber);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 640px;
}

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

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

.hero-image-float {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.hero-image-grocery {
    bottom: 100px;
    left: -40px;
    width: 280px;
}

.hero-image-grocery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-household {
    top: 60px;
    right: -30px;
    width: 260px;
}

.hero-image-household img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 4;
    white-space: nowrap;
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: var(--amber-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-text {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.hero-card-sub {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* Hero decorative dots */
.hero::before {
    content: '';
    position: absolute;
    top: 100px;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 150px;
    left: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

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

.about-image-wrapper {
    position: relative;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--amber);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.3;
}

.about-image-wrapper img {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    z-index: 2;
    background: var(--plum);
    color: white;
    border-radius: var(--radius-md);
    padding: 20px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .exp-number {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-light);
}

.about-experience-badge .exp-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--amber-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.highlight span {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* --- Features --- */
.features {
    padding: 100px 0;
    background: var(--plum);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.features .section-label {
    color: var(--amber-light);
}

.features .section-label::before {
    background: var(--amber);
}

.features .section-title {
    color: white;
}

.features .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--amber);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--amber-light);
    transform: scale(1.05);
}

.feature-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* --- Community --- */
.community {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.community-content {
    order: 1;
}

.community-text {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.comm-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.comm-stat-number {
    font-size: 2rem;
    line-height: 1;
}

.comm-stat-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.community-visual {
    order: 2;
    position: relative;
    height: 400px;
}

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

.community-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.community-img-small {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 4px solid var(--warm-white);
}

.community-img-small img {
    width: 240px;
    height: 180px;
    object-fit: cover;
}

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

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

.visit-content {
    padding: 20px 0;
}

.visit-text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--amber-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--plum);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--plum);
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* --- 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-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--amber);
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    right: -80px;
}

.cta-circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 60%;
    opacity: 0.05;
}

/* --- Footer --- */
.footer {
    background: var(--plum-deeper);
    color: white;
    padding: 60px 0 30px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer .logo-line1 {
    color: white !important;
}

.footer .logo-line2 {
    color: var(--amber-light) !important;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: var(--amber-light);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    width: 100%;
    text-align: center;
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-visual {
        height: 520px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        height: 480px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

    .community-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .community-content {
        order: 2;
    }

    .community-visual {
        order: 1;
        height: 320px;
    }

    .visit-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 251, 245, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 1000;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li a {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .nav-phone {
        margin-left: 0;
        margin-top: 8px;
    }

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

    .hero-visual {
        height: 400px;
    }

    .hero-image-grocery {
        left: -10px;
        width: 200px;
        bottom: 60px;
    }

    .hero-image-household {
        right: -10px;
        width: 180px;
        top: 30px;
    }

    .hero-card {
        display: none;
    }

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

    .about-experience-badge {
        right: 10px;
        bottom: -16px;
    }
}

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

    .hero-visual {
        height: 320px;
    }

    .hero-image-grocery {
        width: 150px;
        left: -5px;
        bottom: 40px;
    }

    .hero-image-household {
        width: 140px;
        right: -5px;
        top: 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .community-stats {
        flex-direction: column;
        gap: 20px;
    }

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