/* ============================================
   ONE STOP WITCH SHOP — Premium Dark Luxury
   Plum + Amber Color Palette
   ============================================ */

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

:root {
    --plum-deep: #1a0a1e;
    --plum-dark: #2d1235;
    --plum-mid: #4a1f5c;
    --plum-light: #6b307c;
    --plum-soft: #8b4599;
    
    --amber-gold: #C8A96E;
    --amber-light: #e0c990;
    --amber-pale: #f5e6c4;
    --amber-dark: #a08040;
    
    --bg-primary: #0d0610;
    --bg-secondary: #150a1a;
    --bg-card: #1e0e24;
    --bg-elevated: #2a1238;
    
    --text-primary: #f5f0f7;
    --text-secondary: #c4b5ce;
    --text-muted: #8a7a94;
    
    --gold-gradient: linear-gradient(135deg, #C8A96E 0%, #e0c990 50%, #a08040 100%);
    --plum-gradient: linear-gradient(180deg, #1a0a1e 0%, #2d1235 100%);
    
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-gold: 0 0 40px rgba(200, 169, 110, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    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;
}

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

/* --- Grain Overlay --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(13, 6, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--amber-gold);
    letter-spacing: 0.05em;
}

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

.nav-menu a {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber-gold);
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    color: var(--amber-gold) !important;
    border: 1px solid rgba(200, 169, 110, 0.4) !important;
    padding: 8px 20px !important;
    border-radius: 100px !important;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: rgba(200, 169, 110, 0.1) !important;
    border-color: var(--amber-gold) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--amber-gold);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/8386663/pexels-photo-8386663.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    filter: brightness(0.3);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 6, 16, 0.95) 0%,
        rgba(26, 10, 30, 0.85) 40%,
        rgba(45, 18, 53, 0.7) 70%,
        rgba(26, 10, 30, 0.9) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    flex: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--amber-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 1px solid rgba(200, 169, 110, 0.25);
    border-radius: 100px;
    background: rgba(200, 169, 110, 0.06);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.text-gold {
    color: var(--amber-gold);
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--plum-deep);
    box-shadow: 0 4px 20px rgba(200, 169, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 169, 110, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(245, 240, 247, 0.25);
}

.btn-secondary:hover {
    border-color: var(--amber-gold);
    color: var(--amber-gold);
    background: rgba(200, 169, 110, 0.06);
}

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

/* Hero Image */
.hero-image {
    position: relative;
}

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

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.4; height: 24px; }
}

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* --- Section Shared --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
}

.centered {
    text-align: center;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200, 169, 110, 0.2), transparent);
}

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

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

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

.about-image-frame {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.about-stat {
    position: absolute;
    bottom: -24px;
    left: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--amber-gold);
    font-weight: 600;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.about-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- Products Section --- */
.products {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

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

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

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(200, 169, 110, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 169, 110, 0.25);
    box-shadow: var(--shadow-gold);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 6, 16, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-overlay span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--amber-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(200, 169, 110, 0.5);
    padding: 8px 20px;
    border-radius: 100px;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-info p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Visit Section --- */
.visit {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200, 169, 110, 0.2), transparent);
}

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

.visit-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(200, 169, 110, 0.05);
}

.visit-detail h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--amber-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.visit-detail p,
.visit-detail a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

.visit-detail a:hover {
    color: var(--amber-gold);
}

.visit-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 400px;
    border: 1px solid rgba(200, 169, 110, 0.15);
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text {
    padding-top: 10px;
}

.contact-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-top: 20px;
}

/* Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(200, 169, 110, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-gold);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid rgba(200, 169, 110, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    transition: border-color 0.3s ease;
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--amber-gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.1);
}

.form-group select {
    appearance: none;
    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='%23C8A96E' 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 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

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

/* Form Success */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.form-success p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(200, 169, 110, 0.1);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--amber-gold);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-gold);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p,
.footer-contact a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.footer-bottom {
    border-top: 1px solid rgba(200, 169, 110, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* --- Reveal Animation (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default visible state for no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 6, 16, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(200, 169, 110, 0.15);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        padding: 100px 24px 60px;
    }
    
    .hero-image img {
        height: 360px;
    }
    
    .hero-image-accent {
        top: -10px;
        right: -10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-stat {
        left: 20px;
        bottom: -16px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-badge {
        margin: 0 auto 20px;
    }
}
