/* pergolas.css */
.v-page-pergolas { background: #000; color: #fff; overflow-x: hidden; }
.v-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* Hero */
.v-hero-small {
    position: relative;
    height: 70vh; /* Increased slightly for a more cinematic look */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}
.v-hero-content {
    max-width: 800px; /* Keeps the text from spanning too wide */
    position: relative;
    z-index: 2;
}

.v-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin: 15px 0;
    line-height: 1.1;
    /* Subtle shadow for maximum "pop" against the image */
    text-shadow: 0 4px 15px rgba(0,0,0,0.4); 
}

.v-hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.v-hero-content .v-eyebrow {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid #76bc21; /* Your lime green accent */
}
/* The Background Image */
.v-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* THE GLASS BOX */
.v-hero-glass-box {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 600px;
    
    /* The Glass Effect */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.4); 
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Animation to match the Veranda feel */
    animation: vBoxFadeUp 0.8s ease-out forwards;
}

.v-hero-glass-box h1 {
    font-size: 3.5rem;
    margin: 15px 0;
    color: #fff;
    line-height: 1.1;
}

.v-hero-glass-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Subtle entry animation */
@keyframes vBoxFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .v-hero-glass-box {
        padding: 30px;
        margin: 0 20px;
        width: auto;
    }
    .v-hero-glass-box h1 {
        font-size: 2.4rem;
    }
}
/* Intro Card */
.v-intro-simple { padding: 100px 0; }
.v-intro-card { background: #0a0a0a; padding: 50px; border-radius: 20px; border: 1px solid #1a1a1a; text-align: center; }
.v-lead { font-size: 1.4rem; color: #76bc21; margin-bottom: 20px; font-weight: 600; line-height: 1.4; }

/* Product Blocks */
.v-product-block { padding: 60px 0; }
.v-bg-alt { background: #050505; }
.v-product-grid { 
    display: flex; 
    gap: 60px; 
    align-items: center; 
    margin-bottom: 0; /* Removed extra bottom margin */
}
.v-reverse { flex-direction: row-reverse; }
.v-product-media { flex: 1.2; }
.v-product-media img { width: 100%; border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.v-product-info { flex: 1; }

.v-tag { color: #76bc21; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.v-product-info h2 { font-size: 2.8rem; margin: 15px 0; color: #fff; }
.v-product-info p { line-height: 1.7; color: #aaa; margin-bottom: 20px; }

.v-feature-list { 
    margin: 25px 0; 
    padding: 25px; 
    background: #0a0a0a; /* Match the Veranda feature box depth */
    border-radius: 12px; 
    border-left: 3px solid #76bc21; 
    text-align: left;
}
.v-feature-list h4 { margin-bottom: 15px; text-transform: uppercase; font-size: 0.75rem; color: #666; letter-spacing: 1px; }
.v-feature-list ul { list-style: none; padding: 0; }
.v-feature-list li { 
    margin-bottom: 12px; 
    color: #ddd; 
    font-size: 0.95rem; 
    padding-left: 20px; 
    position: relative; 
}
.v-feature-list li::before { 
    content: '•'; 
    position: absolute; 
    left: 0; 
    color: #76bc21; 
    font-weight: bold; 
}
.v-btn-tech { 
    background: #000 !important; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: #fff; 
    padding: 14px 30px; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    min-width: 180px;
}

.v-btn-tech:hover { 
    background: #000 !important;
    border-color: #76bc21 !important; 
    color: #76bc21 !important; 
    transform: translateY(-2px);
}

/* CTA Box */
.v-cta-box { background: #0a0a0a; padding: 50px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #1a1a1a; }
.v-btn-lime { background: #76bc21; color: #000; padding: 16px 32px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; }

/* Technical Slide-out */
.v-tech-panel { position: fixed; top: 0; right: -500px; width: 450px; height: 100%; background: #0a0a0a; z-index: 2000; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); padding: 40px; border-left: 1px solid #222; overflow-y: auto; }
.v-tech-panel.active { right: 0; }
.v-tech-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; border-bottom: 1px solid #222; padding-bottom: 20px; }
.v-tech-header button { background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; }
.v-tech-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1999; backdrop-filter: blur(5px); }
.v-tech-mask.active { opacity: 1; visibility: visible; }

.v-spec-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #1a1a1a; }
.v-spec-row span:first-child { color: #666; font-size: 0.7rem; text-transform: uppercase; font-weight: 700; }
.v-spec-row span:last-child { color: #fff; font-size: 0.85rem; text-align: right; max-width: 60%; }
/* Container for the CTA Section */
.v-pergola-cta { 
    padding: 100px 0; 
}

/* The Box itself */
.v-cta-box { 
    background: #0a0a0a; 
    padding: 60px; 
    border-radius: 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border: 1px solid #1a1a1a; 
}

/* Text on the left */
.v-cta-text {
    flex: 1;
    padding-right: 40px;
}

.v-cta-text h2 { 
    margin-bottom: 15px; 
    font-size: 2.2rem; 
    color: #fff;
}

.v-cta-text p { 
    color: #888; 
    font-size: 1.1rem;
    line-height: 1.6;
}

/* THE BUTTON FIX */
.v-cta-btn {
    flex-shrink: 0; /* Prevents the button area from squishing */
}

.v-btn-lime { 
    background: #76bc21; 
    color: #000; 
    padding: 20px 40px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: all 0.3s ease; 
    display: inline-block; /* Essential for padding to work */
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    line-height: 1; /* Stops vertical misalignment */
}

.v-btn-lime:hover { 
    background: #87d42a; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(118, 188, 33, 0.2);
}

/* Responsive Fix for Mobile */
@media (max-width: 992px) {
    .v-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    
    .v-cta-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .v-btn-lime {
        width: 100%; /* Full width button on mobile */
        text-align: center;
    }
}