/*
Theme Name: Blocksy Child - LODE Replica
Template: blocksy
Description: Child theme for LODE website replica with custom animations
Author: Your Name
Version: 1.0.0
*/

/* Import parent theme styles */
@import url('../blocksy/style.css');

/* ============================================
   LODE REPLICA - CUSTOM STYLES
   ============================================ */

/* CSS Variables for consistent design */
:root {
    --primary-bg: #ffffff;
    --primary-text: #000000;
    --secondary-text: #666666;
    --accent-color: #000000;
    --font-primary: 'Syne', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: 'Syne', "Helvetica Neue", Helvetica, Arial, sans-serif;
    --transition-speed: 0.6s;
    --transition-ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-text);
    background: var(--primary-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   LOADING SCREEN STYLES
   ============================================ */

#lode-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: #000;
    z-index: 2;
    animation: goTop 1.5s forwards;
}

.bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: #000;
    z-index: 2;
    animation: goBottom 1.5s forwards;
}

@keyframes goTop {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

@keyframes goBottom {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%);
    }
}

.loader-text {
    font-size: 18vw;
    font-weight: 700;
    color: #000;
    opacity: 0;
    line-height: 1;
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-family: 'Syne', "Arial Black", Impact, sans-serif;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.loader-text .char {
    display: inline-block;
    overflow: hidden;
}



/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */

body.loading #main-content {
    opacity: 0;
    min-height: 100vh;
}

body:not(.loading) #main-content {
    opacity: 1;
    min-height: 100vh;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}


/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.section-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: var(--secondary-text);
    max-width: 800px;
}

/* ============================================
   GRID LAYOUTS (for projects/work)
   ============================================ */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) var(--transition-ease);
}

.project-item:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform var(--transition-speed) var(--transition-ease);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

/* ============================================
   ANIMATIONS - Will be triggered by JS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-ease), 
                transform 0.8s var(--transition-ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 1.5rem;
    }
    
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    h2.section-title.featured-work-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 4rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

Hide body overflow during loading 
body.loading {
    overflow: hidden;
}


/* ============================================
   FOOTER STYLES - 4 Column Professional Layout
   ============================================ */

#lode-footer {
    background-color: #111111;
    color: #ffffff;
    padding: 80px 40px 40px;
    margin-top: 0;
}

.lode-footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 4 Column Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Column Styling */
.footer-column {
    /* No extra styles needed, grid handles layout */
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    color: #ffffff;
}

/* Column 1: CTA Text */
.footer-cta .footer-text {
    font-size: 16px;
    line-height: 1.7;
    color: #aaaaaa;
    font-weight: 300;
}

/* Column 2 & 3: Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 15px;
    font-weight: 300;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Column 4: Contact */
.contact-info {
    color: #aaaaaa;
}

.contact-email {
    margin-bottom: 8px;
}

.contact-email a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.contact-email a:hover {
    opacity: 0.7;
}

.response-time {
    font-size: 13px;
    color: #888888;
    margin-bottom: 24px;
    font-style: italic;
}

/* Book a Call Button */
.footer-cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.footer-cta-button:hover {
    background: transparent;
    color: #ffffff;
    opacity: 1;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #ffffff;
    margin: 0;
}

.copyright {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
    
    .footer-cta {
        grid-column: 1 / -1; /* Span full width on tablet */
    }
}

@media (max-width: 768px) {
    #lode-footer {
        padding: 60px 24px 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}