/*
Theme Name: O'fumoir
Description: Elegant theme for O'fumoir - where creativity meets flavor. Features portfolio showcase and gourmet recipes with French-inspired design.
Author: Your Name
Version: 1.0
Text Domain: ofumoir
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Brand Colors */
:root {
    --brand-red: #d30000;
    --brand-black: #1a1a1a;
    --warm-beige: #f5f3f0;
    --marble-white: #faf9f7;
    --warm-grey: #6b6b6b;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--marble-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-black);
    text-decoration: none;
}

.logo-symbol {
    color: var(--brand-red);
    margin-right: 0.5rem;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--brand-black);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--brand-red);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(211,0,0,0.1) 0%, rgba(26,26,26,0.3) 100%),
                url('images/hero-bg.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,26,26,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-red);
    color: white;
}

.btn-primary:hover {
    background: #b50000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--brand-black);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-red);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-item-content {
    padding: 1.5rem;
    background: white;
}

/* Recipe Cards */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recipe-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-8px);
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-card-content {
    padding: 1.5rem;
}

.recipe-meta {
    color: var(--warm-grey);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Personal Introduction */
.intro-section {
    background: var(--warm-beige);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.intro-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Newsletter */
.newsletter-section {
    background: var(--brand-black);
    color: white;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background: var(--brand-black);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--brand-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-red { color: var(--brand-red); }
.bg-marble { background: var(--marble-white); }
.bg-beige { background: var(--warm-beige); }

/* ==========================================================================
   BREADCRUMBS CSS - O'fumoir Theme
   ========================================================================== */
/* ==========================================================================
   BREADCRUMBS CSS - O'fumoir Theme
   ========================================================================== */

/* Main breadcrumb container */
.breadcrumbs {
    background: var(--marble-white, #faf9f7);
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Container wrapper for centering */
.breadcrumbs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb list styling */
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* Individual breadcrumb items */
.breadcrumbs li {
    display: flex;
    align-items: center;
    line-height: 1;
}

/* Separator between breadcrumb items */
.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: var(--warm-grey, #6b6b6b);
    font-weight: bold;
    font-size: 1.1em;
    opacity: 0.7;
}

/* Alternative separators - uncomment to use */
/* 
.breadcrumbs li:not(:last-child)::after {
    content: '/';
    content: '→';
    content: '▶';
    content: '»';
}
*/

/* Breadcrumb links */
.breadcrumbs a {
    color: var(--brand-red, #d30000);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
}

/* Breadcrumb link hover effects */
.breadcrumbs a:hover {
    color: var(--brand-black, #1a1a1a);
    background: rgba(211, 0, 0, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Breadcrumb link focus states (accessibility) */
.breadcrumbs a:focus {
    outline: 2px solid var(--brand-red, #d30000);
    outline-offset: 2px;
    background: rgba(211, 0, 0, 0.1);
}

/* Current page (last breadcrumb) */
.breadcrumbs li:last-child span {
    color: var(--warm-grey, #6b6b6b);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

/* Breadcrumb icons (optional) */
.breadcrumbs .breadcrumb-icon {
    margin-right: 0.25rem;
    font-size: 0.8em;
    opacity: 0.8;
}

/* Home icon specifically */
.breadcrumbs .home-icon {
    color: var(--brand-red, #d30000);
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0.75rem 0;
        margin-bottom: 1.5rem;
    }
    
    .breadcrumbs .container {
        padding: 0 15px;
    }
    
    .breadcrumbs ol {
        font-size: 0.85rem;
        gap: 0.25rem;
    }
    
    .breadcrumbs li:not(:last-child)::after {
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }
    
    .breadcrumbs a,
    .breadcrumbs li:last-child span {
        padding: 0.2rem 0.3rem;
    }
    
    /* Stack breadcrumbs on very small screens if needed */
    @media (max-width: 480px) {
        .breadcrumbs ol {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
        
        .breadcrumbs li:not(:last-child)::after {
            display: none;
        }
        
        .breadcrumbs li {
            position: relative;
            padding-left: 1rem;
        }
        
        .breadcrumbs li:not(:first-child)::before {
            content: '↳';
            position: absolute;
            left: 0;
            color: var(--brand-red, #d30000);
        }
    }
}

/* Print styles */
@media print {
    .breadcrumbs {
        background: none;
        border-bottom: 1px solid #ccc;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    .breadcrumbs a {
        color: #000;
        text-decoration: none;
    }
    
    .breadcrumbs li:not(:last-child)::after {
        color: #666;
    }
}

/* Dark mode support (if you add dark mode later) */
@media (prefers-color-scheme: dark) {
    .breadcrumbs {
        background: rgba(255, 255, 255, 0.05);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .breadcrumbs a {
        color: #ff6b6b;
    }
    
    .breadcrumbs a:hover {
        background: rgba(255, 107, 107, 0.1);
        color: #fff;
    }
    
    .breadcrumbs li:last-child span {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .breadcrumbs li:not(:last-child)::after {
        color: rgba(255, 255, 255, 0.5);
    }
}

/* Animation on page load */
.breadcrumbs {
    animation: breadcrumbFadeIn 0.5s ease-in-out;
}

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

/* Breadcrumbs with background styling (alternative style) */
.breadcrumbs-alt {
    background: linear-gradient(135deg, var(--warm-beige, #f5f3f0) 0%, var(--marble-white, #faf9f7) 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Breadcrumbs with rounded style (alternative) */
.breadcrumbs-rounded {
    background: var(--marble-white, #faf9f7);
    border-radius: 8px;
    margin: 1rem auto 2rem;
    max-width: 1200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumbs-rounded .container {
    padding: 1rem 1.5rem;
}

/* Schema.org structured data - invisible but important for SEO */
.breadcrumbs [itemprop],
.breadcrumbs [itemscope],
.breadcrumbs [itemtype] {
    /* These attributes are for SEO, no visual styling needed */
}

/* Loading state (optional) */
.breadcrumbs.loading {
    opacity: 0.6;
    pointer-events: none;
}

.breadcrumbs.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}