/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #FCFAF7;
    --color-bg-alt: #F5EFE6;
    --color-card: #FFFFFF;
    --color-gold: #D4AF37;
    --color-gold-dark: #B89322;
    --color-gold-light: #F4EEDF;
    --color-charcoal: #2C2A29;
    --color-muted: #7A746E;
    --color-border: #E8E2D9;
    
    /* Pastel Accents */
    --color-pastel-rose: #EBD9DB;
    --color-pastel-sage: #D9E2EC;
    
    /* Typography */
    --font-headings: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Layout Details */
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(44, 42, 41, 0.04);
    --shadow-md: 0 10px 25px rgba(44, 42, 41, 0.07);
    --shadow-lg: 0 20px 45px rgba(44, 42, 41, 0.12);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-charcoal);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 700px;
    margin: 0 auto;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 1rem auto 1.5rem;
    border-radius: var(--border-radius-full);
    position: relative;
}

.title-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-gold-dark);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title-divider-left {
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 1rem 0 1.5rem;
    border-radius: var(--border-radius-full);
    position: relative;
}

.title-divider-left::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--color-gold-dark);
    border-radius: 50%;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--color-gold-light);
    color: var(--color-gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--border-radius-full);
    margin-bottom: 0.8rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 3.5rem;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

.m-top-lg { margin-top: 3.5rem; }
.w-100 { width: 100%; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--border-radius-full);
    transition: var(--transition-smooth);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    color: #FFF;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--color-border);
    color: var(--color-charcoal);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-gold-dark);
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-text:hover i {
    transform: translateX(5px);
}

.btn-text i {
    transition: var(--transition-smooth);
}

.btn-gold-pulse {
    animation: goldPulse 2s infinite;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ==========================================================================
   STICKY HEADER & NAV
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 17, 16, 0.95); /* Elegant dark charcoal/black */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    transition: var(--transition-smooth);
}

@media (min-width: 1201px) {
    .main-header.scrolled .header-container {
        padding: 0.35rem 1.5rem;
    }
    .main-header.scrolled .logo-img {
        height: 60px;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
}

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

.logo-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold);
}

/* Menu items */
.nav-menu ul {
    display: flex;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 0.1rem;
    position: relative;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-gold);
    font-weight: 700;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.fb-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FAF7F2;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    white-space: nowrap;
}

.fb-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2.5px;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-full);
    transition: var(--transition-smooth);
}

/* Hamburger active animation */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   PAGE SECTIONS SETUP
   ========================================================================== */
.content-wrapper {
    margin-top: 110px; /* Sticky header offset */
}

.page-section {
    scroll-margin-top: 110px; /* Offset when target anchor is scrolled to */
}

.bg-alt-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   HOME PAGE (HERO & INTRO)
   ========================================================================== */
.hero-banner {
    position: relative;
    padding: 8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-bg-alt);
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(252, 250, 247, 0.75);
    z-index: 1;
}


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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--border-radius-full);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Home Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--color-card);
    padding: 1.8rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.feature-card:hover {
    transform: translateX(8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-gold-light);
    color: var(--color-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: var(--color-charcoal);
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.5;
}

/* Categories cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--color-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.category-image-wrapper {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.category-card:hover .category-image-wrapper img {
    transform: scale(1.05);
}

.category-image-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--color-gold-dark);
    position: relative;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    padding: 1rem;
    text-align: center;
    gap: 0.5rem;
}

.category-image-placeholder i {
    z-index: 2;
}

.category-image-placeholder .path-info {
    font-size: 0.75rem;
    font-family: monospace;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px dashed var(--color-border);
    color: var(--color-muted);
    z-index: 2;
}

.category-image-placeholder::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.03;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    z-index: 1;
}

.cat-occasions::after { content: '\f1fd'; }
.cat-quilling::after { content: '\f1c9'; }
.cat-boxes::after { content: '\f49e'; }
.cat-macrame::after { content: '\f54e'; }
.cat-engraving::after { content: '\f304'; }

.category-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-info h3 {
    font-size: 1.35rem;
    color: var(--color-charcoal);
    margin-bottom: 0.6rem;
}

.category-info p {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.category-info .btn {
    align-self: flex-start;
}

/* ==========================================================================
   ABOUT US SECTION ("O NAS")
   ========================================================================== */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.grid-two-cols-reverse {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

.about-visual {
    position: relative;
}

.workspace-visual-container {
    position: relative;
    z-index: 2;
}

.visual-accent-box {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-gold);
    border-radius: var(--border-radius-lg);
    z-index: 1;
}

.workspace-placeholder-img {
    position: relative;
    z-index: 2;
    height: 380px;
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    gap: 0.8rem;
    border: 1px dashed var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    text-align: center;
}

.workspace-placeholder-img i {
    font-size: 3rem;
    color: var(--color-gold);
}

.path-info {
    font-family: monospace;
    font-size: 0.8rem;
    background-color: rgba(44, 42, 41, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: var(--color-charcoal);
    border: 1px solid var(--color-border);
}

/* ==========================================================================
   OCCASIONS SECTION (SUBCATEGORIES & TABS)
   ========================================================================== */
.subcategory-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
    padding: 0.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-full);
    border: 1px solid var(--color-border);
}

