/* Master Stylesheet - Bethany Bell Glassworks */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-light-yellow: #FFF7D6;
    --bg-cream: #FFFDF3;
    --text-color: #1A1A1A; 
    --accent-gold: #D4AF37;
    --accent-green: #6B8E6B; 
    --card-white: rgba(255, 255, 255, 0.6); 
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    background: linear-gradient(180deg, var(--bg-light-yellow) 0%, var(--bg-cream) 100%);
    background-attachment: fixed;
    line-height: 1.6;
}

/* ========================================== */
/* NAVIGATION HEADER                          */
/* ========================================== */
header {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: block;
    text-decoration: none;
}

.header-logo img {
    max-height: 80px; 
    width: auto;
    display: block;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.02);
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--accent-gold);
}

main {
    width: 100%;
    margin: 0 auto;
}

/* ========================================== */
/* HOME PAGE HERO SPLIT & SLOGAN              */
/* ========================================== */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px;
    gap: 60px;
    min-height: 60vh;
}

.hero-image-block, .hero-text-block {
    flex: 1;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-block img {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
    display: block;
    mix-blend-mode: multiply; 
}

/* Slogan Container & Typography */
.slogan-container {
    position: relative;
    display: inline-block;
    padding: 40px 60px; 
    margin-bottom: 25px;
}

.slogan-text {
    font-size: 3.2rem;
    font-weight: 400; 
    line-height: 1.5; 
    color: var(--text-color);
    letter-spacing: -0.5px;
    margin: 0;
}

.slogan-line-1 {
    display: block;
}

.slogan-line-2 {
    display: block;
    margin-left: 6.5rem; 
}

/* SVG Sparkle Positioning */
.sparkle-cluster {
    position: absolute;
    width: 70px; 
    height: auto;
}

.sparkle-top {
    top: 5px;
    left: 0;
}

.sparkle-bottom {
    bottom: 5px;
    right: 40px; /* Pulled inwards to sit diagonally closer to "Art" */
}

.hero-subtext {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 480px;
    color: #333;
    text-align: center;
}

/* ========================================== */
/* ABOUT SPLIT BANNER                         */
/* ========================================== */
.about-split-container {
    display: flex;
    width: 100%;
    max-width: var(--max-width);
    margin: 60px auto; 
    min-height: 50vh; 
    align-items: center; 
    gap: 60px; 
    padding: 0 20px;
}

.about-text-side {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text-side h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text-side p {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 480px; 
}

.about-image-side {
    flex: 1; 
    display: flex;
    justify-content: flex-start; 
}

.about-image-side img {
    width: 100%;
    max-width: 500px; 
    height: auto;
    object-fit: cover; 
    border-radius: 8px; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.06); 
    display: block;
}

/* ========================================== */
/* PORTFOLIO MASONRY GALLERY GRID             */
/* ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 25px;
    grid-auto-flow: dense;
    margin-top: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* ========================================== */
/* SERVICES ZIG-ZAG LAYOUT                    */
/* ========================================== */
.zigzag-container {
    max-width: 850px; 
    margin: 50px auto;
    padding: 0 20px;
}

.zigzag-row {
    display: flex;
    align-items: center;
    gap: 40px; 
    margin-bottom: 60px;
}

.zigzag-row.reverse {
    flex-direction: row-reverse;
}

.zigzag-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.zigzag-image img {
    width: 100%;
    max-width: 320px; 
    height: auto;
    display: block;
    border-radius: 8px; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.zigzag-text {
    flex: 1;
    padding: 0 15px;
}

.zigzag-text h3 {
    font-size: 1.5rem; 
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.zigzag-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.price-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--accent-green);
    margin-top: 5px;
}

/* ========================================== */
/* TESTIMONIALS SECTION                       */
/* ========================================== */
.testimonials-header {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 70px 0 40px 0;
    text-align: center; 
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    color: #222;
}

/* ========================================== */
/* CONTACT PAGE STYLES                        */
/* ========================================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}

.email-link {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 2px solid var(--text-color);
    display: inline-block;
    margin-bottom: 40px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.email-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    fill: var(--text-color);
    transition: fill 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    fill: var(--accent-gold);
    transform: translateY(-4px);
}

/* ========================================== */
/* RESPONSIVE BREAKPOINTS                     */
/* ========================================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    nav a {
        margin: 0 12px;
    }

    .hero-split {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .slogan-line-2 {
        margin-left: 0; 
    }
    
    .sparkle-bottom {
        right: 0; 
    }

    .about-split-container {
        flex-direction: column;
        gap: 40px;
        margin: 40px auto;
    }
    
    .about-text-side {
        padding: 0;
        text-align: center;
    }

    .about-image-side {
        justify-content: center;
    }

    .zigzag-row, .zigzag-row.reverse {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        margin-bottom: 50px;
    }

    .zigzag-text {
        padding: 0;
    }
}
/* ========================================== */
/* WOOCOMMERCE CUSTOM SHOP STYLES             */
/* ========================================== */

/* Main shop wrapper spacing */
.shop-container {
    max-width: var(--max-width);
    /* Set top margin to 10px, auto sides, 60px bottom */
    margin: -30px auto 60px auto; 
    padding: 0 20px;
}

/* Center everything inside the product cards */
.woocommerce ul.products li.product {
    text-align: center;
}

/* Fix the default blue link titles */
.woocommerce ul.products li.product a {
    text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--text-color) !important;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 15px;
}

/* Style the price to match your brand green */
.woocommerce ul.products li.product .price {
    color: var(--accent-green) !important;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Style the 'Read more' / 'Add to cart' buttons */
.woocommerce ul.products li.product .button {
    background-color: var(--text-color) !important;
    color: var(--bg-cream) !important;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--accent-gold) !important;
    color: #fff !important;
}
/* Give the product images rounded corners */
.woocommerce ul.products li.product a img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Adds a very soft shadow so it pops */
    margin-bottom: 15px;
}
/* ========================================== */
/* iOS SAFARI WHITE GAP FIX                   */
/* ========================================== */

/* Fills the background during 'rubber-band' scrolling */
html {
    background-color: var(--bg-light-yellow); 
}

/* Turns off the buggy fixed attachment on mobile screens */
@media (max-width: 768px) {
    body {
        background-attachment: scroll; 
        min-height: 100vh;
    }
}