/*
Theme Name:  Vinnies Ironworks Child
Theme URI:   https://vinniesironworksny.com
Template:    hello-elementor
Version:     1.0.0
Author:      Your Agency Name
Author URI:  https://youragency.com
Description: Child theme for Vinnie's Italian Art Ironworks Inc. Built on Hello Elementor. Designed for use with Elementor Free + PRO Elements.
License:     GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: vinnies-ironworks-child
Tags:        dark, craft, ironworks, italian

--- COLOR PALETTE ---
Background Primary:   #1a1a1a
Background Dark:      #111111
Background Darker:    #0a0a0a
Italian Green:        #009246
Italian White:        #f0ede8
Italian Red:          #ce2b37
Text Primary:         #f0ede8
Text Muted:           #888888
Text Faint:           #555555
Border:               #252525
*/

/* =============================================
   BASE RESETS & TYPOGRAPHY
   ============================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1a1a1a;
    color: #f0ede8;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    color: #f0ede8;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

a {
    color: #ce2b37;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #009246;
}

p {
    color: #888888;
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   ITALIAN FLAG UTILITY CLASSES
   ============================================= */

.flag-stripe {
    display: flex;
    height: 4px;
    width: 100%;
}

.flag-stripe .fs-green  { background: #009246; flex: 1; }
.flag-stripe .fs-white  { background: #f0ede8; flex: 1; }
.flag-stripe .fs-red    { background: #ce2b37; flex: 1; }

.flag-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(to right, #009246 33%, #f0ede8 33% 66%, #ce2b37 66%);
    display: block;
}

.flag-divider-center {
    margin-left: auto;
    margin-right: auto;
}

.flag-vertical {
    width: 4px;
    background: linear-gradient(to bottom, #009246 33%, #f0ede8 33% 66%, #ce2b37 66%);
}

/* =============================================
   COLOR UTILITIES
   ============================================= */

.text-green  { color: #009246 !important; }
.text-red    { color: #ce2b37 !important; }
.text-muted  { color: #888888 !important; }
.text-faint  { color: #555555 !important; }
.text-white  { color: #f0ede8 !important; }

.bg-dark     { background-color: #111111 !important; }
.bg-darker   { background-color: #0a0a0a !important; }
.bg-card     { background-color: #202020 !important; }
.bg-base     { background-color: #1a1a1a !important; }

.border-green { border-color: #009246 !important; }
.border-red   { border-color: #ce2b37 !important; }

/* =============================================
   SECTION LABELS (eyebrow text above headings)
   ============================================= */

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
    margin-bottom: 10px;
}

.section-eyebrow .flag-dots {
    display: flex;
    gap: 4px;
}

.section-eyebrow .fd {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.section-eyebrow .fd-g { background: #009246; }
.section-eyebrow .fd-w { background: #ddd; }
.section-eyebrow .fd-r { background: #ce2b37; }

/* =============================================
   BUTTONS
   ============================================= */

.btn-vinnies {
    display: inline-block;
    padding: 12px 28px;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    text-decoration: none;
}

.btn-vinnies:hover {
    transform: translateY(-1px);
}

.btn-red {
    background: #ce2b37;
    color: #fff;
    border-color: #ce2b37;
}

.btn-red:hover {
    background: #b02430;
    border-color: #b02430;
    color: #fff;
}

.btn-green {
    background: #009246;
    color: #fff;
    border-color: #009246;
}

.btn-green:hover {
    background: #007a3b;
    border-color: #007a3b;
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #f0ede8;
    border-color: #f0ede8;
}

.btn-outline-light:hover {
    background: #f0ede8;
    color: #1a1a1a;
}

.btn-outline-red {
    background: transparent;
    color: #ce2b37;
    border-color: #ce2b37;
}

.btn-outline-red:hover {
    background: #ce2b37;
    color: #fff;
}

.btn-outline-green {
    background: transparent;
    color: #009246;
    border-color: #009246;
}

.btn-outline-green:hover {
    background: #009246;
    color: #fff;
}

/* =============================================
   SERVICE CARDS
   ============================================= */

.service-card {
    background: #202020;
    border: 1px solid #252525;
    padding: 32px 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: #3a3a3a;
}

.service-card.accent-green { border-top: 3px solid #009246; }
.service-card.accent-red   { border-top: 3px solid #ce2b37; }

.service-card h3 {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #f0ede8;
}

.service-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   TESTIMONIAL CARDS
   ============================================= */

.testimonial-card {
    background: #1a1a1a;
    border: 1px solid #252525;
    padding: 28px 22px;
}

.testimonial-card.t-green { border-top: 3px solid #009246; }
.testimonial-card.t-white { border-top: 3px solid #f0ede8; }
.testimonial-card.t-red   { border-top: 3px solid #ce2b37; }

.testimonial-card .quote-mark {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 12px;
    font-family: Georgia, serif;
}

.testimonial-card.t-green .quote-mark { color: #009246; }
.testimonial-card.t-white .quote-mark { color: #888; }
.testimonial-card.t-red   .quote-mark { color: #ce2b37; }

.testimonial-card .quote-text {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-card .quote-author {
    font-size: 10px;
    font-weight: 500;
    color: #ccc;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =============================================
   STATS / NUMBERS
   ============================================= */

.stat-number {
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555;
}

/* =============================================
   GALLERY GRID
   ============================================= */

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #1d1d1d;
    border: 1px solid #252525;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
}

.gallery-item.gi-green::before { background: #009246; }
.gallery-item.gi-red::before   { background: #ce2b37; }

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

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

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.85);
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #aaa;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* =============================================
   ABOUT SECTION — FEATURE BULLETS
   ============================================= */

.feature-bullet {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.feature-bullet .fb-bar {
    width: 3px;
    min-height: 36px;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-bullet .fb-bar.green { background: #009246; }
.feature-bullet .fb-bar.red   { background: #ce2b37; }

.feature-bullet .fb-title {
    font-size: 13px;
    font-weight: 500;
    color: #f0ede8;
    margin-bottom: 2px;
}

.feature-bullet .fb-sub {
    font-size: 11px;
    color: #555;
}

/* =============================================
   ELEMENTOR OVERRIDES
   ============================================= */

/* Remove default Hello Elementor padding on sections */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* Ensure full-width sections bleed properly */
.elementor-section.elementor-section-full_width .elementor-container {
    max-width: 100%;
}

/* Override Elementor widget heading color to match theme */
.elementor-widget-heading .elementor-heading-title {
    color: #f0ede8;
}

/* Override Elementor text editor default color */
.elementor-widget-text-editor {
    color: #888888;
}

/* Button Elementor widget defaults */
.elementor-button {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 10px !important;
    font-weight: 500;
}

/* Image hover effect via Elementor */
.elementor-widget-image img {
    transition: transform 0.3s ease;
}

/* =============================================
   HEADER (PRO Elements Theme Part)
   ============================================= */

.site-header-inner {
    background: #141414;
    border-bottom: 1px solid #252525;
}

.header-topbar {
    background: #0d0d0d;
    border-bottom: 1px solid #1a1a1a;
    padding: 5px 0;
    font-size: 11px;
    color: #666;
}

.header-topbar a {
    color: #666;
}

.header-topbar a:hover {
    color: #009246;
}

/* Nav link styles */
.elementor-nav-menu .elementor-item {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #bbb !important;
    transition: color 0.2s ease !important;
}

.elementor-nav-menu .elementor-item:hover,
.elementor-nav-menu .elementor-item.elementor-item-active {
    color: #f0ede8 !important;
}

/* Active nav item underline with Italian red */
.elementor-nav-menu .elementor-item.elementor-item-active::after {
    content: '';
    display: block;
    height: 2px;
    background: #ce2b37;
    margin-top: 2px;
}

/* =============================================
   FOOTER (PRO Elements Theme Part)
   ============================================= */

.site-footer-inner {
    background: #0a0a0a;
    border-top: 1px solid #1d1d1d;
}

.footer-widget-title {
    font-size: 10px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
}

/* =============================================
   FORMS (Elementor Free / PRO Elements)
   ============================================= */

.elementor-form .elementor-field-group input,
.elementor-form .elementor-field-group textarea,
.elementor-form .elementor-field-group select {
    background: #202020 !important;
    border: 1px solid #2d2d2d !important;
    color: #f0ede8 !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    transition: border-color 0.2s ease !important;
}

.elementor-form .elementor-field-group input:focus,
.elementor-form .elementor-field-group textarea:focus {
    border-color: #009246 !important;
    outline: none !important;
    box-shadow: none !important;
}

.elementor-form .elementor-field-label {
    color: #888 !important;
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

.elementor-form .elementor-button[type="submit"] {
    background: #ce2b37 !important;
    border-color: #ce2b37 !important;
    color: #fff !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    padding: 14px 32px !important;
    border-radius: 0 !important;
}

.elementor-form .elementor-button[type="submit"]:hover {
    background: #b02430 !important;
    border-color: #b02430 !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .service-card { padding: 24px 18px; }
    .stat-number  { font-size: 28px; }
}

/* Mobile */
@media (max-width: 767px) {
    body { font-size: 14px; }

    h1 { font-size: 28px !important; }
    h2 { font-size: 22px !important; }
    h3 { font-size: 16px !important; }

    .stat-number  { font-size: 24px; }
    .stat-label   { font-size: 8px; }

    .service-card { padding: 20px 16px; }

    .gallery-item img { height: 160px; }

    .testimonial-card { padding: 20px 16px; }

    .btn-vinnies {
        padding: 10px 20px;
        font-size: 9px;
    }

    /* Stack flag stripe dots on mobile */
    .section-eyebrow { justify-content: center; }
}

/* =============================================
   GOOGLE FONTS IMPORT
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');
