/* ========================================
   Double S/S Tack Shop — Styles
   Burgundy + Blush | Fresh & Airy
======================================== */

/* --- CSS Custom Properties --- */
:root {
    --burgundy-900: #4A0E1C;
    --burgundy-800: #5C152A;
    --burgundy-700: #6B1D34;
    --burgundy-600: #7D2740;
    --burgundy-500: #8B2F4A;
    --burgundy-400: #A33D5A;
    --burgundy-300: #B85570;
    --burgundy-200: #D4809A;
    --burgundy-100: #EAB8C4;
    --burgundy-50:  #F5DDE3;

    --blush-50:  #FFF5F7;
    --blush-100: #FFECF0;
    --blush-200: #FFD6DF;
    --blush-300: #FFB0C8;
    --blush-400: #FF80A8;
    --blush-500: #FF5C8A;

    --cream: #FFFBFC;
    --warm-white: #FFF9F9;
    --sand: #FAF0EE;
    --sand-light: #FDF6F5;

    --text-dark: #2D0A12;
    --text-body: #4A1520;
    --text-muted: #7A3040;
    --text-light: #9E5060;

    --white: #FFFFFF;
    --off-white: #FFFDFD;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 3px rgba(74, 14, 28, 0.06), 0 1px 2px rgba(74, 14, 28, 0.04);
    --shadow-md: 0 4px 16px rgba(74, 14, 28, 0.08), 0 2px 4px rgba(74, 14, 28, 0.04);
    --shadow-lg: 0 12px 40px rgba(74, 14, 28, 0.12), 0 4px 12px rgba(74, 14, 28, 0.06);
    --shadow-xl: 0 24px 60px rgba(74, 14, 28, 0.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

.accent {
    color: var(--burgundy-600);
    font-style: italic;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

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

.btn-primary {
    background: var(--burgundy-600);
    color: var(--white);
    border-color: var(--burgundy-600);
}

.btn-primary:hover {
    background: var(--burgundy-700);
    border-color: var(--burgundy-700);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--burgundy-700);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--blush-100);
    border-color: var(--blush-100);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy-700);
    border-color: var(--burgundy-300);
}

.btn-outline:hover {
    background: var(--burgundy-50);
    border-color: var(--burgundy-600);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 252, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 47, 74, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 251, 252, 0.97);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--burgundy-700);
}

.logo-icon {
    color: var(--burgundy-500);
}

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

.main-nav a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy-400);
    border-radius: 2px;
    transition: width var(--transition);
}

.main-nav a:not(.btn):hover {
    color: var(--burgundy-700);
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--burgundy-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 14, 28, 0.82) 0%,
        rgba(107, 29, 52, 0.72) 50%,
        rgba(139, 47, 74, 0.60) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: 76px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.hero-title .accent {
    color: var(--blush-200);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 560px;
}

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

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--burgundy-700);
    border-color: var(--white);
}

.hero-actions .btn-primary:hover {
    background: var(--blush-100);
    border-color: var(--blush-100);
}

.hero-actions .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy-400);
    margin-bottom: 12px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- About --- */
.about {
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--burgundy-50);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .lead {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--burgundy-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
}

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

.feature-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Products --- */
.products {
    background: var(--sand-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

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

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

.product-image {
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.products-cta {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.products-cta p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.products-cta a {
    color: var(--burgundy-600);
    font-weight: 700;
    border-bottom: 2px solid var(--burgundy-200);
    transition: border-color var(--transition);
}

.products-cta a:hover {
    border-color: var(--burgundy-600);
}

/* --- Services --- */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--sand-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--burgundy-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--burgundy-50) 0%, var(--blush-100) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-600);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--burgundy-600);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    background: linear-gradient(135deg, var(--burgundy-900) 0%, var(--burgundy-700) 100%);
    color: var(--white);
}

.visit .section-tag {
    color: var(--blush-200);
}

.visit .section-title {
    color: var(--white);
}

.visit .section-title .accent {
    color: var(--blush-200);
}

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

.visit-info .visit-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

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

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blush-200);
}

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--blush-200);
}

.contact-item a:hover {
    color: var(--white);
}

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

.visit-actions .btn-primary {
    background: var(--white);
    color: var(--burgundy-700);
    border-color: var(--white);
}

.visit-actions .btn-primary:hover {
    background: var(--blush-100);
    border-color: var(--blush-100);
}

.visit-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.visit-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 420px;
}

/* --- Footer --- */
.site-footer {
    background: var(--burgundy-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    color: var(--blush-200);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--blush-200);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        transform: translateY(30px);
    }
    .reveal-left {
        transform: translateX(-30px);
    }
    .reveal-right {
        transform: translateX(30px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav a:not(.btn) {
        font-size: 1.1rem;
        color: var(--text-body);
    }

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

    .hero-content {
        padding-top: 100px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .visit-map {
        min-height: 300px;
    }

    .section {
        padding: 72px 0;
    }
}

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

    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 26px;
    }
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 10, 18, 0.5);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}
