/*
Theme Name: Thème Techno-Solution
Description: Un thème WordPress basé sur le design du site Techno-Solution
Version: 1.0
Author: Phil Informatique
Text Domain: techno-solution
*/

/* Local Fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/Inter-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/Inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/Inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/Inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/Inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/JetBrainsMono-400.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/JetBrainsMono-500.ttf') format('truetype');
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --header-height: 80px;
    --site-banner-height: 48px;
}

/* Responsive header height */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f1f5f9 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

/* Entry Title Styles */
.entry-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
}

.entry-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Responsive entry-title styles */
@media (max-width: 768px) {
    .entry-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1.25rem;
    }
    
    .entry-title::after {
        width: 60px;
        height: 3px;
        bottom: -6px;
    }
}

@media (max-width: 480px) {
    .entry-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .entry-title::after {
        width: 50px;
        height: 3px;
        bottom: -5px;
    }
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

code, pre {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: var(--bg-dark);
    color: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Layout */
main {
    padding-top: var(--header-height);
}

.has-top-banner main {
    padding-top: calc(var(--header-height) + var(--site-banner-height));
}

header {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo {
    flex: 0 0 auto;
    transition: transform var(--transition-fast);
}

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

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.1));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    transition: background-color var(--transition-fast);
    border: none;
    background: transparent;
    outline: none;
}

.hamburger:hover {
    background-color: var(--bg-secondary);
}

.logo { flex: 0 0 auto; }
.hamburger { flex: 0 0 auto; }
.nav ul { flex: 1 1 auto; }

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all var(--transition-normal);
    border-radius: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    transition: left var(--transition-normal);
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}

section {
    padding: 5rem 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    nav {
        position: relative;
        padding: 0 15px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    }

    .hamburger:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    }

    .hamburger.active {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
    }

    nav ul {
        position: absolute;
        top: calc(100% + 10px);
        left: 15px;
        right: 15px;
        width: auto;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        display: none;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        padding: 25px 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 1001;
    }

    nav ul.active {
        display: flex;
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    nav ul li {
        margin: 0;
        width: 100%;
        position: relative;
    }

    nav ul li a {
        color: var(--text-primary) !important;
        font-weight: 500;
        font-size: 16px;
        padding: 16px 25px;
        display: block;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        margin: 2px 15px;
    }

    nav ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
        transition: left 0.5s ease;
    }

    nav ul li a:hover::before {
        left: 100%;
    }

    nav ul li a:hover {
        background: rgba(99, 102, 241, 0.05);
        color: var(--primary-color) !important;
        transform: translateX(4px);
    }

    /* Enhanced hamburger animation for mobile */
    .hamburger span {
        width: 20px;
        height: 2px;
        background: white;
        margin: 3px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 1px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

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

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile submenu styles - integrated in hamburger menu */
    nav ul li {
        position: relative;
        width: 100%;
    }

    nav ul li.has-children > a::after {
        content: '▸';
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: var(--primary-color);
        transition: all 0.3s ease;
        font-weight: bold;
    }

    nav ul li.has-children.submenu-open > a::after {
        transform: translateY(-50%) rotate(90deg);
        color: var(--primary-dark);
    }

    nav ul li.has-children > a:hover::after {
        color: var(--primary-dark);
    }

    nav ul li ul.sub-menu {
        display: none;
        background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.95));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin: 8px 15px 0 15px;
        padding: 0;
        width: auto;
        border-radius: 8px;
        border: 1px solid rgba(99, 102, 241, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        animation: submenuSlide 0.3s ease-out;
    }

    @keyframes submenuSlide {
        from {
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
            max-height: 0;
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
            max-height: 500px;
        }
    }

    nav ul li.submenu-open ul.sub-menu {
        display: block;
    }

    nav ul li ul.sub-menu li {
        border-bottom: 1px solid rgba(99, 102, 241, 0.08);
        background: transparent;
    }

    nav ul li ul.sub-menu li:last-child {
        border-bottom: none;
    }

    nav ul li ul.sub-menu li a {
        padding: 14px 30px !important;
        font-size: 14px;
        color: var(--text-secondary) !important;
        display: block;
        text-align: left;
        background: transparent;
        margin: 0;
        border-radius: 0;
        font-weight: 400;
        position: relative;
        transition: all 0.3s ease;
    }

    nav ul li ul.sub-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        transition: width 0.3s ease;
        z-index: -1;
    }

    nav ul li ul.sub-menu li a:hover::before {
        width: 100%;
    }

    nav ul li ul.sub-menu li a:hover {
        color: white !important;
        transform: translateX(0);
        box-shadow: none;
    }

    nav ul li ul.sub-menu li a:hover::after {
        content: '→';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        font-size: 12px;
        opacity: 0;
        animation: slideInArrow 0.3s ease forwards;
    }

    /* Ensure consistent styling for all levels of submenu items on mobile */
    nav ul li ul.sub-menu li ul.sub-menu li a,
    nav ul li ul.sub-menu li ul.sub-menu li ul.sub-menu li a {
        padding: 14px 30px !important;
        font-size: 14px;
        color: var(--text-secondary) !important;
        display: block;
        text-align: left;
        background: transparent;
        margin: 0;
        border-radius: 0;
        font-weight: 400;
        position: relative;
        transition: all 0.3s ease;
    }

    nav ul li ul.sub-menu li ul.sub-menu li a::before,
    nav ul li ul.sub-menu li ul.sub-menu li ul.sub-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        transition: width 0.3s ease;
        z-index: -1;
    }

    nav ul li ul.sub-menu li ul.sub-menu li a:hover::before,
    nav ul li ul.sub-menu li ul.sub-menu li ul.sub-menu li a:hover::before {
        width: 100%;
    }

    nav ul li ul.sub-menu li ul.sub-menu li a:hover,
    nav ul li ul.sub-menu li ul.sub-menu li ul.sub-menu li a:hover {
        color: white !important;
        transform: translateX(0);
        box-shadow: none;
    }

    nav ul li a:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
        background: rgba(99, 102, 241, 0.05);
    }

    .logo img {
        height: 60px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 150px;
        height: 40px;
    }
}

