/* ========================================
   Mafia Street Vapor Company — Styles
   Terracotta + Sand | Fresh & Airy
   ======================================== */

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

:root {
    /* Terracotta + Sand Palette */
    --terracotta: #C06C4A;
    --terracotta-dark: #A8553A;
    --terracotta-light: #D4916F;
    --sand: #F5E6D3;
    --sand-light: #FBF5EE;
    --sand-lighter: #FDF9F4;
    --sand-warm: #EDE0D0;
    --cream: #FFFDF8;
    --charcoal: #3D2B1F;
    --charcoal-light: #5C4033;
    --text-primary: #2C1810;
    --text-secondary: #6B4F42;
    --text-muted: #9B8075;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(61, 43, 31, 0.06), 0 1px 2px rgba(61, 43, 31, 0.04);
    --shadow-md: 0 4px 16px rgba(61, 43, 31, 0.08), 0 2px 4px rgba(61, 43, 31, 0.04);
    --shadow-lg: 0 12px 40px rgba(61, 43, 31, 0.1), 0 4px 12px rgba(61, 43, 31, 0.05);
    --shadow-xl: 0 24px 60px rgba(61, 43, 31, 0.12);
    --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);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terracotta);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
    transition: top var(--transition);
}

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

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: linear-gradient(135deg, rgba(192, 108, 74, 0.1), rgba(192, 108, 74, 0.05));
    border: 1px solid rgba(192, 108, 74, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

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

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

.accent-text {
    color: var(--terracotta);
    font-style: italic;
}

.center {
    text-align: center;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(192, 108, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 108, 74, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--terracotta);
    border: 1.5px solid rgba(192, 108, 74, 0.3);
}

.btn-secondary:hover {
    background: var(--sand-light);
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 249, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 108, 74, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(253, 249, 244, 0.95);
    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: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.logo-mark {
    color: var(--terracotta);
    flex-shrink: 0;
}

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

/* ---------- Nav ---------- */
.primary-nav {
    display: none;
}

.primary-nav.active {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(253, 249, 244, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 108, 74, 0.08);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.primary-nav a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.primary-nav a:hover {
    color: var(--terracotta);
    background: rgba(192, 108, 74, 0.06);
}

.nav-cta {
    margin-top: 8px;
    text-align: center;
}

/* ---------- Hamburger ---------- */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1.5px solid rgba(192, 108, 74, 0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.nav-toggle:hover {
    border-color: var(--terracotta);
    background: rgba(192, 108, 74, 0.05);
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--terracotta);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--terracotta);
    transition: all var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 108, 74, 0.2), transparent 70%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 168, 124, 0.25), transparent 70%);
    bottom: -100px;
    left: -100px;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 230, 211, 0.6), transparent 70%);
    top: 40%;
    left: 45%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--terracotta);
    background: var(--white);
    border: 1px solid rgba(192, 108, 74, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.hero-title .accent-text {
    display: block;
    font-size: 0.85em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-visual {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 500 / 620;
}

.hero-image-accent {
    position: absolute;
    inset: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(192, 108, 74, 0.06);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terracotta);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 4px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    color: var(--sand-lighter);
}

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

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

.section-alt {
    background: var(--sand-lighter);
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 480 / 560;
}

.about-img-float {
    position: absolute;
    bottom: -32px;
    right: -16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream);
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 320 / 240;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -16px;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-experience-badge .exp-text {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

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

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

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.about-features svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ---------- Products ---------- */
.products .section-header {
    margin-bottom: 56px;
}

.products .section-subtitle {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(192, 108, 74, 0.06);
    transition: all var(--transition);
}

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

.product-img-wrap {
    position: relative;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 400 / 300;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* ---------- Why Us ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

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

.why-content .section-subtitle {
    margin-bottom: 0;
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.why-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(192, 108, 74, 0.06);
    transition: all var(--transition);
}

.why-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 108, 74, 0.15);
}

.why-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(192, 108, 74, 0.1), rgba(192, 108, 74, 0.05));
    border-radius: var(--radius-md);
    color: var(--terracotta);
}

.why-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* ---------- Visit ---------- */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

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

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

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(192, 108, 74, 0.06);
    transition: all var(--transition);
}

.contact-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 108, 74, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    border-radius: var(--radius-sm);
    color: var(--white);
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.contact-arrow {
    color: var(--terracotta);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--transition);
}

.contact-card:hover .contact-arrow {
    opacity: 1;
    transform: translateX(0);
}

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

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

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

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

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

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sand);
    margin-bottom: 16px;
}

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

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 253, 248, 0.6);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-contact svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 253, 248, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

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

.age-note {
    font-size: 0.8rem !important;
    color: rgba(255, 253, 248, 0.3) !important;
}

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

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

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
    .primary-nav {
        display: block;
        position: static;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 0;
        box-shadow: none;
        animation: none;
    }

    .primary-nav ul {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

    .primary-nav a {
        padding: 8px 14px;
    }

    .nav-cta {
        margin-top: 0;
    }

    .nav-toggle {
        display: none;
    }

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

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

    .why-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .why-cards {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-card {
        padding: 12px 8px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .section {
        padding: 72px 0;
    }

    .about-img-float {
        right: 0;
        bottom: -24px;
    }

    .about-experience-badge {
        left: 0;
        top: -16px;
    }

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

    .contact-card {
        padding: 16px;
    }

    .map-placeholder iframe {
        height: 300px;
    }
}

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

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

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

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

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