/*
Theme Name: VND Contractors
Theme URI: https://vnd-contractors.com
Description: Custom child theme for V & D Contractors LLC
Author: V & D Contractors
Author URI: https://vnd-contractors.com
Template: astra
Version: 1.0.0
Text Domain: vnd-contractors
*/

/* ========================================
   V&D CONTRACTORS - BRAND STYLES
   ======================================== */

:root {
    --vnd-primary: #1a3a5c;      /* Dark navy blue */
    --vnd-secondary: #d4a84b;    /* Gold/amber accent */
    --vnd-dark: #0f2137;         /* Deep navy */
    --vnd-light: #f5f7fa;        /* Light gray bg */
    --vnd-white: #ffffff;
    --vnd-text: #333333;
    --vnd-text-light: #666666;
    --vnd-border: #e2e8f0;
    --vnd-success: #22c55e;
}

/* Typography */
body {
    font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
    color: var(--vnd-text);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--vnd-primary);
    font-weight: 700;
}

/* ========================================
   HEADER
   ======================================== */

.ast-primary-header-bar {
    background: var(--vnd-dark) !important;
    border-bottom: 3px solid var(--vnd-secondary);
}

.ast-header-break-point .ast-primary-header-bar {
    background: var(--vnd-dark) !important;
}

/* Navigation links */
.ast-header-break-point .main-header-menu a,
.main-header-menu > .menu-item > a {
    color: var(--vnd-white) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item.current-menu-item > a {
    color: var(--vnd-secondary) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */

.vnd-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--vnd-white);
}

.vnd-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15,33,55,0.85), rgba(26,58,92,0.7));
}

.vnd-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.vnd-hero h1 {
    color: var(--vnd-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.vnd-hero p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

/* ========================================
   BUTTONS
   ======================================== */

.vnd-btn {
    display: inline-block;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vnd-btn-primary {
    background: var(--vnd-secondary);
    color: var(--vnd-dark);
    border: 2px solid var(--vnd-secondary);
}

.vnd-btn-primary:hover {
    background: transparent;
    color: var(--vnd-secondary);
}

.vnd-btn-outline {
    background: transparent;
    color: var(--vnd-white);
    border: 2px solid var(--vnd-white);
}

.vnd-btn-outline:hover {
    background: var(--vnd-white);
    color: var(--vnd-dark);
}

/* ========================================
   SECTIONS
   ======================================== */

.vnd-section {
    padding: 80px 0;
}

.vnd-section-gray {
    background: var(--vnd-light);
}

.vnd-section-dark {
    background: var(--vnd-dark);
    color: var(--vnd-white);
}

.vnd-section-dark h2,
.vnd-section-dark h3 {
    color: var(--vnd-white);
}

.vnd-section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.2rem;
    position: relative;
}

.vnd-section-subtitle {
    text-align: center;
    color: var(--vnd-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

.vnd-accent-line {
    width: 60px;
    height: 4px;
    background: var(--vnd-secondary);
    margin: 15px auto 25px;
    border-radius: 2px;
}

/* ========================================
   SERVICE CARDS
   ======================================== */

.vnd-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vnd-service-card {
    background: var(--vnd-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vnd-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.vnd-service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.vnd-service-card-body {
    padding: 25px;
}

.vnd-service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--vnd-primary);
}

.vnd-service-card p {
    color: var(--vnd-text-light);
    line-height: 1.6;
}

/* ========================================
   PROJECT GALLERY
   ======================================== */

.vnd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vnd-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.vnd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vnd-gallery-item:hover img {
    transform: scale(1.08);
}

.vnd-gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(15,33,55,0.85));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.vnd-gallery-item:hover .vnd-gallery-overlay {
    transform: translateY(0);
}

.vnd-gallery-overlay h4 {
    color: var(--vnd-white);
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.vnd-gallery-overlay p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Gallery filter buttons */
.vnd-gallery-filters {
    text-align: center;
    margin-bottom: 40px;
}

.vnd-filter-btn {
    display: inline-block;
    padding: 8px 24px;
    margin: 5px;
    border: 2px solid var(--vnd-border);
    border-radius: 30px;
    background: transparent;
    color: var(--vnd-text);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vnd-filter-btn:hover,
.vnd-filter-btn.active {
    background: var(--vnd-primary);
    border-color: var(--vnd-primary);
    color: var(--vnd-white);
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.vnd-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vnd-about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.vnd-about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.vnd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.vnd-stat {
    padding: 30px 15px;
}

.vnd-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--vnd-secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.vnd-stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   CONTACT
   ======================================== */

.vnd-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vnd-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--vnd-white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.vnd-contact-icon {
    width: 50px;
    height: 50px;
    background: var(--vnd-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--vnd-white);
    font-size: 1.2rem;
}

/* ========================================
   FOOTER
   ======================================== */

.ast-footer-overlay {
    background: var(--vnd-dark) !important;
}

.site-footer {
    background: var(--vnd-dark) !important;
    color: rgba(255,255,255,0.7);
}

.site-footer a {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--vnd-secondary) !important;
}

/* ========================================
   CTA BANNER
   ======================================== */

.vnd-cta-section {
    background: var(--vnd-primary);
    padding: 60px 20px;
    text-align: center;
    color: var(--vnd-white);
}

.vnd-cta-section h2 {
    color: var(--vnd-white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.vnd-cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* ========================================
   FORMS (SureForms overrides)
   ======================================== */

.srfm-form input,
.srfm-form textarea,
.srfm-form select {
    border: 2px solid var(--vnd-border) !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    transition: border-color 0.3s ease !important;
}

.srfm-form input:focus,
.srfm-form textarea:focus,
.srfm-form select:focus {
    border-color: var(--vnd-primary) !important;
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1) !important;
}

.srfm-form button[type="submit"] {
    background: var(--vnd-secondary) !important;
    color: var(--vnd-dark) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 36px !important;
    border: none !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.srfm-form button[type="submit"]:hover {
    background: var(--vnd-primary) !important;
    color: var(--vnd-white) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .vnd-hero h1 { font-size: 2.2rem; }
    .vnd-hero p { font-size: 1rem; }
    
    .vnd-about-grid,
    .vnd-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vnd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vnd-services-grid {
        grid-template-columns: 1fr;
    }
    
    .vnd-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vnd-section { padding: 50px 0; }
    .vnd-section-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .vnd-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .vnd-hero h1 { font-size: 1.8rem; }
}