/* Desktop Menu Styles - Modern Design */
@media (min-width: 993px) {
    nav {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
    }

    nav ul li {
        position: relative;
    }

    nav ul li a {
        color: #2d3748;
        font-weight: 600;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        background: transparent;
        border: none;
    }

    nav ul li a:hover {
        background: rgba(74, 85, 104, 0.1);
        color: #1a202c;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    nav ul li a::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #4299e1, #3182ce);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    nav ul li a:hover::before {
        width: 80%;
    }

    /* Submenu indicators */
    nav ul li.has-children > a::after {
        content: '▼';
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        color: #718096;
        transition: all 0.3s ease;
        font-weight: bold;
    }

    nav ul li.has-children:hover > a::after {
        color: #2d3748;
        transform: translateY(-50%) rotate(180deg);
    }

    /* Dropdown submenus */
    nav ul li ul.sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 220px;
        background: white;
        border-radius: 12px;
        padding: 1rem 0;
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateX(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    nav ul li:hover ul.sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* Submenu pointer */
    nav ul li ul.sub-menu::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -8px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid white;
        border-right: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-top: 8px solid transparent;
        filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.1));
    }

    nav ul li ul.sub-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav ul li ul.sub-menu li:last-child {
        border-bottom: none;
    }

    nav ul li ul.sub-menu li a {
        padding: 12px 20px;
        font-size: 14px;
        color: #4a5568 !important;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
        border-radius: 0;
        margin: 0;
        background: transparent;
        display: block;
        transition: all 0.2s ease;
    }

    nav ul li ul.sub-menu li a:hover {
        background: rgba(66, 153, 225, 0.1);
        color: #2b6cb0 !important;
        padding-left: 25px;
        transform: none;
        box-shadow: none;
    }

    /* Logo enhancement */
    .logo {
        transition: all 0.3s ease;
    }

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

    .logo img {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
        transition: filter 0.3s ease;
    }

    .logo:hover img {
        filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
    }
}

/* Footer Styles */
.site-footer {
    background: var(--bg-dark);
    color: #e6e7ea;
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    margin-top: 4rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.site-footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.site-footer a:hover {
    color: var(--primary-color);
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-column p {
    color: #cbd5e1;
    margin: 0 0 1.5rem 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column li a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column li a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-column li a::before {
    content: '→';
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-column li a:hover::before {
    opacity: 1;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom small {
    color: #94a3b8;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition-fast);
.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom .sep {
    color: #64748b;
    font-size: 0.875rem;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #e6e7ea;
    transition: color 0.3s;
}

.footer-widget h4 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 1.1rem;
}

.footer-widget p {
    color: #cfcfd3;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: #e6e7ea;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-social {
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    color: #e6e7ea;
    margin-right: 8px;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom small {
    color: #bfc1c7;
    font-size: 0.9rem;
}

.footer-bottom .sep {
    color: #bfc1c7;
    margin: 0 10px;
}

.footer-bottom a {
    color: #bfc1c7;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

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

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-social {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom .sep {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-footer .footer-grid {
        gap: 25px;
    }

    .footer-column h4 {
        font-size: 1rem;
    }
}

/* Additional styles for WordPress */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.post h3 {
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.post-thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.page-content, .post-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    font-size: 14px;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wpcf7-form p {
    margin-bottom: 1.5rem;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #37017fe0;
    outline: none;
    box-shadow: 0 0 5px rgba(55, 1, 126, 0.3);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-submit {
    background: linear-gradient(135deg, #ffffff 0%, #37017fe0 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.wpcf7-submit:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #2a017a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header scroll effect */
header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

/* Loading animation */
.loading * {
    animation: none !important;
}

.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading.loaded {
    opacity: 1;
}
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer copyright */
.footer-copyright {
    text-align: center;
    padding: 1rem 0;
    background: #333;
    color: #fff;
    margin-top: 2rem;
}

.footer-copyright p {
    margin: 0;
}
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .wpcf7-submit {
        width: 100%;
    }
}

/* SEO Breadcrumbs */
.breadcrumbs {
    margin: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    margin-right: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
    color: #666;
}

.breadcrumbs a {
    color: #007cba;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: #666;
}