/* ==========================================================================
   Ian Pirner - Central Stylesheet
   A 70s-inspired design language combining EPCOT and Chicago CTA aesthetics
   ========================================================================== */

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

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

/* ==========================================================================
   CSS Custom Properties (Color Palette)
   ========================================================================== */

:root {
    /* 70s Sunset Palette */
    --sunset-red: #D94F3D;
    --burnt-orange: #E87251;
    --warm-orange: #F09361;
    --tangerine: #F7AD6F;
    --mustard: #F7C76F;
    --golden-yellow: #F9D976;
    --teal-70s: #3D9C9C;
    --sage-green: #7FA876;
    --deep-brown: #5C4033;
    --warm-brown: #8B6F47;
    --charcoal: #3A3B3C;
    --cream: #F5E6D3;
    --off-white: #FFF8F0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

body {
    font-family: 'Outfit', sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--cream);
}

h1, h2, h3, h4 {
    font-family: 'Righteous', sans-serif;
    font-weight: 400;
}

/* ==========================================================================
   Navigation / Header
   ========================================================================== */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--charcoal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 4px solid var(--burnt-orange);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
}

.logo {
    font-family: 'Righteous', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--mustard);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.logo:hover {
    color: var(--golden-yellow);
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--burnt-orange);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--burnt-orange);
}

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

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

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 3rem;
    text-align: center;
    border-top: 8px solid var(--burnt-orange);
}

footer p {
    opacity: 0.9;
    font-size: 1rem;
}

/* ==========================================================================
   Mobile Menu / Hamburger
   ========================================================================== */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--cream);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ==========================================================================
   Homepage Styles (index.html)
   ========================================================================== */

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
        var(--charcoal) 0%,
        var(--charcoal) 30%,
        var(--deep-brown) 50%,
        var(--sunset-red) 65%,
        var(--burnt-orange) 75%,
        var(--warm-orange) 82%,
        var(--tangerine) 88%,
        var(--mustard) 94%,
        var(--golden-yellow) 100%
    );
}

/* Animated geometric background */
.geo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.geo-shape {
    position: absolute;
    border-radius: 50%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 15px,
        rgba(255, 255, 255, 0.1) 15px,
        rgba(255, 255, 255, 0.1) 30px
    );
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3);
}

.shape-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -80px;
    animation: float 15s ease-in-out infinite reverse;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    right: 15%;
    animation: float 25s ease-in-out infinite;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95) rotate(-5deg);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.hero-text .tagline {
    font-size: 1.6rem;
    color: var(--mustard);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    font-style: italic;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--teal-70s);
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 0 var(--deep-brown), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cta-button:hover {
    background: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--deep-brown), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--deep-brown), 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Hero Visual - Circular Icons inspired by 70s Aperture */
.hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-icon {
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    font-weight: 700;
    text-align: center;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.3), 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* 70s Striped Circle Backgrounds - Aperture style */
.icon-1 {
    background: repeating-linear-gradient(
        0deg,
        var(--sunset-red) 0%,
        var(--sunset-red) 14%,
        var(--burnt-orange) 14%,
        var(--burnt-orange) 28%,
        var(--warm-orange) 28%,
        var(--warm-orange) 42%,
        var(--tangerine) 42%,
        var(--tangerine) 56%,
        var(--mustard) 56%,
        var(--mustard) 70%,
        var(--golden-yellow) 70%,
        var(--golden-yellow) 100%
    );
}

.icon-2 {
    background: repeating-linear-gradient(
        0deg,
        var(--teal-70s) 0%,
        var(--teal-70s) 20%,
        #4DAAA8 20%,
        #4DAAA8 40%,
        #5DB8B5 40%,
        #5DB8B5 60%,
        #76C9C6 60%,
        #76C9C6 80%,
        #8ED9D6 80%,
        #8ED9D6 100%
    );
}

.icon-3 {
    background: repeating-linear-gradient(
        0deg,
        var(--warm-brown) 0%,
        var(--warm-brown) 20%,
        #A08161 20%,
        #A08161 40%,
        #B59473 40%,
        #B59473 60%,
        #C9A685 60%,
        #C9A685 80%,
        #DDB897 80%,
        #DDB897 100%
    );
}

.icon-4 {
    background: repeating-linear-gradient(
        0deg,
        var(--sage-green) 0%,
        var(--sage-green) 20%,
        #8FB487 20%,
        #8FB487 40%,
        #9FC098 40%,
        #9FC098 60%,
        #AFCCA9 60%,
        #AFCCA9 80%,
        #BFD8BA 80%,
        #BFD8BA 100%
    );
}

