/*
Theme Name: Cinemedia
Theme URI: https://cinemedia.com
Author: Cinemedia Team
Author URI: https://cinemedia.com
Description: A premium WordPress theme for Cinemedia - Cinematic coverage that sells your story. Features ACF integration for fully editable content, Portfolio custom post type, and modern dark design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cinemedia
Tags: dark, portfolio, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, one-column, theme-options

Cinemedia - Premium Visual Content Creation Theme
*/

/* ==================================================
   CSS VARIABLES & ROOT STYLES
   ================================================== */

:root {
    /* Brand Colors */
    --primary: #B20303;
    --primary-dark: #8B0202;
    --primary-light: #E60404;
    
    /* Base Colors */
    --background: #000000;
    --background-alt: #0a0a0a;
    --foreground: #FFFFFF;
    --foreground-muted: rgba(255, 255, 255, 0.7);
    --foreground-subtle: rgba(255, 255, 255, 0.5);
    
    /* UI Colors */
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --card-bg: rgba(255, 255, 255, 0.05);
    --overlay: rgba(0, 0, 0, 0.6);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 8rem;
    --section-padding-mobile: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ==================================================
   RESET & BASE STYLES
   ================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: transparent;
}

ul, ol {
    list-style: none;
}

/* ==================================================
   TYPOGRAPHY
   ================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--foreground-muted);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================================================
   LAYOUT & CONTAINERS
   ================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

.main-content {
    flex: 1;
}

/* ==================================================
   HEADER
   ================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all var(--transition-slow);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(178, 3, 3, 0.2);
    transition: transform var(--transition-base);
}

.site-logo:hover .logo-icon {
    transform: scale(1.05) rotate(5deg);
}

.logo-icon span {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    transition: color var(--transition-base);
}

.site-logo:hover .logo-text {
    color: var(--primary);
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: white;
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.current-menu-item,
.nav-menu .current-menu-item > a {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.current-menu-item::after,
.nav-menu .current-menu-item > a::after {
    width: 100%;
}

/* Header CTA */
.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: block;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: white;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 90;
    padding-top: 5rem;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* ==================================================
   BUTTONS
   ================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(178, 3, 3, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(178, 3, 3, 0.5);
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--background);
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ==================================================
   HERO SECTIONS
   ================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.5), var(--background));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-badge svg {
    color: var(--primary);
    width: 1rem;
    height: 1rem;
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Page Hero (smaller) */
.page-hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(178, 3, 3, 0.2), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: rotate 100s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================================================
   SECTIONS
   ================================================== */

.section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--section-padding) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Backgrounds */
.section-dark {
    background: var(--background);
}

.section-alt {
    background: linear-gradient(to bottom, var(--background), var(--background-alt), var(--background));
}

.section-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: rotate 60s linear infinite;
}

/* ==================================================
   CARDS
   ================================================== */

.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    transition: all var(--transition-slow);
}

.card:hover {
    border-color: rgba(178, 3, 3, 0.5);
    transform: translateY(-10px);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(178, 3, 3, 0.2), rgba(178, 3, 3, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.card:hover .card-icon {
    box-shadow: 0 8px 25px rgba(178, 3, 3, 0.2);
}

.card-icon svg,
.card-icon img {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

.card-title {
    color: white;
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

.card:hover .card-title {
    color: var(--primary);
}

.card-text {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==================================================
   GRID LAYOUTS
   ================================================== */

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grid-5 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ==================================================
   PORTFOLIO GRID
   ================================================== */

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.filter-btn.active {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(178, 3, 3, 0.3);
}

.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    border: 1px solid var(--border);
    transition: all var(--transition-slow);
}

.portfolio-item:hover {
    border-color: rgba(178, 3, 3, 0.5);
    transform: translateY(-10px) scale(1.02);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
    z-index: 10;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.portfolio-category {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
}

.portfolio-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-hover {
    opacity: 1;
}

.portfolio-brief {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-link {
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ==================================================
   STATS
   ================================================== */

.stat-card {
    text-align: center;
    padding: 2.5rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground-muted);
}

/* ==================================================
   SERVICES
   ================================================== */

.service-card {
    padding: 2rem 3rem;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-emoji {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-info h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.deliverables-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.deliverables-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.deliverable-check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(178, 3, 3, 0.3);
}

.deliverable-check svg {
    width: 0.875rem;
    height: 0.875rem;
    color: white;
}

.deliverable-item span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-meta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .service-meta {
        flex-direction: row;
        align-items: center;
    }
}

.turnaround-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
}

.turnaround-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--foreground-subtle);
    margin-bottom: 0.5rem;
}

.turnaround-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* ==================================================
   TESTIMONIALS
   ================================================== */

.testimonial {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(178, 3, 3, 0.2), rgba(178, 3, 3, 0.05));
    margin-bottom: 2rem;
}

.testimonial-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 500;
    color: white;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-size: 1.125rem;
    color: var(--foreground-muted);
}

/* ==================================================
   CONTACT
   ================================================== */

.contact-card {
    background: var(--background-alt);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: border-color var(--transition-base);
}

.contact-card:hover {
    border-color: var(--primary);
}

.contact-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(178, 3, 3, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
}

.contact-card a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: var(--background-alt);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9375rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: none;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--foreground-subtle);
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(178, 3, 3, 0.05));
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .site-logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    transition: all var(--transition-base);
}

