@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/samarkan');

:root {
    --primary-color: #4A0404;
    /* Maroon */
    --secondary-color: #4A0404;
    /* Darker Maroon */
    --accent-color: #D4AF37;
    /* Gold */
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    /* Elegant font */
    --font-body: 'DM Sans', sans-serif;
    --spacing: 1rem;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    /* scroll-snap-type: y mandatory; - Removed to fix scrolling issues on long pages */
    /* height: 100vh; - Removed constraint */
    /* overflow-y: scroll; - Let body handle scroll naturally */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Utils */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-family: var(--font-body);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 2.5rem;
    /* Increased size for script font */
    font-weight: 400;
    color: #7B3F00;
    /* Chocolate Brown */
    font-family: 'Samarkan', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 550;
    font-size: 1rem;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icons span {
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Hero Section */
/* Hero Section */
.hero {
    background: linear-gradient(rgba(74, 4, 4, 0.8), rgba(74, 4, 4, 0.8)), url('/resources/page-images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Add a subtle pattern overlay if you want */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    /* scroll-snap-align: start; */
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    display: block;
    border: none;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

.section-weaving,
.section-shop {
    background-color: var(--white);
}

.product-detail-section {
    background-color: #f2f2f2;
    color: var(--text-color);
}

/* Product Page Refinement */
.badge-sale {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #d35400;
    /* Sale Orange */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-category {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-rating {
    margin-bottom: 1.5rem;
    color: #f39c12;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-count {
    color: #888;
    font-size: 0.9rem;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.save-badge {
    background-color: #fae1dd;
    color: #c0392b;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-status {
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    font-size: 1.2rem;
}

.stock-status.in-stock {
    color: #27ae60;
}

.stock-status.out-of-stock {
    color: #c0392b;
}

.product-description {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.qty-selector button {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
}

.qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
}

.btn-add-cart {
    background-color: #630808;
    /* Deep Green */
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background-color: #4A0404;
}

.btn-disabled {
    background-color: #ccc;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
}

.btn-icon {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 48px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badges {
    display: flex;
    justify-content: space-between;
    background: #e8ecf1;
    padding: 1.5rem;
    border-radius: 8px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #444;
    font-weight: 600;
}

.trust-item svg {
    color: #1a5632;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
}


.section-materials {
    background-color: var(--secondary-color);
    color: var(--white);
}

.materials-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.materials-list-col {
    flex: 1;
}

.materials-list {
    list-style: disc;
    /* Pointed list */
    padding-left: 1.5rem;
    font-size: 1.5rem;
    line-height: 2;
    font-family: var(--font-heading);
}

.materials-list li {
    margin-bottom: 0.5rem;
}

.materials-showcase-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.carousel-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    /* Square */
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}



/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    overflow: hidden;
    /* Clean look, no border initially */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 320px;
    background-color: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    text-align: left;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.product-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.product-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    scroll-snap-align: start;
    /* Ensure footer is a snap point */
}

footer .brand {
    color: var(--white);
    margin-bottom: 1rem;
    display: inline-block;
}

footer p {
    opacity: 0.8;
}

/* Cart Drawer */
.cart-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 95%;
    height: 100%;
    background: var(--white);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0) !important;
}

.cart-drawer h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

#cart-items {
    flex: 1;
    overflow-y: auto;
}

#close-cart {
    background: transparent;
    color: var(--text-color);
    border: 1px solid #ddd;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
}

#close-cart:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

/* Cart Card Design */
.cart-list {
    width: 100%;
    padding: 0.5rem;
}

.cart-item-card {
    display: flex;
    align-items: center;
    background-color: #f9f5f0;
    /* Light beige/cream background like reference */
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    gap: 1rem;
    position: relative;
    transition: transform 0.2s;
}

.cart-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.cart-item-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #333;
    font-family: var(--font-heading);
}

.cart-item-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 0 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.qty-group button {
    border: none;
    background: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding-bottom: 3px;
}

.qty-group button:hover {
    background-color: #f0f0f0;
}

.qty-group span {
    font-weight: 600;
    font-size: 0.9rem;
    width: 24px;
    text-align: center;
}

.delete-btn {
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.delete-btn:hover {
    color: #d9534f;
}

.cart-item-price-total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Adjustments for narrow screens within drawer */
@media (max-width: 380px) {
    .cart-item-card {
        flex-wrap: wrap;
    }

    .cart-item-price-total {
        position: static;
        width: 100%;
        text-align: right;
        margin-top: 0.5rem;
    }
}

/* Product Detail Page Layout */
.product-detail-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.product-gallery {
    flex: 0 0 400px;
    max-width: 400px;
}

.main-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-bottom: 1rem;
}

.thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* Scrollbar space */
}