.service-icon:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.3), 0 16px 40px rgba(0, 0, 0, 0.5);
}

.service-icon .icon-symbol {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    font-family: 'Arial', 'Helvetica', sans-serif;
    -webkit-text-fill-color: currentColor;
    color: var(--charcoal);
    filter: grayscale(100%);
}

.service-icon .icon-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    font-family: 'Righteous', sans-serif;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

/* About Preview Section */
.about-preview {
    padding: 6rem 3rem;
    background: var(--off-white);
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--sunset-red) 0px,
        var(--sunset-red) 40px,
        var(--burnt-orange) 40px,
        var(--burnt-orange) 80px,
        var(--tangerine) 80px,
        var(--tangerine) 120px,
        var(--mustard) 120px,
        var(--mustard) 160px,
        var(--teal-70s) 160px,
        var(--teal-70s) 200px
    );
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 3.5rem;
    color: var(--burnt-orange);
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--charcoal);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Expertise Grid */
.expertise-section {
    padding: 6rem 3rem;
    background: var(--cream);
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
}

.expertise-container h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--teal-70s);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.expertise-card {
    background: var(--off-white);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    border: 4px solid var(--charcoal);
    position: relative;
    box-shadow: 8px 8px 0 var(--charcoal);
}

.expertise-card::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.expertise-card:nth-child(1)::after {
    background: var(--burnt-orange);
}

.expertise-card:nth-child(2)::after {
    background: var(--teal-70s);
}

.expertise-card:nth-child(3)::after {
    background: var(--mustard);
}

.expertise-card:nth-child(4)::after {
    background: var(--sage-green);
}

.expertise-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--charcoal);
}

.expertise-card:hover::after {
    transform: scale(1.2) rotate(180deg);
}

.expertise-card h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--charcoal);
}

.expertise-card p {
    color: #555;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ==========================================================================
   Photography Page Styles (photography.html)
   ========================================================================== */

/* Photography Hero */
body.photography-page .hero::before {
    content: '◉';
    position: absolute;
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Override hero styles for photography page */
body.photography-page .hero {
    min-height: 50vh;
    justify-content: center;
    background: linear-gradient(135deg,
        var(--charcoal) 0%,
        var(--deep-brown) 50%,
        var(--sunset-red) 100%
    );
}

body.photography-page .hero-content {
    text-align: center;
    grid-template-columns: 1fr;
    padding: 3rem;
}

body.photography-page .hero-content h1 {
    font-size: 5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

body.photography-page .hero-content p {
    font-size: 1.5rem;
    color: var(--mustard);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    font-weight: 500;
    margin-bottom: 0;
}

/* ==========================================================================
   Blog Page Styles (blog.html)
   ========================================================================== */

/* Blog Hero */
body.blog-page .hero::before {
    content: '✎';
    position: absolute;
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

body.blog-page .hero {
    min-height: 50vh;
    justify-content: center;
    background: linear-gradient(135deg,
        var(--charcoal) 0%,
        var(--teal-70s) 50%,
        var(--sage-green) 100%
    );
}

body.blog-page .hero-content {
    text-align: center;
    grid-template-columns: 1fr;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

body.blog-page .hero-content h1 {
    font-size: 5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

body.blog-page .hero-content p {
    font-size: 1.5rem;
    color: var(--mustard);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    font-weight: 500;
    margin-bottom: 0;
}

/* Blog List Section - styled like portfolio section */
body.blog-page {
    background: var(--off-white);
}

.blog-post-preview {
    padding: 6rem 3rem;
    background: var(--off-white);
    position: relative;
}

.blog-post-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--sunset-red) 0px,
        var(--sunset-red) 40px,
        var(--burnt-orange) 40px,
        var(--burnt-orange) 80px,
        var(--tangerine) 80px,
        var(--tangerine) 120px,
        var(--mustard) 120px,
        var(--mustard) 160px,
        var(--teal-70s) 160px,
        var(--teal-70s) 200px
    );
}

.blog-post-preview a {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--cream);
    border: 4px solid var(--charcoal);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 8px 8px 0 var(--charcoal);
    text-decoration: none;
    padding: 2rem;
}

.blog-post-preview a::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--burnt-orange);
    transition: all 0.4s ease;
}

.blog-post-preview a:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--charcoal);
}

.blog-post-preview a:hover::after {
    transform: scale(1.3) rotate(180deg);
}

