/*
Theme Name: Veil & Verdure
Author: WordPress Telex
Description: An elegant bridal e-commerce theme inspired by Madi Lane, featuring botanical accents, warm ivory and gold tones, refined serif typography, and WooCommerce integration.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: veil-and-verdure
Tags: block-theme, full-site-editing, e-commerce, woocommerce

Veil & Verdure — Romantic bridal elegance, woven into every detail.
*/

/* === Base Reset === */
body {
    background-color: #FFFFFF;
    color: #1E1C19;
}

.wp-site-blocks {
    background-color: #FFFFFF;
    color: #1E1C19;
}

.wp-site-blocks > * + * {
    margin-block-start: 0;
}

/* === Equal Cards Layout === */
.equal-cards > .wp-block-column {
    display: flex;
    flex-direction: column;
    flex-grow: 0;
}
.equal-cards > .wp-block-column > .wp-block-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.equal-cards .cta-bottom {
    margin-top: auto;
    justify-content: center;
}

/* === Footer margin reset === */
.wp-site-blocks > footer {
    margin-block-start: 0;
}

/* === Header Styles === */
.vv-header {
    border-bottom: 1px solid rgba(196, 163, 90, 0.12);
}

.vv-header .wp-block-navigation a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.vv-header .wp-block-navigation a:hover {
    color: #C4A35A;
}

/* === Nav Dot Separators === */
.vv-nav-dots .wp-block-navigation__container {
    gap: 0 !important;
}
.vv-nav-dots .wp-block-navigation-item::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #D6C8BA;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    vertical-align: middle;
}
.vv-nav-dots .wp-block-navigation-item:last-child::after {
    display: none;
}

/* === Hero Split Layout === */
.vv-hero-split {
    display: grid;
    grid-template-columns: 58% 42%;
    min-height: 100vh;
    overflow: hidden;
}
@media (max-width: 782px) {
    .vv-hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.vv-hero-image-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
@media (max-width: 782px) {
    .vv-hero-image-panel {
        min-height: 60vh;
    }
}

.vv-hero-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.vv-hero-curve {
    position: absolute;
    top: 0;
    right: -1px;
    width: 80px;
    height: 100%;
    z-index: 2;
}
@media (max-width: 782px) {
    .vv-hero-curve {
        display: none;
    }
}

.vv-hero-content-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 3.5rem 4rem 2.5rem;
    background-color: #FFFFFF;
}
@media (max-width: 782px) {
    .vv-hero-content-panel {
        padding: 3rem 1.5rem;
    }
}

.vv-hero-content-panel::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -10px;
    width: 1px;
    height: 70%;
    background: linear-gradient(to bottom, transparent, #C4A35A 20%, #C4A35A 80%, transparent);
    opacity: 0.3;
}
@media (max-width: 782px) {
    .vv-hero-content-panel::before {
        display: none;
    }
}

/* === Badge Line === */
.vv-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.vv-badge::before,
.vv-badge::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background-color: #C4A35A;
}

/* === CTA Button === */
.vv-cta-btn a {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #1E1C19;
    padding: 1rem 2rem;
    border: 1px solid #C4A35A;
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    text-decoration: none;
}
.vv-cta-btn a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #C4A35A;
    z-index: -1;
    transition: width 0.4s ease;
}
.vv-cta-btn a:hover::before {
    width: 100%;
}
.vv-cta-btn a:hover {
    color: #FAFAF7;
}

/* === Botanical Divider === */
.vv-botanical-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.vv-botanical-divider::before,
.vv-botanical-divider::after {
    content: '';
    display: block;
    flex: 1;
    max-width: 120px;
    height: 1px;
    background-color: #C4A35A;
    opacity: 0.4;
}

/* === Collection Cards === */
.vv-collection-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.vv-collection-card img {
    transition: transform 0.6s ease;
}
.vv-collection-card:hover img {
    transform: scale(1.05);
}

/* === Testimonial Section === */
.vv-testimonial-quote {
    position: relative;
}
.vv-testimonial-quote::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 5rem;
    color: #C4A35A;
    opacity: 0.3;
    position: absolute;
    top: -2rem;
    left: -1rem;
    line-height: 1;
}

/* === Store Finder Hover === */
.vv-store-card {
    border: 1px solid rgba(196, 163, 90, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.vv-store-card:hover {
    border-color: #C4A35A;
    box-shadow: 0 4px 24px rgba(196, 163, 90, 0.12);
}

/* === Scroll Reveal Animation === */
@keyframes vvFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vv-fade-up {
    animation: vvFadeUp 0.8s ease forwards;
}

/* === Gold Separator Line === */
.vv-gold-line {
    width: 60px;
    height: 1px;
    background-color: #C4A35A;
    margin: 0 auto;
}

/* === Footer === */
.vv-footer a {
    transition: color 0.3s ease;
}
.vv-footer a:hover {
    color: #C4A35A;
}

/* === Real Brides Gallery Overlay === */
.vv-bride-card {
    position: relative;
    overflow: hidden;
}
.vv-bride-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,28,25,0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.vv-bride-card:hover::after {
    opacity: 1;
}
.vv-bride-card img {
    transition: transform 0.6s ease;
}
.vv-bride-card:hover img {
    transform: scale(1.04);
}