.product-info-col {
    flex: 1 1 400px;
    padding-left: 2rem;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.main-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Header */
    header .container nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        display: none;
        /* Ideally hamburger menu later, for now hidden or stacked if simple */
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 1rem;
        font-size: 0.9rem;
        order: 3;
    }

    .brand {
        font-size: 2rem;
    }

    .nav-icons {
        margin-left: auto;
    }

    /* Product Detail Page Responsive */
    .product-detail-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-gallery,
    .product-info-col {
        flex: 1 1 100%;
        max-width: 100%;
        padding-left: 0;
    }

    .product-info-col {
        position: static;
        /* Remove sticky on mobile to save space */
    }

    .main-image-container img {
        height: auto;
        max-height: 400px;
        /* Limit height on mobile */
        object-fit: contain;
        background: #f9f9f9;
        margin: 0 auto;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Materials Section */
    .materials-content {
        flex-direction: column;
        gap: 2rem;
    }

    .materials-list {
        font-size: 1.2rem;
    }

    /* Grid adjustments */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .product-image {
        height: 200px;
    }
}

/* Checkout Page Styles */
.checkout-section {
    padding: 4rem 1rem;
    min-height: 80vh;
    background-color: var(--white);
    font-family: var(--font-body);
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card Styles */
.shipping-info-card,
.order-summary-card {
    background-color: #F8F7F2;
    /* Light beige from screenshot */
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.checkout-heading {
    font-family: var(--font-heading);
    color: var(--primary-color);
    /* Dark Green text for headings */
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* Form Styles */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.form-group label .required {
    color: #cc0000;
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--white);
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2e6040;
    /* Green focus border */
}

.form-group input::placeholder {
    color: #999;
}

/* Order Summary Styles */
.order-items {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.empty-cart {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

.order-item-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #e0e0e0;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.2rem;
}

.order-item-qty {
    font-size: 0.85rem;
    color: #666;
}

.order-item-price,
.order-item-total {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.order-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #555;
}

.shipping-free {
    color: #2e6040;
    /* Green text */
    font-weight: 500;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.total-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.pay-button {
    width: 100%;
    background-color: #630808;
    /* Dark Green button */
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.pay-button:hover {
    background-color: #4A0404;
}

.payment-secure {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.8rem;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-badge {
    background-color: #F8F7F2;
    /* Light beige */
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: #2e6040;
}

.trust-badge svg {
    stroke-width: 1.5px;
}

.trust-badge p {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Weaving Section Animation & Styling */
.section-weaving {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    /* Increase padding to show more background */
    background-color: #fdfdfd;
}

.weaving-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind text but visible */
    pointer-events: none;
    /* Let clicks pass through */
    opacity: 0.6;
    /* Slight fade so it doesn't overpower text */
    display: flex;
    align-items: center;
}

.weaving-bg-track {
    display: flex;
    gap: 2rem;
    /* Animation */
    animation: weaveScroll 40s linear infinite;
    width: max-content;
    /* Ensure it takes full width of content */
}

/* Images Styling - Random look */
.weave-img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    filter: grayscale(20%) sepia(10%);
    /* Vintage feel */
    transition: transform 0.3s;
}

/* "Unordered" positioning hacks */
.w-img-1 {
    margin-top: -50px;
    transform: rotate(-3deg);
}

.w-img-2 {
    margin-top: 80px;
    transform: rotate(2deg);
    height: 250px;
}

.w-img-3 {
    margin-top: -20px;
    transform: rotate(4deg);
    height: 350px;
}

.w-img-4 {
    margin-top: 40px;
    transform: rotate(-2deg);
}

@keyframes weaveScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Scroll exactly half to loop smoothly (assuming duplicates) */
    }
}

/* Text Highlighting */
.weaving-content-container {
    position: relative;
    z-index: 10;
    /* Above background */
}

/* Text Highlighter Effect */
/* Text Styles */
.highlight-text {
    background-color: transparent;
    color: #453300;
    padding: 0;
    box-shadow: none;
    line-height: 1.6;
    display: inline;
    font-weight: 700;
    /*text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
    /* Outline for readability */
}

.section-weaving .section-title .highlight-text {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.weaving-desc .highlight-text {
    font-size: 1.2rem;
    line-height: 2;
    /* more line height to separate highlighted lines */
}