/*
Theme Name: Lithic Innovations
Version: 4.5
Description: Includes both Lithic Innovations and Lithic Living pages - Added Lithic Living logo
*/
:root {
    --stone-dark: #2c3540;
    --stone-medium: #3d4855;
    --stone-light: #5a6775;
    --blue-primary: #4a7ba7;
    --blue-bright: #6b9dcf;
    --gray-mist: #8fa3b5;
    --off-white: #f5f7fa;
    --pure-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--stone-dark);
    color: var(--off-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated mesh gradient background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(74, 123, 167, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(107, 157, 207, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--stone-dark) 0%, #1a2028 100%);
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Geometric pattern overlay */
.geometric-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.03;
    background-image: 
        linear-gradient(30deg, transparent 48%, var(--blue-primary) 49%, var(--blue-primary) 51%, transparent 52%),
        linear-gradient(150deg, transparent 48%, var(--blue-primary) 49%, var(--blue-primary) 51%, transparent 52%);
    background-size: 80px 80px;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    padding: 30px 0;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 200px;
    height: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--gray-mist);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-bright);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--pure-white);
}

nav a:hover::after {
    width: 100%;
}

/* Active menu styling */
nav .current-menu-item a,
nav .current_page_item a,
nav .current-page-ancestor a,
nav .current-menu-ancestor a,
nav .active-menu a {
    color: var(--pure-white);
}

nav .current-menu-item a::after,
nav .current_page_item a::after,
nav .current-page-ancestor a::after,
nav .current-menu-ancestor a::after,
nav .active-menu a::after {
    width: 100%;
}

.cta-button {
    background: var(--blue-primary);
    color: var(--pure-white);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 123, 167, 0.3);
}

.cta-button:hover {
    background: var(--blue-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 157, 207, 0.4);
}

.cta-button::after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 120px 0 150px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(48px, 7vw, 92px);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--blue-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--gray-mist);
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.3px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.btn-primary {
    background: var(--blue-primary);
    color: var(--pure-white);
    padding: 18px 42px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 30px rgba(74, 123, 167, 0.4);
}

.btn-primary:hover {
    background: var(--blue-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(107, 157, 207, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    padding: 18px 42px;
    border: 2px solid var(--stone-light);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: var(--blue-primary);
    background: rgba(74, 123, 167, 0.1);
    transform: translateY(-3px);
}

/* Services Grid */
.services {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out both;
}

.section-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--blue-bright);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    color: var(--pure-white);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-mist);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: rgba(61, 72, 85, 0.4);
    border: 1px solid rgba(107, 157, 207, 0.1);
    border-radius: 0;
    padding: 40px 50px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 150px;
    border-bottom: 1px solid rgba(107, 157, 207, 0.15);
}

.service-card:first-child {
    border-radius: 16px 16px 0 0;
    border-top: 1px solid rgba(107, 157, 207, 0.15);
}

.service-card:last-child {
    border-radius: 0 0 16px 16px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 123, 167, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    background: rgba(61, 72, 85, 0.6);
    border-color: rgba(107, 157, 207, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(10px);
}

.service-card:hover::before {
    opacity: 1;
}

/* Service card hover image background */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: var(--service-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::after {
    opacity: 0.2;
}

.service-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--blue-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--blue-bright);
    transform: scale(1.1) rotate(5deg);
}

.service-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--pure-white);
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--gray-mist);
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: rgba(26, 32, 40, 0.5);
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    animation: fadeInUp 1s ease-out both;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.process-step::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: var(--blue-primary);
    opacity: 0.3;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
    border-radius: 50%;
    line-height: 60px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(74, 123, 167, 0.3);
}

.process-step h4 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--pure-white);
}

.process-step p {
    color: var(--gray-mist);
    font-size: 15px;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out both;
}

.cta-section h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: 30px;
    color: var(--pure-white);
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 20px;
    color: var(--gray-mist);
    margin-bottom: 50px;
}

/* Footer */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(107, 157, 207, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: var(--gray-mist);
    margin: 20px 0;
    line-height: 1.7;
}

.footer-column h5 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--pure-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--gray-mist);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--blue-bright);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(107, 157, 207, 0.05);
    color: var(--gray-mist);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .logo-container {
        flex-direction: column;
        gap: 30px;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
    </style>

/* WordPress Menu Styling Fix */
nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--gray-mist);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-bright);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--pure-white);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Active page indicator */
nav ul li.current-menu-item a,
nav ul li.current_page_item a,
nav ul li.active-menu a {
    color: var(--pure-white);
}

nav ul li.current-menu-item a::after,
nav ul li.current_page_item a::after,
nav ul li.active-menu a::after {
    width: 100%;
    background: var(--blue-bright);
}

nav .menu {
    list-style: none;
}

/* Remove geometric pattern from pages to prevent showing through images */
body.page .geometric-overlay,
body.single .geometric-overlay {
    display: none;
}