.tab-btn {
    padding: 0.7rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
    border-radius: var(--border-radius-full);
}

.tab-btn:hover {
    color: var(--color-charcoal);
    background-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInTab 0.5s ease forwards;
}

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

.subcategory-info-box {
    background-color: var(--color-card);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    margin-bottom: 2.5rem;
}

.subcategory-info-box h3 {
    font-size: 1.4rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.subcategory-info-box p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   QUILLING & WOOD BOXES & MACRAME DESIGN DETAILS
   ========================================================================== */
.quilling-text p,
.macrame-text p,
.boxes-text p {
    color: var(--color-muted);
    margin-bottom: 1.2rem;
}

.quilling-info-card {
    position: relative;
    background-color: var(--color-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    align-self: center;
}

.card-border-gold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-pastel-rose) 0%, var(--color-gold) 50%, var(--color-pastel-sage) 100%);
}

.quilling-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.quilling-card-content p {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

/* Wood boxes list details */
.boxes-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wood-visual-badge {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-charcoal);
}

.wood-visual-badge i {
    font-size: 1.8rem;
    color: var(--color-gold-dark);
}

.boxes-description-card {
    background-color: var(--color-card);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.boxes-description-card h3 {
    margin-bottom: 1rem;
}

.styled-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.styled-list li {
    font-size: 0.95rem;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.styled-list i {
    color: var(--color-gold);
}

/* Macrame Visual details */
.macrame-visual-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.macrame-quote-box {
    background-color: var(--color-gold-light);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    position: relative;
    text-align: center;
}

.macrame-quote-box i {
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.25);
    position: absolute;
    top: 15px;
    left: 20px;
}

.macrame-quote-box p {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-charcoal);
    position: relative;
    z-index: 2;
}

.macrame-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    background-color: var(--color-card);
    padding: 1.2rem 0.8rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.spec-item i {
    font-size: 1.6rem;
    color: var(--color-gold-dark);
}

.spec-item span {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   ENGRAVINGS STYLE
   ========================================================================== */
.engraving-feature-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background-color: var(--color-card);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.engraving-desc-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.engraving-desc-box p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.engraving-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.engraving-list li {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.engraving-list i {
    font-size: 0.8rem;
    color: var(--color-gold);
}

.helper-text {
    font-size: 0.85rem;
    background-color: var(--color-bg-alt);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-muted);
}

.helper-text i {
    font-size: 1.1rem;
    color: var(--color-gold-dark);
}

.engraving-sample-card {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--color-charcoal) 0%, #1e1d1c 100%);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-md);
}

.engraving-sample-card::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    top: -50%;
    left: -50%;
}

