/* ==========================================
   VECTORMOTIF DESIGN SYSTEM & CONFIGURATION (LIGHT THEME)
   ========================================== */
:root {
    --bg-primary: #FFFFFF;     /* Crisp, clean pure white backdrop */
    --bg-surface: #F8F9FA;     /* Premium soft off-white/light gray for cards and sections */
    --text-main: #1A1A1A;      /* Deep charcoal for bold, readable headlines */
    --text-muted: #636366;     /* Elegant muted slate gray for body paragraphs */
    --accent-teal: #00ADB5;    /* Your signature high-vibrancy Electric Teal accent */
    --border-color: #E5E5EA;   /* Minimalist light structural dividers */
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: sans-serif;
    text-align: center;
    padding-top: 50px;
    margin: 0;
}

/* Navigation Bar Styling */
.main-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;            
    padding: 20px 10%;              
    background-color: var(--bg-primary);      
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
}

.nav-links ul {
    list-style: none;               
    display: flex;                  
    gap: 30px;                      
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;          
    color: var(--text-muted);                 
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;    
}

/* Hover & Active Link States */
.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-teal);                 
}

/* Hero Section Layout */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%; 
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    min-height: 550px; 
    overflow: hidden;
}

/* Left Column Styling */
.hero-left {
    flex: 1;
    max-width: 600px;
    padding: 80px 40px 80px 0; 
    z-index: 2; 
    text-align: left;
}

.hero-section h2 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-main);
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Right Column: Image Workspace Placeholder */
.hero-right {
    flex: 1;
    height: 550px; 
    position: relative;
    background-color: var(--bg-surface); 
    background-size: cover;
    background-position: center;
}

/* The Gradient Blend Overlay for Light Theme */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-primary) 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none; 
}

/* CTA Button Styling */
.cta-button {
    display: inline-block;
    background-color: var(--accent-teal); 
    color: #ffffff;
    text-decoration: none;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 173, 181, 0.15);
}

/* Button Hover Interaction */
.cta-button:hover {
    background-color: #008f96; 
    transform: translateY(-2px); 
}

.cta-button:active {
    transform: translateY(0); 
}

/* Portfolio Section Intro */
.portfolio-intro {
    padding: 60px 10% 20px 10%;
    text-align: left; 
}

.portfolio-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.portfolio-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* CSS Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px; 
    padding: 0 10% 80px 10%;
}

/* Portfolio Cards */
.portfolio-item {
    background-color: var(--bg-surface);
    border-radius: 8px;
    overflow: hidden; 
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

/* Placeholder box for your graphics */
.item-image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #EFEFED;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8E8E93;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

/* Text details below the image */
.item-details {
    padding: 20px;
    text-align: left;
}

.item-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: var(--text-main);
}

.item-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hover Effects */
.portfolio-item:hover {
    transform: translateY(-5px); 
    border-color: var(--accent-teal);        
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.portfolio-item:hover .item-image-placeholder {
    background-color: #E5E5E7;   
}

/* ==========================================
    SERVICES SECTION
   ========================================== */
.services-section {
    padding: 80px 10%;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.services-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.services-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Three-Column Structural Layout */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Symmetrical Card Styles */
.price-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Card Header Elements */
.card-header h3 {
    font-size: 1.4rem;
    margin: 0 0 10px 0;
    color: var(--text-main);
    text-align: left;
}

.price {
    font-size: 1.1rem;
    color: var(--accent-teal);
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Card Feature Lists */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
    flex-grow: 1; 
}

.card-features li {
    font-size: 0.95rem;
    color: #48484A;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.card-features li:last-child {
    border-bottom: none;
}

/* Symmetrical Outline Action Buttons */
.card-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.card-btn:hover {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
    color: #ffffff;
}

/* Footer Styles */
.main-footer {
    padding: 40px 10%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.main-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================
   CONTACT PAGE & INTAKE FORM STYLES
   ========================================== */
.form-intro {
    padding: 60px 10% 20px 10%;
    text-align: left;
    max-width: 800px;
}

.form-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-section {
    padding: 0 10% 100px 10%;
    display: flex;
    justify-content: flex-start; 
}

.intake-form {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 700px; 
}

.form-group {
    display: flex;
    flex-direction: column; 
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 8px rgba(0, 173, 181, 0.15);
}

.form-group textarea {
    resize: vertical; 
}

.submit-btn {
    display: block;
    width: 100%;
    background-color: var(--accent-teal);
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #008f96;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ==========================================
   PORTFOLIO ARCHIVE PAGE STYLES
   ========================================== */
.portfolio-page-intro {
    padding: 60px 10% 20px 10%;
    text-align: left;
    max-width: 800px;
}

.portfolio-page-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.portfolio-page-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.5;
}

.filter-section {
    padding: 20px 10% 40px 10%;
    text-align: left;
}

.filter-bar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; 
}

.filter-btn {
    background-color: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 30px; 
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-main);
    border-color: #999999;
}

.filter-btn.active {
    background-color: var(--accent-teal);
    color: #ffffff;
    border-color: var(--accent-teal);
}

.archive-grid-section {
    padding-top: 10px;
}

.upcoming-project {
    opacity: 0.75;
    border-style: dashed; 
}

.UI-placeholder {
    background-color: #EFEFED;
    font-style: italic;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ==========================================
   SERVICES LANDING PAGE EXTRAS
   ========================================== */
.services-page-intro {
    padding: 60px 10% 20px 10%;
    text-align: left;
    max-width: 800px;
}

.services-page-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.services-page-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.5;
}

.services-section.page-override {
    border-top: none;
    padding-top: 20px;
}

.workflow-section {
    padding: 100px 10%;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.workflow-intro {
    text-align: left;
    margin-bottom: 60px;
}

.workflow-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.workflow-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: left;
    position: relative;
}

.step-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-family: monospace;
}

