/*
Theme Name: digitalhive-website
Theme URI: https://digitalhive.ch
Author: DigitalHive
Author URI: https://digitalhive.ch
Description: Professional WordPress and WooCommerce agency theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalhive-website
*/

/* ===== Typography - Montserrat Font ===== */
/* Google Fonts loaded via functions.php for better performance */

/* ===== CSS Variables ===== */
:root {
    /* Primary Brand Colors */
    --primary: #FBD574;           /* Yellow/Gold - Primary brand color */
    --primary-dark: #E5C060;      /* Darker yellow for hover states */
    --secondary: #93CDAB;         /* Mint green */
    --dark: #30353C;              /* Primary dark neutral */
    --gray: #64748B;              /* Gray for text */
    --light: #F7F9FC;             /* Light background */
    --border: #E2E8F0;            /* Border color */

    /* Accent Colors */
    --accent: #9BAED7;            /* Soft blue */
    --accent-pink: #F5C4D9;       /* Pink accent */
    --accent-mint: #93CDAB;       /* Mint green accent */
    --accent-blue: #9BAED7;       /* Soft blue accent */

    /* UI State Colors */
    --success: #16A34A;
    --warning: #F59E0B;
    --error: #DC2626;
    --info: #2563EB;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--light);
    background: var(--dark);
    margin: 0;
    font-weight: 400;
}

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

/* ===== Header & Navigation ===== */
.site-header {
    background: #30353C;
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-branding {
    flex-shrink: 0;
    display: block;
}

.site-branding a,
.site-branding .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-branding img,
.site-branding .site-logo {
    height: 50px;
    width: auto;
    display: block;
    max-width: 250px;
}

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

.nav a, .site-header nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav a:hover, .site-header nav a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--dark) !important;
    color: white !important;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    background: var(--primary) !important;
    color: var(--dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 213, 116, 0.3);
}

/* Dropdown Menu */
.site-header nav ul {
    position: relative;
}

.site-header nav li {
    position: relative;
    list-style: none;
}

.site-header nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #3a4048;
    min-width: 260px;
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-top: 10px;
    z-index: 1000;
}

.site-header nav li:hover > .sub-menu {
    display: block;
}

.site-header nav .menu-item-has-children {
    padding-bottom: 0;
}

/* Hover bridge for dropdown - use pseudo-element instead of padding */
.site-header nav .menu-item-has-children::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}

.site-header nav .sub-menu li {
    margin: 0;
    padding: 0;
}

.site-header nav .sub-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--light);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.site-header nav .sub-menu a:hover {
    background: rgba(251, 213, 116, 0.1);
    color: var(--primary);
    padding-left: 28px;
}

/* Menu item with dropdown indicator */
.site-header nav .menu-item-has-children > a::after {
    content: '▾';
    margin-left: 6px;
    font-size: 12px;
    opacity: 0.6;
}

/* ===== Expertise Section ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.expertise-item {
    text-align: center;
    padding: 30px;
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
}

.expertise-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light);
}

.expertise-item p {
    color: rgba(247, 249, 252, 0.7);
    line-height: 1.5;
    font-size: 15px;
}

/* ===== Footer ===== */
.site-footer {
    background: #f0f3f9;
    padding: 80px 0 30px;
    border-top: none;
}

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

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 800;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-languages {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.language-badge {
    display: inline-block;
    background: white;
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-column a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--gray);
    font-size: 14px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    color: var(--light);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero h1 span {
    color: var(--primary);
}

.hero .subtitle {
    font-size: 22px;
    color: rgba(247, 249, 252, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-features {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding-left: 36px;
}

.hero-feature::before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border-radius: 50%;
    position: absolute;
    left: 0;
}

.hero-feature::after {
    content: '✓';
    position: absolute;
    left: 5px;
    color: white;
    font-size: 14px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--primary);
    color: var(--dark);
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(251, 213, 116, 0.3);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #E5C060;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(251, 213, 116, 0.4);
    color: var(--dark);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    padding: 16px 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--dark);
    background: var(--primary);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
    background: var(--dark);
}

.section-alt {
    background: #3a4048;
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 13px;
}

.section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--light);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 19px;
    color: rgba(247, 249, 252, 0.7);
    line-height: 1.6;
}

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

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: #3a4048;
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 72px;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    opacity: 0.5;
    z-index: 0;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--light);
}