.blog-post-preview h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    position: relative;
    z-index: 1;
}

.blog-post-preview time {
    font-size: 1rem;
    color: var(--teal-70s);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    position: relative;
    z-index: 1;
}

.post-featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--charcoal);
}

/* Video Page Hero Styles */
body.video-page .hero::before {
    content: '▶\FE0E';
    position: absolute;
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    font-family: 'Righteous', sans-serif;
    font-variant-emoji: text;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.video-page .hero {
    min-height: 50vh;
    justify-content: center;
    background: linear-gradient(135deg,
        var(--charcoal) 0%,
        var(--deep-brown) 50%,
        var(--sunset-red) 100%
    );
}

body.video-page .hero-content {
    text-align: center;
    grid-template-columns: 1fr;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

body.video-page .hero-content h1 {
    font-size: 5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

body.video-page .hero-content p {
    font-size: 1.5rem;
    color: var(--mustard);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    font-weight: 500;
    margin-bottom: 0;
}

/* Audio Page Hero Styles */
body.audio-page .hero::before {
    content: '♪';
    position: absolute;
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    font-family: 'Righteous', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.audio-page .hero {
    min-height: 50vh;
    justify-content: center;
    background: linear-gradient(135deg,
        var(--charcoal) 0%,
        var(--deep-brown) 50%,
        var(--burnt-orange) 100%
    );
}

body.audio-page .hero-content {
    text-align: center;
    grid-template-columns: 1fr;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

body.audio-page .hero-content h1 {
    font-size: 5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

body.audio-page .hero-content p {
    font-size: 1.5rem;
    color: var(--mustard);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    font-weight: 500;
    margin-bottom: 0;
}

/* Tech Page Hero Styles */
body.tech-page .hero::before {
    content: '⚡︎';
    position: absolute;
    font-size: 25rem;
    color: rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    font-family: 'Righteous', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.tech-page .hero {
    min-height: 50vh;
    justify-content: center;
    background: linear-gradient(135deg,
        var(--charcoal) 0%,
        var(--deep-brown) 50%,
        var(--sage-green) 100%
    );
}

body.tech-page .hero-content {
    text-align: center;
    grid-template-columns: 1fr;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

body.tech-page .hero-content h1 {
    font-size: 5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

body.tech-page .hero-content p {
    font-size: 1.5rem;
    color: var(--mustard);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    font-weight: 500;
    margin-bottom: 0;
}

/* Portfolio Grid Section */
.portfolio-section {
    padding: 6rem 3rem;
    background: var(--off-white);
    position: relative;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--sunset-red) 0px,
        var(--sunset-red) 40px,
        var(--burnt-orange) 40px,
        var(--burnt-orange) 80px,
        var(--tangerine) 80px,
        var(--tangerine) 120px,
        var(--mustard) 120px,
        var(--mustard) 160px,
        var(--teal-70s) 160px,
        var(--teal-70s) 200px
    );
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: var(--cream);
    border: 4px solid var(--charcoal);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 8px 8px 0 var(--charcoal);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.portfolio-item:nth-child(1)::after {
    background: var(--burnt-orange);
}

.portfolio-item:nth-child(2)::after {
    background: var(--teal-70s);
}

.portfolio-item:nth-child(3)::after {
    background: var(--mustard);
}

.portfolio-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--charcoal);
}

.portfolio-item:hover::after {
    transform: scale(1.3) rotate(180deg);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--charcoal);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.portfolio-content .client {
    font-size: 1rem;
    color: var(--teal-70s);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.portfolio-link {
    display: inline-block;
    color: var(--cream);
    background: var(--teal-70s);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--teal-70s);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.portfolio-link:hover {
    background: var(--sage-green);
    border-color: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Contact Page Styles (contact.html)
   ========================================================================== */

/* Contact Hero Section */
.contact-hero {
    margin-top: 80px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        var(--teal-70s) 0%,
        var(--sage-green) 30%,
        var(--warm-orange) 60%,
        var(--burnt-orange) 85%,
        var(--sunset-red) 100%
    );
}

/* Contact page geo shapes with different gradient */
.contact-hero .geo-shape {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 15px,
        rgba(255, 255, 255, 0.1) 15px,
        rgba(255, 255, 255, 0.1) 30px
    );
}

.contact-hero .shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: 10%;
    animation: float 18s ease-in-out infinite;
}

.contact-hero .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: 5%;
    animation: float 22s ease-in-out infinite reverse;
}

.contact-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 3rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 4rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.contact-hero-content p {
    font-size: 1.4rem;
    color: var(--cream);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 3rem;
    background: var(--off-white);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--sunset-red) 0px,
        var(--sunset-red) 40px,
        var(--burnt-orange) 40px,
        var(--burnt-orange) 80px,
        var(--tangerine) 80px,
        var(--tangerine) 120px,
        var(--mustard) 120px,
        var(--mustard) 160px,
        var(--teal-70s) 160px,
        var(--teal-70s) 200px
    );
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--cream);
    padding: 4rem;
    border: 4px solid var(--charcoal);
    box-shadow: 12px 12px 0 var(--charcoal);
    position: relative;
}

.form-container::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--burnt-orange);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.form-container h2 {
    font-size: 2.5rem;
    color: var(--teal-70s);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Style the embedded form */
#qikadmin-contact-form {
    position: relative;
    z-index: 1;
}

