:root {
    --primary-color: #a9744f;
    --secondary-color: #dbc1ac;
    --text-dark: #4b2e2e;
    --paper-bg: #fffdd0;
    --ink-black: #2c1e1e;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--paper-bg);
    background-image: url("https://www.transparenttextures.com/patterns/cream-paper.png");
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Respect people who've asked their OS to reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Consistent, visible keyboard focus in the brand color */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* --- Navbar --- */
nav.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.navbar .nav-link {
    color: var(--text-dark) !important;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 10px;
    position: relative;
}

    .navbar .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--primary-color);
        transition: width 0.3s;
    }

    .navbar .nav-link:hover::after {
        width: 100%;
    }

/* --- Hero Section with Custom Background --- */
.hero-section {
    background: linear-gradient(rgba(44, 30, 30, 0.4), rgba(44, 30, 30, 0.6)), url('../images/hero_banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

.hero-content {
    padding: 0 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 5.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
}

.typewriter {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    border-right: 2px solid rgba(255,255,255,0.75);
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    animation: typing 2.6s steps(32, end), blink-caret .75s step-end infinite;
    max-width: fit-content;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    border-radius: 4px;
}
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .typewriter {
        font-size: 1rem;
        white-space: normal;
        border: none;
        animation: none;
    }
}

/* --- About Section Icon Badge --- */
.quill-badge {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, var(--secondary-color) 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(75, 46, 46, 0.18);
    border: 6px solid #fff;
}

@media (max-width: 576px) {
    .quill-badge {
        width: 160px;
        height: 160px;
        font-size: 4rem;
    }
}

/* --- Section Styling --- */
.section-title {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

    .section-title::after {
        content: '❦';
        display: block;
        font-size: 2rem;
        color: var(--secondary-color);
        margin-top: 10px;
    }

@media (max-width: 576px) {
    .section-title {
        margin-bottom: 2rem;
        font-size: 1.5rem;
    }

    .quill-badge {
        margin-bottom: 1rem;
    }
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* --- Product Cards --- */
.product-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/cardboard-flat.png");
}

    .product-card:hover {
        transform: translateY(-10px) rotate(1deg);
        box-shadow: 0 15px 30px rgba(169, 116, 79, 0.2);
        border-color: var(--primary-color);
    }

    .product-card::before {
        content: '';
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border: 1px dashed var(--secondary-color);
        border-radius: 4px;
        pointer-events: none;
    }

.product-price {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- About & Process --- */
.process-step {
    text-align: center;
    padding: 20px;
}

.process-icon-box {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: transform 0.3s;
}

.process-step:hover .process-icon-box {
    transform: rotate(15deg) scale(1.1);
    background: var(--primary-color);
    color: white;
}

/* --- Testimonials --- */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 10px;
    font-style: italic;
    border: 1px solid #e3e3e3;
}

/* --- Testimonial Image Collage --- */
.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 10px;
}
.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #e3e3e3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.collage-item:hover img {
    transform: scale(1.08);
}
.collage-item.collage-wide {
    grid-column: span 2;
}
.collage-item.collage-tall {
    grid-row: span 2;
}
.collage-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: #fff;
    font-size: 0.8rem;
    padding: 18px 10px 8px;
    font-family: 'Cinzel', serif;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.collage-item:hover .collage-caption {
    opacity: 1;
}

/* --- Footer --- */
footer {
    background: #2c1e1e;
    color: #dbc1ac;
    padding: 50px 0;
    border-top: 5px solid var(--primary-color);
}

/* --- WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}

    .whatsapp-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0,0,0,0.4);
        color: white;
    }

/* --- Modals --- */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 30, 30, 0.95);
    justify-content: center;
    align-items: center;
}

.modal-img {
    max-width: 90%;
    max-height: 90vh;
    border: 5px solid white;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.4s ease;
}

/* Animations */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }

    50% {
        border-color: white
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

