/* ============================================
   TEMPTATIONS CHOCOLATE FACTORY
   Clean Minimalist · Burgundy + Blush
   ============================================ */

/* ---- Custom Properties ---- */
:root {
    --color-burgundy: #6B1D2A;
    --color-burgundy-deep: #4A1220;
    --color-burgundy-light: #8B2E3F;
    --color-blush: #F5E6E0;
    --color-blush-light: #FBF5F2;
    --color-blush-mid: #E8D5CD;
    --color-cream: #FDF8F6;
    --color-chocolate: #2C1810;
    --color-text: #1A1A1A;
    --color-text-muted: #6B6560;
    --color-text-light: #9B9590;
    --color-white: #FFFFFF;
    --color-border: rgba(107, 29, 42, 0.12);
    --color-border-light: rgba(107, 29, 42, 0.06);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --container-max: 1280px;
    --container-narrow: 800px;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--color-burgundy-light);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-burgundy);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 400;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

/* ---- Top Accent Line ---- */
.top-accent-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-burgundy), transparent);
}

.bottom-accent-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-burgundy), transparent);
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(107, 29, 42, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-chocolate);
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-burgundy);
    line-height: 1;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-burgundy);
    border-radius: 50%;
    flex-shrink: 0;
}

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

.logo-primary {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.logo-secondary {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ---- Navigation ---- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--color-chocolate);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-burgundy);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--color-burgundy);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        background: var(--color-cream);
        border-left: 1px solid var(--color-border);
        padding: var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        z-index: 105;
    }
    
    .nav-menu.is-open {
        transform: translateX(0);
    }
    
    .nav-menu a {
        font-size: 0.875rem;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 26, 26, 0.3);
        z-index: 104;
    }
    
    .nav-overlay.is-visible {
        display: block;
    }
}

/* ---- Eyebrow ---- */
.eyebrow {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-burgundy-deep);
    border-color: var(--color-burgundy-deep);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(107, 29, 42, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--color-chocolate);
    border-color: var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-burgundy);
    color: var(--color-burgundy);
}

.btn-full {
    width: 100%;
}

/* ---- Hero ---- */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(245, 230, 224, 0.5) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-chocolate);
    margin-bottom: var(--space-lg);
    max-width: 540px;
}

.hero-headline em {
    font-style: italic;
    color: var(--color-burgundy);
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 440px;
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

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

.hero-img {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.12);
}

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

.hero-img:hover img {
    transform: scale(1.02);
}

.hero-img--primary {
    width: 360px;
    height: 480px;
    top: 0;
    right: 0;
    z-index: 2;
}

.hero-img--secondary {
    width: 260px;
    height: 195px;
    bottom: 40px;
    left: 0;
    z-index: 3;
    border: 4px solid var(--color-cream);
}

.hero-accent-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--color-burgundy);
    border-radius: 50%;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 4;
    opacity: 0.6;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-light);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-burgundy), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

@media (max-width: 1024px) {
    .hero-visual {
        height: 450px;
    }
    
    .hero-img--primary {
        width: 280px;
        height: 380px;
    }
    
    .hero-img--secondary {
        width: 200px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0 var(--space-xl);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-visual {
        height: 350px;
        order: -1;
    }
    
    .hero-img--primary {
        width: 200px;
        height: 270px;
        right: 10%;
    }
    
    .hero-img--secondary {
        width: 150px;
        height: 112px;
        bottom: 20px;
        left: 5%;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 280px;
    }
    
    .hero-img--primary {
        width: 160px;
        height: 220px;
    }
    
    .hero-img--secondary {
        width: 120px;
        height: 90px;
    }
}

/* ---- Section Divider ---- */
.section-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.divider-dot {
    width: 5px;
    height: 5px;
    background: var(--color-burgundy);
    border-radius: 50%;
    opacity: 0.5;
    flex-shrink: 0;
}

/* ---- The Craft ---- */
.craft {
    padding: var(--space-3xl) 0;
}

.craft-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.craft-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-chocolate);
    margin-bottom: var(--space-xl);
}

.craft-heading em {
    font-style: italic;
    color: var(--color-burgundy);
}

.craft-text p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
}

.craft-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-light);
}

.stat {
    flex: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-burgundy);
    line-height: 1;
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.stat-divider {
    width: 1px;
    background: var(--color-border);
    align-self: stretch;
}

.craft-image {
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.1);
}

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

.craft-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .craft-layout {
        grid-template-columns: 1fr;
    }
    
    .craft-image {
        order: -1;
    }
    
    .craft-image img {
        height: 300px;
    }
}

/* ---- Signature ---- */
.signature {
    padding: var(--space-3xl) 0;
    background: var(--color-blush-light);
}

.signature-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.signature-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 300;
    color: var(--color-chocolate);
    margin-bottom: var(--space-md);
}

.signature-heading em {
    font-style: italic;
    color: var(--color-burgundy);
}

.signature-intro {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.signature-card {
    background: var(--color-white);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.signature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(44, 24, 16, 0.1);
}

.signature-card-img {
    overflow: hidden;
    aspect-ratio: 5 / 4;
}

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

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

.signature-card-content {
    padding: var(--space-lg);
}

.signature-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-chocolate);
    margin-bottom: var(--space-sm);
}

.signature-card-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

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

@media (max-width: 600px) {
    .signature-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ---- Visit ---- */
.visit {
    padding: var(--space-3xl) 0;
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.visit-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-chocolate);
    margin-bottom: var(--space-xl);
}

.visit-heading em {
    font-style: italic;
    color: var(--color-burgundy);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.visit-detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.detail-icon {
    color: var(--color-burgundy);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
}

.detail-value a {
    color: var(--color-burgundy);
}

.visit-image {
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 24, 16, 0.1);
    aspect-ratio: 2 / 3;
}

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

.visit-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .visit-layout {
        grid-template-columns: 1fr;
    }
    
    .visit-image {
        order: -1;
        aspect-ratio: 4 / 3;
    }
}

/* ---- Contact ---- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-blush-light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-chocolate);
    margin-bottom: var(--space-md);
}

.contact-heading em {
    font-style: italic;
    color: var(--color-burgundy);
}

.contact-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.contact-direct {
    padding: var(--space-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
}

.contact-direct p {
    font-size: 0.9375rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.contact-direct p:last-child {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.contact-direct a {
    color: var(--color-burgundy);
    font-weight: 400;
}

/* Form */
.contact-form {
    background: var(--color-white);
    padding: var(--space-xl);
    border: 1px solid var(--color-border-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    outline: none;
    transition: border-color var(--transition-fast);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-burgundy);
}

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

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

.form-success {
    text-align: center;
    padding: var(--space-xl);
}

.success-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid var(--color-burgundy);
    border-radius: 50%;
    color: var(--color-burgundy);
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.form-success p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ---- Footer ---- */
.site-footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.logo--footer {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    list-style: none;
}

.footer-nav a {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-burgundy);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border-light);
}

.footer-copy,
.footer-address {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* ---- Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Focus styles ---- */
*:focus-visible {
    outline: 2px solid var(--color-burgundy);
    outline-offset: 2px;
}

/* ---- Selection ---- */
::selection {
    background: var(--color-blush-mid);
    color: var(--color-burgundy-deep);
}