.footer-menu a:hover {
    color: var(--primary);
    transform: translateX(4px);
    display: inline-block;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact a,
.footer-contact span {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--foreground-subtle);
}

/* ==================================================
   SINGLE PORTFOLIO
   ================================================== */

.portfolio-hero {
    position: relative;
    height: 600px;
    margin-bottom: 5rem;
    overflow: hidden;
}

.portfolio-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.portfolio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4), var(--background));
}

.portfolio-hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.portfolio-hero h1 {
    margin-bottom: 1.5rem;
}

.portfolio-category-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    text-transform: capitalize;
    box-shadow: 0 8px 25px rgba(178, 3, 3, 0.3);
}

.back-link {
    position: relative;
    z-index: 50;
    padding: 1.5rem 0;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground-muted);
    transition: color var(--transition-base);
}

.back-link a:hover {
    color: var(--primary);
}

.back-link svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition-base);
}

.back-link a:hover svg {
    transform: translateX(-4px);
}

.portfolio-brief-section {
    margin-bottom: 5rem;
}

.portfolio-brief-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.portfolio-brief-section p {
    font-size: 1.1875rem;
    line-height: 1.8;
    max-width: 800px;
}

.gallery-section {
    margin-bottom: 4rem;
}

.gallery-section h3 {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
}

.gallery-grid.landscape {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.gallery-grid.portrait {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.gallery-grid.mixed {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition-base);
}

.gallery-item:hover {
    border-color: rgba(178, 3, 3, 0.5);
}

.gallery-item.landscape {
    aspect-ratio: 3/2;
}

.gallery-item.portrait {
    aspect-ratio: 2/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

/* ==================================================
   BLOG
   ================================================== */

.posts-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.post-card:hover {
    border-color: rgba(178, 3, 3, 0.5);
    transform: translateY(-5px);
}

.post-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    font-size: 0.8125rem;
    color: var(--foreground-subtle);
    margin-bottom: 0.75rem;
}

.post-card h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.75rem;
    transition: color var(--transition-base);
}

.post-card:hover h3 {
    color: var(--primary);
}

.post-excerpt {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Single Post */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.single-post-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-content .post-meta {
    margin-bottom: 2rem;
}

.post-featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 3rem;
}

.post-body {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.post-body p {
    color: var(--foreground-muted);
    margin-bottom: 1.5rem;
}

.post-body h2, .post-body h3, .post-body h4 {
    color: white;
    margin: 2rem 0 1rem;
}

.post-body ul, .post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body li {
    color: var(--foreground-muted);
    margin-bottom: 0.5rem;
}

.post-body a {
    color: var(--primary);
}

.post-body a:hover {
    text-decoration: underline;
}

.post-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.post-body img {
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

/* ==================================================
   ANIMATIONS
   ================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    padding: 0.25rem;
    display: flex;
    justify-content: center;
}

.scroll-indicator-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: white;
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ==================================================
   UTILITIES
   ================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-20 { padding-top: 5rem; }

.hidden { display: none; }

@media (max-width: 767px) {
    .hidden-mobile { display: none; }
}

@media (min-width: 768px) {
    .hidden-desktop { display: none; }
}

/* WordPress specific */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.alignnone { margin: 1rem 0; }
.aligncenter { display: block; margin: 1rem auto; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }

.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-size: 0.875rem;
    color: var(--foreground-subtle);
    text-align: center;
    margin-top: 0.5rem;
}