/* qikAdmin Form Styling */
.qikadmin-contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qikadmin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qikadmin-form-group label {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qikadmin-required {
    color: var(--sunset-red);
    font-weight: 700;
}

.qikadmin-form-group input[type="text"],
.qikadmin-form-group input[type="email"],
.qikadmin-form-group input[type="phone"],
.qikadmin-form-group textarea {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    padding: 1rem 1.2rem;
    border: 3px solid var(--charcoal);
    background: var(--off-white);
    color: var(--charcoal);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.qikadmin-form-group input:focus,
.qikadmin-form-group textarea:focus {
    outline: none;
    border-color: var(--teal-70s);
    background: #fff;
    box-shadow: 6px 6px 0 rgba(61, 156, 156, 0.3);
    transform: translate(-2px, -2px);
}

.qikadmin-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.qikadmin-submit-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--teal-70s);
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 0 var(--deep-brown), 0 8px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    align-self: flex-start;
}

.qikadmin-submit-btn:hover {
    background: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--deep-brown), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.qikadmin-submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--deep-brown), 0 6px 15px rgba(0, 0, 0, 0.4);
}

.qikadmin-form-messages {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.qikadmin-form-messages.success {
    background: var(--sage-green);
    color: var(--cream);
    border: 3px solid var(--deep-brown);
}

.qikadmin-form-messages.error {
    background: var(--sunset-red);
    color: var(--cream);
    border: 3px solid var(--deep-brown);
}

/* Additional Info Section */
.contact-info-section {
    padding: 6rem 3rem;
    background: var(--cream);
    text-align: center;
}

.contact-info-section h2 {
    font-size: 3rem;
    color: var(--burnt-orange);
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.contact-info-section p {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.9;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: var(--off-white);
    padding: 2.5rem 2rem;
    border: 4px solid var(--charcoal);
    box-shadow: 8px 8px 0 var(--charcoal);
    transition: all 0.4s ease;
    position: relative;
}

.info-card::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.info-card:nth-child(1)::after {
    background: var(--burnt-orange);
}

.info-card:nth-child(2)::after {
    background: var(--teal-70s);
}

.info-card:nth-child(3)::after {
    background: var(--mustard);
}

.info-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--charcoal);
}

.info-card:hover::after {
    transform: scale(1.2) rotate(180deg);
}

.info-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   Gallery Page Styles (gallery-*.html)
   ========================================================================== */

/* Gallery Header */
.gallery-header {
    margin-top: 80px;
    padding: 4rem 3rem 2rem;
    background: var(--off-white);
    position: relative;
}

.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--sunset-red) 0px,
        var(--sunset-red) 40px,
        var(--burnt-orange) 40px,
        var(--burnt-orange) 80px,
        var(--tangerine) 80px,
        var(--tangerine) 120px,
        var(--mustard) 120px,
        var(--mustard) 160px,
        var(--teal-70s) 160px,
        var(--teal-70s) 200px
    );
}

.breadcrumb {
    max-width: 1400px;
    margin: 0 auto 2rem;
    font-size: 0.9rem;
    color: var(--teal-70s);
}

.breadcrumb a {
    color: var(--teal-70s);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--burnt-orange);
}

