/*
Theme Name: Bistro Boards
Theme URI: https://bistroboardsbysusan.com
Author: Custom Theme
Author URI: https://bistroboardsbysusan.com
Description: Custom WordPress theme for Bistro Boards Charcuterie - handcrafted from original HTML/CSS/JS
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bistro-boards
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4

This theme was converted from a custom HTML/CSS/JS website.
All original animations, styles, and functionality preserved.
*/

/* 
   BISTRO BOARDS WEBSITE - BASE STYLES
   Main Design System & Global Styles
*/

:root {
    /* Color Palette */
    --primary-color: #B8501E;
    /* Burnt Sienna */
    --secondary-color: #E67E22;
    /* Carrot Orange */
    --accent-color: #F39C12;
    /* Golden Orange */
    --light-accent: #FFE4C4;
    /* Bisque */
    --bg-color: #FFF5E6;
    /* Warm Cream */
    --text-color: #4A2C2A;
    /* Deep Warm Brown */
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(184, 80, 30, 0.15);

    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Defaults */
h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    transition: 0.4s;
    z-index: 1000;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: 0.3s;
}

header.scrolled .logo-img {
    height: 70px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header.scrolled nav ul li a {
    color: var(--text-color);
    text-shadow: none;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Cart Icon */
.cart-wrapper {
    position: relative;
    margin-left: 20px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

header.scrolled .cart-icon {
    color: var(--text-color);
    text-shadow: none;
}

.cart-icon:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.cart-icon i {
    font-size: 24px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: cartPulse 0.3s ease;
}

@keyframes cartPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Mini Cart Dropdown */
.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 380px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.cart-wrapper:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow pointer at top */
.mini-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 15px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.mini-cart-header {
    padding: 20px;
    border-bottom: 2px solid var(--light-accent);
    background: linear-gradient(135deg, var(--bg-color), white);
    border-radius: 12px 12px 0 0;
}

.mini-cart-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.mini-cart-items {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    flex: 1;
}

.mini-cart-items::-webkit-scrollbar {
    width: 6px;
}

.mini-cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.mini-cart-items::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.mini-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.mini-cart-item:hover {
    background: var(--bg-color);
    border-radius: 8px;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--light-accent);
}

.mini-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cart-item-details {
    flex: 1;
}

.mini-cart-item-details h5 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: var(--text-color);
}

.mini-cart-item-price {
    margin: 0;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.mini-cart-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee;
    color: #c33;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mini-cart-remove:hover {
    background: #c33;
    color: white;
    transform: rotate(90deg);
}

.mini-cart-footer {
    padding: 20px;
    border-top: 2px solid var(--light-accent);
    background: var(--bg-color);
    border-radius: 0 0 12px 12px;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mini-cart-total strong {
    color: var(--text-color);
}

.mini-cart-total span {
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--heading-font);
}

.mini-cart-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mini-cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.mini-cart-empty p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(184, 80, 30, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
    /* Golden glow */
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    /* Important for scaling bg */
}

/* Background Image Container for Zoom Effect */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/header-charcuterie.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: heroZoom 20s infinite alternate ease-in-out;
}

/* Subtle Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    /* Above particles and overlay */
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

/* About Section */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Our Boards */
#boards {
    background-color: rgba(255, 228, 196, 0.3);
    /* Soft peach tint */
}

#boards h2 {
    text-align: center;
    margin-bottom: 50px;
}

.boards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.board-card {
    background: linear-gradient(to bottom right, var(--white), #FFF0E0);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(184, 80, 30, 0.1);
}

.board-card:hover {
    transform: translateY(-10px);
}

.board-card img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.board-card-content {
    padding: 25px;
    text-align: center;
}

.board-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo {
    height: 150px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) rotate(360deg);
}

.social-icons i {
    font-size: 20px;
    color: white;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* 
   BISTRO BOARDS WEBSITE - PRICING STYLES
*/

/* Pricing Grid Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Pricing Card Base */
.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(184, 80, 30, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
    text-align: center;
    overflow: hidden;
}

/* Hover Effects */
.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(184, 80, 30, 0.3);
    border-color: var(--accent-color);
}

.pricing-card:hover .price {
    transform: scale(1.1);
}

.pricing-card:hover .btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-5px);
}

/* Internal Elements */
.pricing-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.pricing-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.price {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    color: var(--text-color);
}

.features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.features li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Most Popular Badge (Ribbon Style) */
.popular-badge {
    position: absolute;
    top: 25px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 35px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    background: linear-gradient(to bottom, #FFF, #FFF5E6);
}

/* 
   GALLERY ENHANCEMENTS
*/
#gallery {
    background: linear-gradient(180deg, #FFF5E6 0%, #FFE4C4 100%);
}

.instagram-header {
    text-align: center;
    margin-bottom: 50px;
}

.instagram-logo {
    font-size: 60px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 auto 20px;
    display: block;
    animation: pulse 2s infinite;
}

.widget-frame-container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #F39C12;
    position: relative;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.widget-frame-container::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.widget-frame-container:hover::before {
    opacity: 1;
}

/* 
   CONTACT FORM ENHANCEMENTS 
*/
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.3);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

/* Page Loader Spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* About Logo Styles */
.about-logo {
    transition: transform 0.3s ease;
}

.about-logo:hover {
    transform: scale(1.05);
}