.step-card h4 {
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   RESPONSIVE DESIGN SYSTEM (MEDIA QUERIES)
   ========================================== */

/* ------------------------------------------
   TABLET BREAKPOINT (Screens under 960px)
   ------------------------------------------ */
@media screen and (max-width: 960px) {
    /* Compress large page intro paddings */
    .hero-section,
    .portfolio-intro,
    .portfolio-page-intro,
    .services-page-intro,
    .form-intro,
    .filter-section,
    .form-section,
    .workflow-section,
    .main-footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    /* Convert 3-column pricing framework to stacked cards */
    .services-container {
        grid-template-columns: 1fr;
        max-width: 500px; /* Restricts width so cards don't stretch awkwardly wide */
        gap: 25px;
    }

    /* Scale down giant hero typography */
    .hero-section h2 {
        font-size: 2.5rem;
    }
}

/* ------------------------------------------
   SMARTPHONE BREAKPOINT (Screens under 600px)
   ------------------------------------------ */
@media screen and (max-width: 600px) {
    body {
        padding-top: 20px; /* Removes massive desktop top spacing */
    }

    /* Stack Navigation Layout */
    .main-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px 5%;
    }

    .nav-links ul {
        gap: 20px; /* Pulls links a bit closer together */
    }

    /* Transform Split Hero Panel to Single Column Stack */
    .hero-section {
        flex-direction: column;
        padding: 40px 5%;
        min-height: auto;
    }

    .hero-left {
        max-width: 100%;
        padding: 0 0 40px 0; /* Shifts padding to the bottom */
        text-align: center; /* Centers message for balanced mobile layout */
    }

    .hero-section h2 {
        font-size: 2.1rem;
    }

    .hero-section p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    /* Set Hero Workspace Panel to fit below text nicely */
    .hero-right {
        width: 100%;
        height: 300px; /* Shorter visual frame for mobile screens */
        border-radius: 6px;
    }

    .hero-image-overlay {
        /* Changes gradient to fade from top to bottom instead of left to right */
        background: linear-gradient(to bottom, var(--bg-primary) 0%, rgba(255, 255, 255, 0.4) 100%);
    }

    /* Clean mobile updates for portfolio display grids */
    .portfolio-grid {
        padding: 0 5% 60px 5%;
        grid-template-columns: 1fr; /* Enforces clean single column list */
        gap: 20px;
    }

    .item-image-placeholder {
        height: 200px; /* Slightly lower profile placeholder on phones */
    }

    /* Adjust page headline headers */
    .portfolio-intro h1,
    .portfolio-page-intro h1,
    .services-page-intro h1,
    .form-intro h1 {
        font-size: 2rem;
    }

    /* Compress contact form internals */
    .intake-form {
        padding: 25px 20px;
    }

    /* Tighten filter menu button spacing */
    .filter-bar {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}