.gallery-title {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-title h1 {
    font-size: 4rem;
    color: var(--burnt-orange);
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.gallery-title p {
    font-size: 1.2rem;
    color: var(--charcoal);
    opacity: 0.8;
}

/* Gallery Grid */
.gallery-section {
    padding: 3rem 3rem 6rem;
    background: var(--cream);
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    background: var(--off-white);
    border: 3px solid var(--charcoal);
    box-shadow: 6px 6px 0 var(--charcoal);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--charcoal);
}

.photo-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    font-size: 3rem;
    color: var(--cream);
    cursor: pointer;
    font-weight: 300;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--burnt-orange);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--cream);
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--burnt-orange);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Video Shadowbox */
.video-shadowbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.video-shadowbox.active {
    display: flex;
}

.shadowbox-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shadowbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    font-size: 3rem;
    color: var(--cream);
    cursor: pointer;
    font-weight: 300;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.shadowbox-close:hover {
    color: var(--burnt-orange);
}

/* ==========================================================================
   404 Error Page Styles (404.html)
   ========================================================================== */

/* Error Hero Section */
.error-hero {
    margin-top: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        var(--charcoal) 0%,
        var(--deep-brown) 25%,
        var(--sunset-red) 50%,
        var(--burnt-orange) 75%,
        var(--warm-orange) 100%
    );
}

.error-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.error-number {
    font-family: 'Righteous', sans-serif;
    font-size: 12rem;
    color: var(--mustard);
    text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
    line-height: 1;
    opacity: 0.95;
}

.error-message h1 {
    font-size: 3.5rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.error-message p {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.error-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--cream);
    border-radius: 50px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
}

.cta-button-secondary:hover {
    background: var(--cream);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.4), 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cta-button-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.error-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.signal-lost {
    background: var(--charcoal);
    border: 4px solid var(--cream);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.15);
    }
}

.signal-icon {
    font-size: 5rem;
    color: var(--sunset-red);
    margin-bottom: 0.5rem;
    filter: grayscale(0%);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.signal-text {
    font-family: 'Righteous', sans-serif;
    font-size: 1.2rem;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

/* Helpful Links Section */
.helpful-links-section {
    padding: 6rem 3rem;
    background: var(--off-white);
    position: relative;
}

.helpful-links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--sunset-red) 0px,
        var(--sunset-red) 40px,
        var(--burnt-orange) 40px,
        var(--burnt-orange) 80px,
        var(--tangerine) 80px,
        var(--tangerine) 120px,
        var(--mustard) 120px,
        var(--mustard) 160px,
        var(--teal-70s) 160px,
        var(--teal-70s) 200px
    );
}

.helpful-links-container {
    max-width: 1400px;
    margin: 0 auto;
}

.helpful-links-container h2 {
    font-size: 3.5rem;
    color: var(--teal-70s);
    margin-bottom: 4rem;
    text-align: center;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.link-card {
    background: var(--cream);
    padding: 3rem 2rem;
    border: 4px solid var(--charcoal);
    text-align: center;
    text-decoration: none;
    color: var(--charcoal);
    transition: all 0.4s ease;
    box-shadow: 8px 8px 0 var(--charcoal);
    position: relative;
    display: block;
}

.link-card::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.link-card:nth-child(1)::after {
    background: var(--burnt-orange);
}

.link-card:nth-child(2)::after {
    background: var(--warm-brown);
}

.link-card:nth-child(3)::after {
    background: var(--teal-70s);
}

.link-card:nth-child(4)::after {
    background: var(--sage-green);
}

.link-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--charcoal);
}

.link-card:hover::after {
    transform: scale(1.3) rotate(180deg);
}

.link-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
    filter: grayscale(100%);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.link-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--charcoal);
}

.link-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* ==========================================================================
   Tech Page Styles (tech.html)
   ========================================================================== */

/* Tech Services Section */
.tech-services-section {
    padding: 6rem 3rem;
    background: var(--off-white);
    position: relative;
}

.tech-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--sunset-red) 0px,
        var(--sunset-red) 40px,
        var(--burnt-orange) 40px,
        var(--burnt-orange) 80px,
        var(--tangerine) 80px,
        var(--tangerine) 120px,
        var(--mustard) 120px,
        var(--mustard) 160px,
        var(--teal-70s) 160px,
        var(--teal-70s) 200px
    );
}

.tech-services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-intro {
    text-align: center;
    margin-bottom: 5rem;
}

.services-intro h2 {
    font-size: 3.5rem;
    color: var(--sage-green);
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.services-intro p {
    font-size: 1.3rem;
    color: var(--charcoal);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

.tech-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.tech-service-card {
    background: var(--cream);
    padding: 3rem 2.5rem;
    border: 4px solid var(--charcoal);
    position: relative;
    box-shadow: 8px 8px 0 var(--charcoal);
    transition: all 0.4s ease;
}

.tech-service-card::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.tech-service-card:nth-child(1)::after {
    background: var(--burnt-orange);
}

.tech-service-card:nth-child(2)::after {
    background: var(--teal-70s);
}

.tech-service-card:nth-child(3)::after {
    background: var(--sage-green);
}

.tech-service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--charcoal);
}