.service-card p {
    color: rgba(247, 249, 252, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 16px;
}

.service-deliverables {
    list-style: none;
    margin-bottom: 28px;
}

.service-deliverables li {
    padding: 8px 0;
    color: var(--light);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-deliverables li::before {
    content: '•';
    color: var(--secondary);
    font-weight: bold;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
    font-size: 15px;
}

.service-card:hover .service-link {
    gap: 12px;
}

/* ===== Stats & Cards ===== */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-card {
    background: #3a4048;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(247, 249, 252, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Testimonials ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial {
    background: #3a4048;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-rating {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 20px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--light);
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: bold;
    font-size: 18px;
}

.author-name {
    font-weight: 700;
    color: var(--light);
    margin-bottom: 4px;
}

.author-title {
    color: rgba(247, 249, 252, 0.7);
    font-size: 14px;
}

/* ===== Forms ===== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light);
    font-size: 14px;
    text-align: left;
}

.form-group label span {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #3a4048;
    color: var(--light);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 213, 116, 0.2);
}

.form-group textarea,
textarea {
    resize: vertical;
    min-height: 140px;
}

/* Select boxes styling */
select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2364748B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

/* Contact Form specific styling */
.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--light);
}

.form-header p {
    font-size: 18px;
    color: rgba(247, 249, 252, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: #3a4048;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-section {
    margin-bottom: 32px;
}

.form-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    font-size: 14px;
    color: rgba(247, 249, 252, 0.7);
    font-weight: 400;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.service-option:hover {
    border-color: var(--primary);
    background: rgba(251, 213, 116, 0.1);
}

.service-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.service-option label {
    cursor: pointer;
    font-size: 15px;
    color: var(--light);
    font-weight: 500;
    margin: 0;
}

.form-submit-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.form-note {
    font-size: 14px;
    color: rgba(247, 249, 252, 0.7);
    max-width: 400px;
}

.form-submit,
input[type="submit"],
button[type="submit"] {
    background: var(--primary);
    color: var(--dark);
    padding: 16px 40px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.form-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: #E5C060;
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(251, 213, 116, 0.4);
}

/* Contact Form 7 specific styling */
.wpcf7-form p {
    margin-bottom: 24px;
}

.wpcf7-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light);
    font-size: 14px;
    display: block;
    text-align: left;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    border: 2px solid rgba(255,255,255,0.2);
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    color: var(--light);
}

.wpcf7-mail-sent-ok {
    border-color: var(--success);
    background: rgba(22, 163, 74, 0.2);
    color: var(--secondary);
}

.wpcf7-validation-errors {
    border-color: var(--error);
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: #3a4048;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 48px;
}

.form-preview {
    background: var(--dark);
    border-radius: 12px;
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.form-preview h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--light);
}

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

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--light);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation when menu is open */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: #3a4048;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.team-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.team-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 8px;
}

.team-card-role {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.team-card-bio {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 18px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

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

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

    .section h2 {
        font-size: 32px;
    }

    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Ensure logo is visible on mobile */
    .site-header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 16px;
    }

    .site-branding {
        display: block !important;
        flex-shrink: 0;
        z-index: 1002;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .site-branding a,
    .site-branding .logo,
    .site-branding .custom-logo-link {
        display: flex !important;
        align-items: center;
        visibility: visible !important;
    }

    .site-branding img,
    .site-logo,
    .custom-logo {
        display: block !important;
        height: 32px !important;
        width: auto !important;
        max-width: 150px;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Mobile navigation styles */
    .site-header .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: #30353C;
        padding: 80px 24px 40px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .site-header .nav-links.active {
        right: 0;
    }

    /* Mobile menu list */
    .site-header nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .site-header nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header nav a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }

    /* Mobile submenu */
    .site-header nav .sub-menu {
        position: static;
        display: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        min-width: auto;
    }

    .site-header nav .menu-item-has-children.submenu-open > .sub-menu {
        display: block;
    }

    .site-header nav .sub-menu li {
        border-bottom: none;
    }

    .site-header nav .sub-menu a {
        padding: 12px 20px;
        font-size: 14px;
    }

    .site-header nav .sub-menu a:hover {
        padding-left: 24px;
    }

    /* Remove hover bridge on mobile */
    .site-header nav .menu-item-has-children::after {
        display: none;
    }

    /* Mobile dropdown arrow */
    .site-header nav .menu-item-has-children > a::after {
        content: '+';
        float: right;
        font-size: 18px;
        transition: transform 0.3s ease;
    }

    .site-header nav .menu-item-has-children.submenu-open > a::after {
        transform: rotate(45deg);
    }

    /* Overlay when menu is open */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}
  