/*
Theme Name: Promised Land Custom
Theme URI: https://promisedlandinc.com
Author: Promised Land Inc
Author URI: https://promisedlandinc.com
Description: A custom WordPress theme for Promised Land Inc, an innovative construction company and parent brand for a family of brands.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: promised-land-custom
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===================================
   CSS Variables & Color Scheme
   =================================== */
:root {
    --primary-bg: #142430;
    --secondary-bg: #142430;
    --dark-blue-grey: #142430;
    --text-light: #ecf0f1;
    --text-white: #ffffff;
    --border-color: #4a5f7f;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Zalando Sans SemiExpanded', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    scroll-behavior: smooth;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Layout
   =================================== */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    background-color: #000;
    flex: 1;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    margin: 0 auto;
}

/* ===================================
   Header
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 1vh 0;
    height: 10vh;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.header-menu li {
    margin: 0;
}

.header-menu a {
    color: var(--text-white);
    opacity: 0.9;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.header-menu a:hover {
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: transparent;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    margin: 3px 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 10vh;
    left: 0;
    right: 0;
    background-color: rgba(20, 36, 48, 0.98);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
}

.mobile-menu.active {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    padding: 2rem;
}

.mobile-menu-section {
    margin-bottom: 2rem;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list a {
    display: block;
    color: var(--text-white);
    opacity: 0.9;
    text-decoration: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.mobile-menu-list a:hover {
    opacity: 1;
}

.header-logo {
    max-width: 300px;
    height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo a {
    display: block;
    line-height: 0;
}

.header-logo img {
    width: auto;
    max-width: 100%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
}

/* Logo Color Filters */
.header-logo img.logo-color-black {
    filter: brightness(0);
}

.header-logo img.logo-color-white {
    filter: brightness(0) invert(1);
}