.tech-service-card:hover::after {
    transform: scale(1.3) rotate(180deg);
}

.service-icon-large {
    font-size: 4rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
    filter: grayscale(100%);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.tech-service-card h3 {
    font-size: 2.2rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
}

.tech-service-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 2rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 1rem;
    color: var(--charcoal);
    padding: 0.8rem 0;
    border-bottom: 2px solid var(--off-white);
    position: relative;
    padding-left: 2rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal-70s);
    font-weight: 700;
    font-size: 1.2rem;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Tech CTA Section */
.tech-cta-section {
    padding: 6rem 3rem;
    background: var(--cream);
    text-align: center;
}

.tech-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.tech-cta-content h2 {
    font-size: 3.5rem;
    color: var(--burnt-orange);
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.tech-cta-content p {
    font-size: 1.3rem;
    color: var(--charcoal);
    line-height: 1.9;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Blog Post Page Styles (blog/*.html)
   ========================================================================== */

/* Blog Post Container */
.blog-post {
    margin-top: 80px;
    padding: 4rem 3rem 6rem;
    background: var(--cream);
    min-height: 70vh;
}

.blog-post article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--off-white);
    border: 4px solid var(--charcoal);
    box-shadow: 12px 12px 0 var(--charcoal);
    position: relative;
}

.blog-post article::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--burnt-orange);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* Post Header */
.post-header {
    padding: 3rem 3rem 2rem;
    border-bottom: 3px solid var(--charcoal);
    background: var(--cream);
    position: relative;
    z-index: 1;
}

.post-header h1 {
    font-size: 3rem;
    color: var(--teal-70s);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.post-date {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--burnt-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Post Content */
.post-content {
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.post-content p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-size: 2.2rem;
    color: var(--burnt-orange);
    margin: 2.5rem 0 1.5rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.post-content h3 {
    font-size: 1.8rem;
    color: var(--teal-70s);
    margin: 2rem 0 1rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.9;
}

.post-content li {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 0.8rem;
}

.post-content a {
    color: var(--teal-70s);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--teal-70s);
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: var(--burnt-orange);
    border-bottom-color: var(--burnt-orange);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--charcoal);
    margin: 2rem 0;
    box-shadow: 6px 6px 0 var(--charcoal);
}

.post-content blockquote {
    border-left: 6px solid var(--burnt-orange);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--cream);
    font-style: italic;
    color: var(--charcoal);
}

.post-content code {
    background: var(--cream);
    padding: 0.2rem 0.5rem;
    border: 2px solid var(--charcoal);
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

.post-content pre {
    background: var(--charcoal);
    color: var(--cream);
    padding: 1.5rem;
    margin: 2rem 0;
    border: 3px solid var(--charcoal);
    overflow-x: auto;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.post-content pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--cream);
}

/* Post Footer */
.post-footer {
    padding: 2rem 3rem 3rem;
    border-top: 3px solid var(--charcoal);
    background: var(--cream);
    position: relative;
    z-index: 1;
}

.back-to-blog {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--teal-70s);
    color: var(--cream);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 0 var(--deep-brown), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.back-to-blog:hover {
    background: var(--sage-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--deep-brown), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.back-to-blog:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--deep-brown), 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Responsive / Mobile Styles
   ========================================================================== */