.sample-content {
    position: relative;
    z-index: 2;
    color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sample-content h3 {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.sample-content p {
    font-size: 0.85rem;
    color: #bfbab5;
    line-height: 1.6;
}

/* ==========================================================================
   DYNAMIC MASONRY / GRID LAYOUT
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Masonry columns replaced with a clean 3-column horizontal grid */
.masonry-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.gallery-item {
    display: block;
    width: 100%;
    background-color: var(--color-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    cursor: zoom-in;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.gallery-img-container {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

.gallery-img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-img-container img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 42, 41, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    transform: scale(0.7);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ==========================================================================
   GALLERY CAROUSEL LAYOUT
   ========================================================================== */
.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 2rem auto;
    gap: 1.25rem;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: var(--border-radius-md);
    padding: 0.5rem 0.2rem; /* small padding so active transforms aren't clipped */
}

/* Override grid styling for the gallery-grid inside a carousel */
.carousel-viewport .gallery-grid.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 1.5rem;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.carousel-viewport .gallery-grid.carousel-track .gallery-item {
    flex: 0 0 calc(33.333% - 1rem); /* 3 items per screen */
    width: auto;
    box-sizing: border-box;
}

/* Responsive sizes for carousel items */
@media (max-width: 992px) {
    .carousel-viewport .gallery-grid.carousel-track .gallery-item {
        flex: 0 0 calc(50% - 0.75rem); /* 2 items per screen */
    }
}

@media (max-width: 576px) {
    .carousel-viewport .gallery-grid.carousel-track .gallery-item {
        flex: 0 0 100%; /* 1 item per screen */
    }
}

/* Carousel navigation arrows */
.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-card);
    color: var(--color-charcoal);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
    transform: scale(1.08);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: var(--color-bg-alt);
    color: var(--color-muted);
    border-color: var(--color-border);
    transform: none;
    box-shadow: none;
}

/* Elegant empty broken image layout */
.broken-image {
    min-height: 220px;
    background-color: var(--color-bg-alt);
    border: 1px dashed var(--color-gold);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    cursor: zoom-in;
}

.broken-image:hover {
    border-color: var(--color-gold-dark);
    background-color: var(--color-gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.image-placeholder-inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-muted);
}

.image-placeholder-inside i {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 0.2rem;
}

.placeholder-path {
    font-family: monospace;
    font-size: 0.8rem;
    background-color: rgba(44, 42, 41, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    word-break: break-all;
    border: 1px solid var(--color-border);
}

.placeholder-action {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
}

/* ==========================================================================
   LIGHTBOX / ZOOM MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(44, 42, 41, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #FFF;
    font-size: 2.2rem;
    z-index: 2002;
    opacity: 0.7;
}

.lightbox-close:hover {
    opacity: 1;
    color: var(--color-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #FFF;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 2002;
    opacity: 0.7;
}

.lightbox-nav:hover {
    opacity: 1;
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    border-color: var(--color-gold);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2001;
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-img-container {
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background-color: #000;
}

.lightbox-img-container img {
    max-height: 75vh;
    max-width: 80vw;
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--color-gold-light);
    margin-top: 1.5rem;
    font-size: 1.05rem;
    font-family: var(--font-headings);
    letter-spacing: 0.02em;
    text-align: center;
}

.lightbox-placeholder-card {
    width: 400px;
    max-width: 90vw;
    background-color: var(--color-bg);
    color: var(--color-charcoal);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    text-align: center;
    gap: 1rem;
    border: 2px dashed var(--color-gold);
    box-shadow: var(--shadow-lg);
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-placeholder-card i {
    font-size: 3.5rem;
    color: var(--color-gold);
}

.lightbox-placeholder-card h4 {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.lightbox-placeholder-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.lightbox-placeholder-card .path-box {
    font-family: monospace;
    font-size: 0.8rem;
    background-color: var(--color-bg-alt);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    word-break: break-all;
    color: var(--color-charcoal);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: var(--color-charcoal);
    color: #FAF7F2;
    border-top: 5px solid var(--color-gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #FFF;
    font-size: 1.3rem;
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: #C0B9B0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FAF7F2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-socials a:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.15rem;
    color: #FFF;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.footer-links a {
    color: #C0B9B0;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #C0B9B0;
}

.contact-info i {
    color: var(--color-gold);
    font-size: 1rem;
    margin-top: 0.2rem;
}



.footer-bottom {
    background-color: #1E1D1C;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1.5rem;
    font-size: 0.8rem;
    color: #8C867F;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1250px) {
    /* Collapse Facebook button text early to save horizontal header space */
    .fb-btn span {
        display: none;
    }
    .fb-btn {
        padding: 0.7rem;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        justify-content: center;
    }
}

@media (min-width: 1201px) and (max-width: 1350px) {
    .nav-menu ul {
        gap: 0.75rem;
    }
    .nav-link {
        font-size: 0.7rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0.5rem 1.5rem !important; /* Fixed padding on mobile */
    }
    .logo-img {
        height: 70px !important; /* Fixed logo height on mobile */
    }
    .content-wrapper {
        margin-top: 86px;
    }
    .page-section {
        scroll-margin-top: 86px;
    }

    /* Header collapses into mobile hamburger menu drawer */
    .nav-menu {
        position: fixed;
        top: 86px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 86px);
        background-color: #121110;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2.5rem 1.5rem;
        z-index: 999;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }
    
    .footer-container > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 15px;
    }
    
    .grid-two-cols,
    .grid-two-cols-reverse,
    .intro-grid,
    .engraving-feature-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .grid-two-cols-reverse > :first-child {
        order: 2;
    }
    
    .gallery-grid,
    .masonry-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
    .gallery-grid,
    .masonry-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding-top: 3.5rem;
    }
    
    .macrame-specs {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        padding: 0.5rem 1rem !important;
    }
}

/* ==========================================================================
   SUBPAGES BACKGROUND STYLING
   ========================================================================== */
body.subpage-body {
    background-image: linear-gradient(rgba(252, 250, 247, 0.82), rgba(252, 250, 247, 0.82)), url('images/banner.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}