.header-logo img.logo-color-default {
    filter: none;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .site-header {
        height: auto;
        min-height: 10vh;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .header-logo {
        order: 1;
    }
    
    .header-nav {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .header-nav-left,
    .header-nav-right {
        width: auto;
    }
    
    .header-menu {
        gap: 1rem;
    }
    
    .header-menu a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 6rem;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    .header-container {
        justify-content: center;
        height: 100%;
    }
    
    .header-nav,
    .header-nav-left,
    .header-nav-right {
        display: none !important;
    }
    
    .header-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-menu {
        top: 6rem;
    }
    
    .header-logo {
        max-width: 200px;
    }
    
    .header-logo img {
        max-height: 60px;
    }
}

/* ===================================
   Landing Page Sections
   =================================== */
.landing-page {
    padding: 0;
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
}

.company-hero {
    width: 20%;
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.company-hero:last-child {
    border-right: none;
}

/* Background image layer with opacity */
.section-bg-image {
    position: absolute;
    top: -40%;
    left: 0;
    width: 100%;
    height: 180%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 0;
    will-change: transform;
}

.company-hero:hover .section-bg-image {
    opacity: 1;
}

.company-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

.company-logo {
    max-width: 100%;
    width: 100%;
    margin-bottom: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    width: 100%;
    height: auto;
    max-width: 10vw;
    max-height: 30vh;
    object-fit: contain;
}

/* Section Alt Text */
.company-alt-text {
    max-width: 100%;
    width: 100%;
    margin-bottom: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.company-alt-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    text-transform: uppercase;
}

/* Company Buttons */
.company-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    position: absolute;
    top: 35vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: auto;
}

.company-btn {
    grid-column: span 1;
}

.company-btn-cta {
    grid-column: span 2;
}

/* Center the Why? button when Go button is not present */
.company-buttons:not(:has(.company-btn-go)) .company-btn-about {
    grid-column: span 2;
}

/* Section Logo Color Filters */
.company-logo img.logo-color-black {
    filter: brightness(0);
}

.company-logo img.logo-color-white {
    filter: brightness(0) invert(1);
}

.company-logo img.logo-color-default {
    filter: none;
}

/* Add overlay effect to make logos more visible */
.company-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Responsive adjustments for brand sections */
@media (max-width: 1200px) {
    .company-logo img {
        max-width: 200px;
        max-height: 50vh;
    }
    
    .company-alt-text h2 {
        font-size: 2rem;
    }
    
    .company-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (min-width: 769px) and (max-width: 1550px) {
    .company-alt-text h2{
        font-size: 1.2rem;
    }

    /* Display company buttons in a single column */
    .company-buttons {
        top: 30vh;
        grid-template-columns: 1fr;
        width: 90%;
    }
    .company-btn {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .company-btn-cta {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .landing-page {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }
    
    .company-hero {
        width: 100%;
        height: 4vh;
        min-height: 400px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
    }
    
    .company-hero:last-child {
        border-bottom: none;
    }
    
    .company-logo img {
        max-width: 200px;
        max-height: 200px;
    }
    
    .company-alt-text h2 {
        font-size: 1.75rem;
    }
    
    .company-buttons {
        top: 15rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .company-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.25rem;
        grid-column: span 1;
    }

    .company-btn-cta {
        grid-column: span 2;
        grid-row: 2;
    }
}

@media (max-width: 480px) {
    .company-logo img {
        max-width: 300px;
        max-height: 200px;
    }
    
    .company-alt-text h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
}

/* ===================================
   Promised Land Description
   =================================== */
.promised-land-description {
    background-color: var(--primary-bg);
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 2rem;
    background-color: rgba(0, 0, 0, 0.3);
}

.promised-land-description-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.promised-land-description-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.promised-land-description-content {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

.promised-land-description-content p {
    margin-bottom: 1.5rem;
}

.promised-land-description-content h2,
.promised-land-description-content h3,
.promised-land-description-content h4 {
    color: var(--text-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.promised-land-description-content ul,
.promised-land-description-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.promised-land-description-content li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .promised-land-description {
        padding: 8rem 1.5rem 3rem;
    }
    
    .promised-land-description-title {
        font-size: 2.5rem;
    }
    
    .promised-land-description-content {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .promised-land-description {
        padding: 8rem 1rem 2rem;
    }
    
    .promised-land-description-title {
        font-size: 2rem;
    }
    
    .promised-land-description-content {
        font-size: 1rem;
    }
}

/* ===================================
   Company Descriptions
   =================================== */
.company-descriptions {
    background-color: var(--primary-bg);
    width: 100%;
}

.company-description {
    scroll-margin-top: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid #000;
}

.company-description:last-child {
    border-bottom: none;
}

.company-description:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.3);
}

.company-description:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.5);
}

.company-description-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.company-description-header {
    text-align: center;
    margin-bottom: 3rem;
}

.company-description-logo {
    width: auto;
    height: 150px;
    max-width: 300px;
    margin: 0 auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.company-description-logo-alt-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.company-description-body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
}

.company-description-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
}

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

.company-description-content {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    flex: 1;
}

.company-description-content p {
    margin-bottom: 1.5rem;
}

.company-description-content h2,
.company-description-content h3,
.company-description-content h4 {
    color: var(--text-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.company-description-content ul,
.company-description-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.company-description-content li {
    margin-bottom: 0.5rem;
}

.company-description-footer {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .company-description {
        padding: 3rem 1.5rem;
    }
    
    .company-description-logo {
        height: 100px;
        max-width: 300px;
    }
    
    .company-description-logo-alt-text {
        font-size: 1.5rem;
    }
    
    .company-description-video {
        max-width: 100%;
    }
    
    .company-description-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .company-description {
        padding: 2rem 1rem;
    }
    
    .company-description-logo {
        height: 80px;
        max-width: 250px;
    }
    
    .company-description-logo-alt-text {
        font-size: 1.5rem;
    }
    
    .company-description-content {
        font-size: 0.95rem;
    }
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background-color: var(--primary-bg);
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.contact-section-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contact-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-section-content {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

.contact-section-content p {
    margin-bottom: 1.5rem;
}

.contact-section-content h2,
.contact-section-content h3,
.contact-section-content h4 {
    color: var(--text-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.contact-section-content ul,
.contact-section-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.contact-section-content li {
    margin-bottom: 0.5rem;
}

.contact-section-content a {
    color: var(--text-white);
    text-decoration: underline;
}

.contact-section-content a:hover {
    opacity: 0.8;
}

.wpcf7-form .wpcf7-submit {
    display: block;
    margin: 0 auto;
}

.wpcf7-form .wpcf7-spinner {
    display: none;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 5rem 1.5rem;
    }
    
    .contact-section-title {
        font-size: 2.5rem;
    }
    
    .contact-section-content {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 4rem 1rem;
    }
    
    .contact-section-title {
        font-size: 2rem;
    }
    
    .contact-section-content {
        font-size: 1rem;
    }
}

/* ===================================
   Content
   =================================== */
.post,
.page {
    background-color: var(--secondary-bg);
    margin-bottom: 2rem;
    border-radius: 8px;
}

.entry-wrapper {
    padding: 2rem;
}

.entry-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.entry-title {
    margin-bottom: 0.5rem;
    text-align: center;
}

.entry-title a {
    color: var(--text-white);
}

.entry-title a:hover {
    color: var(--text-light);
}

.entry-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.entry-meta a {
    color: var(--text-light);
}

.entry-content {
    margin-bottom: 1.5rem;
}

.entry-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* ===================================
   Company Logos Navigation
   =================================== */
.company-logo-nav {
    display: flex;
    gap: 4rem;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.company-logo-item {
    flex: 0 0 auto;
    transition: all 0.3s ease;
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

.company-logo-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.company-logo-item.active {
    opacity: 1;
    transform: scale(1.1);
}

.company-logo-item img {
    width: auto;
    height: 80px;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.company-logo-item.active img {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.company-logo-text {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.company-logo-item.active .company-logo-text {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .company-logo-nav {
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .company-logo-item img {
        height: 50px;
        max-width: 130px;
    }
    
    .company-logo-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .company-logo-nav {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .company-logo-item img {
        height: 40px;
        max-width: 100px;
    }
    
    .company-logo-text {
        font-size: 0.75rem;
    }
}

/* ===================================
   Buttons
   =================================== */
.btn,
button,
input[type="submit"],
input[type="button"] {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Zalando Sans SemiExpanded', 'Segoe UI', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    background: transparent;
    border: 2px solid var(--text-white);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.btn:disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover,
button:disabled:hover,
input[type="submit"]:disabled:hover,
input[type="button"]:disabled:hover {
    background: transparent;
    color: var(--text-white);
    transform: none;
    box-shadow: none;
}

/* ===================================
   Forms
   =================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea {
    background-color: var(--dark-blue-grey);
    color: var(--text-light);
    border: 2px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 4px;
    width: 100%;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--text-light);
}

/* ===================================
   Comments
   =================================== */
.comments-area {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 15px var(--shadow);
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--primary-bg);
    border-radius: 4px;
    border-left: 3px solid var(--border-color);
}

.comment-author {
    font-weight: 600;
    color: var(--text-white);
}

.comment-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    width: 100%;
    color: var(--text-light);
    padding: 1rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-branding {
    font-weight: 600;
    color: var(--text-white);
    font-size: 1.1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background-color: var(--secondary-bg);
    color: var(--text-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--border-color);
    color: var(--text-white);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .post,
    .page {
        padding: 1.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    padding: 0;
    background-color: var(--text-white);
    color: var(--dark-blue-grey);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-30px);
}

.back-to-top:hover {
    background-color: var(--text-light);
    transform: translateY(-35px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ===================================
   404 Not Found Page
   =================================== */
.error-404 {
    margin-top: 6rem;
}