@media (max-width: 968px) {
    /* Homepage */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-icon {
        padding: 1.2rem;
    }

    .service-icon .icon-symbol {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .service-icon .icon-label {
        font-size: 0.85rem;
        letter-spacing: 1px;
        word-break: keep-all;
        white-space: nowrap;
    }

    /* Navigation */
    nav ul {
        position: fixed;
        top: 88px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 88px);
        background: var(--charcoal);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        border-top: 4px solid var(--burnt-orange);
    }

    nav ul.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--mustard);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--mustard);
    }

    /* About & Expertise */
    .about-content h2,
    .expertise-container h2 {
        font-size: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    /* Photography page */
    body.photography-page .hero-content h1 {
        font-size: 3rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-link {
        -webkit-tap-highlight-color: rgba(125, 168, 118, 0.3);
        cursor: pointer;
        touch-action: manipulation;
    }

    /* Blog page */
    body.blog-page .hero-content h1 {
        font-size: 3rem;
    }

    body.blog-page .hero::before {
        font-size: 15rem;
        opacity: 0.8;
    }

    .blog-post-preview {
        padding: 3rem 1.5rem;
    }

    .blog-post-preview a {
        padding: 1.5rem;
        box-shadow: 6px 6px 0 var(--charcoal);
    }

    .blog-post-preview a:hover {
        box-shadow: 9px 9px 0 var(--charcoal);
    }

    .blog-post-preview h2 {
        font-size: 1.6rem;
    }

    .blog-post-preview time {
        font-size: 0.9rem;
    }

    /* Contact page */
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-hero-content p {
        font-size: 1.1rem;
    }

    .form-container {
        padding: 2.5rem 1.5rem;
    }

    .contact-info-section h2 {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery pages */
    .gallery-title h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    /* Video page */
    body.video-page .hero-content h1 {
        font-size: 3rem;
    }

    body.video-page .hero::before {
        font-size: 15rem;
        opacity: 0.8;
    }

    /* Audio page */
    body.audio-page .hero-content h1 {
        font-size: 3rem;
    }

    body.audio-page .hero::before {
        font-size: 15rem;
        opacity: 0.8;
    }

    /* Tech page */
    body.tech-page .hero-content h1 {
        font-size: 3rem;
    }

    body.tech-page .hero::before {
        font-size: 15rem;
        opacity: 0.8;
    }

    .tech-services-grid {
        grid-template-columns: 1fr;
    }

    .services-intro h2,
    .tech-cta-content h2 {
        font-size: 2.5rem;
    }

    .services-intro p,
    .tech-cta-content p {
        font-size: 1.1rem;
    }

    .tech-service-card h3 {
        font-size: 1.8rem;
    }

    .tech-service-card p {
        font-size: 1rem;
    }

    .service-icon-large {
        font-size: 3rem;
    }

    /* 404 page */
    .error-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .error-number {
        font-size: 8rem;
    }

    .error-message h1 {
        font-size: 2.5rem;
    }

    .error-message p {
        font-size: 1.1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .signal-lost {
        width: 150px;
        height: 150px;
    }

    .signal-icon {
        font-size: 3.5rem;
    }

    .signal-text {
        font-size: 1rem;
    }

    .helpful-links-container h2 {
        font-size: 2.5rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .shadowbox-content {
        max-width: 95%;
        padding: 0 1rem;
    }

    .shadowbox-close {
        top: -2.5rem;
        font-size: 2.5rem;
        -webkit-tap-highlight-color: rgba(233, 114, 81, 0.3);
        cursor: pointer;
        touch-action: manipulation;
    }

    .video-shadowbox {
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .video-container {
        padding-bottom: 56.25%;
    }

    .video-container iframe {
        touch-action: pan-y;
    }

    /* Blog post page */
    .blog-post {
        padding: 2rem 1.5rem 4rem;
    }

    .blog-post article {
        box-shadow: 8px 8px 0 var(--charcoal);
    }

    .post-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-date {
        font-size: 0.95rem;
    }

    .post-content {
        padding: 2rem 1.5rem;
    }

    .post-content p {
        font-size: 1.1rem;
    }

    .post-content h2 {
        font-size: 1.8rem;
        margin: 2rem 0 1rem;
    }

    .post-content h3 {
        font-size: 1.5rem;
    }

    .post-footer {
        padding: 1.5rem;
    }

    .back-to-blog {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    /* Hide reCAPTCHA badge on mobile */
    .grecaptcha-badge {
        display: none!important;
    }
}

/* ==========================================================================
   WorldKey Information Terminal Easter Egg Styles
   Authentic 1982 EPCOT WorldKey System Recreation
   ========================================================================== */

/* WorldKey Overlay */
#worldkey-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

/* WorldKey Terminal Window */
#worldkey-terminal {
    width: 90%;
    max-width: 800px;
    max-height: 600px;
    aspect-ratio: 490 / 360;
    background: #000;
    border: 12px solid #0066CC;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 102, 204, 0.6);
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
}

/* CRT Screen Scanlines Effect */
#worldkey-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.05) 2px,
        transparent 2px,
        transparent 4px
    );
    pointer-events: none;
    z-index: 100;
}

/* WorldKey Header */
#worldkey-header {
    background: #000;
    border-bottom: 2px solid #0066CC;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 10;
}

#worldkey-branding {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.bell-logo {
    font-size: 3rem;
    color: #0066CC;
}

.worldkey-title {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: #0066CC;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* WorldKey Screen */
#worldkey-screen {
    flex: 1;
    background: #000;
    overflow-y: auto;
    position: relative;
    z-index: 5;
}

#worldkey-screen::-webkit-scrollbar {
    width: 12px;
}

#worldkey-screen::-webkit-scrollbar-track {
    background: #000;
}

#worldkey-screen::-webkit-scrollbar-thumb {
    background: #0066CC;
}

#worldkey-content {
    padding: 2rem;
    min-height: 100%;
    transition: opacity 0.2s ease;
}

/* WorldKey Navigation Panel */
#worldkey-nav-panel {
    background: #000;
    border-top: 2px solid #0066CC;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    position: relative;
    z-index: 10;
}

.worldkey-nav-btn {
    background: #0066CC;
    border: 3px solid #0088EE;
    color: #FFF;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.worldkey-nav-btn:hover:not(:disabled) {
    background: #0088EE;
    border-color: #00AAFF;
}

.worldkey-nav-btn:active:not(:disabled) {
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(2px);
}

.worldkey-nav-btn:disabled {
    background: #003366;
    border-color: #004488;
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

/* WorldKey Attract Screen */
.worldkey-attract {
    text-align: center;
    padding: 3rem 2rem;
}

.worldkey-bell-system {
    margin-bottom: 2rem;
}

.bell-circle {
    font-size: 5rem;
    color: #0066CC;
    margin-bottom: 0.5rem;
}

.bell-text {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #0066CC;
    letter-spacing: 3px;
}

.worldkey-main-heading {
    font-family: 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: bold;
    color: #0066CC;
    letter-spacing: 8px;
    margin: 2rem 0 1rem;
}

.worldkey-sub-heading {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #0088EE;
    letter-spacing: 4px;
    margin-bottom: 3rem;
}

.worldkey-instruction {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #0066CC;
    letter-spacing: 2px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0.3;
    }
}

/* WorldKey Menu */
.worldkey-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem 2rem 2rem;
}

.worldkey-menu-item {
    background: #0066CC;
    border: 4px solid #0088EE;
    color: #FFF;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.worldkey-menu-item:hover {
    background: #0088EE;
    border-color: #00AAFF;
    transform: translateY(-2px);
}

.worldkey-menu-item:active {
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(2px);
}

.menu-icon {
    font-size: 2.5rem;
}

.menu-label {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* WorldKey Loading */
.worldkey-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.worldkey-loading-text {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #0066CC;
    letter-spacing: 2px;
    animation: blink 1s ease-in-out infinite;
}

/* WorldKey Info View */
.worldkey-info-view {
    padding: 2rem;
}

.worldkey-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #0066CC;
}

.info-icon {
    font-size: 3rem;
    color: #0066CC;
}

.info-title {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: #0066CC;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.worldkey-info-content {
    margin-bottom: 2rem;
}

.info-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #0088EE;
}

.info-text p {
    margin-bottom: 1.5rem;
}

.worldkey-info-actions {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #0066CC;
}

.worldkey-info-btn {
    background: #0066CC;
    border: 4px solid #0088EE;
    color: #FFF;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem 2.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.worldkey-info-btn:hover {
    background: #0088EE;
    border-color: #00AAFF;
}

.worldkey-info-btn:active {
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(2px);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    #worldkey-terminal {
        width: 95%;
        max-width: 95%;
        height: 90vh;
        max-height: 90vh;
        aspect-ratio: auto;
        border: 8px solid #0066CC;
    }

    #worldkey-header {
        padding: 1rem;
    }

    #worldkey-branding {
        gap: 1rem;
    }

    .bell-logo {
        font-size: 2rem;
    }

    .worldkey-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    #worldkey-content {
        padding: 1.5rem 1rem;
    }

    .worldkey-main-heading {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .worldkey-sub-heading {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .worldkey-menu {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1rem;
    }

    .worldkey-menu-item {
        padding: 1.2rem 1rem;
    }

    .menu-icon {
        font-size: 2rem;
    }

    .menu-label {
        font-size: 0.9rem;
    }

    #worldkey-nav-panel {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .worldkey-nav-btn {
        font-size: 0.75rem;
        padding: 0.6rem 0.5rem;
    }

    .info-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .info-text {
        font-size: 1rem;
    }

    .worldkey-info-btn {
        font-size: 0.85rem;
        padding: 0.8rem 1.5rem;
    }
}
