/*
Theme Name: vvskompaniet SEO Theme
Description: A lightweight, SEO-optimized WordPress theme designed for vvskompaniet.com to boost pippifoder.se rankings
Version: 1.0
Author: Your Name
Text Domain: vvskompaniet
*/

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.5;
            color: #111827;
        }
        .breadcrumbs {
            font-size: 14px;
            margin: 16px 0;
            color: #6b7280;
        }

        .container {
            max-width: 1152px;
            margin: 0 auto;
            padding: 0 16px;
        }

          .container-xs {
            max-width: 576px;
            padding: 0 16px;
            padding-left: 0;
            margin-right: auto;

        }

        .text-and-sidebar {
          display: flex;
          gap: 25px;
        }

        /* Header Styles */
        header {
            background: white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid #e5e7eb;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo-box {
            width: 128px;
            /* height: 32px; */
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 14px;
        }

        .logo-box img {
            width: 100%;
            height: auto;
            border-radius: 4px;
        }

        .company-name {
            font-size: 20px;
            font-weight: bold;
            color: #111827;
        }

        .call-button {
            background: #f18a02;
            color: white;
            padding: 8px 24px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .call-button:hover {
            background: #e07a00;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #1a75bb, #1560a0);
            color: white;
            padding: 64px 0;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: center;
        }

        .hero h1 {
            font-size: 48px;
            font-weight: bold;
            margin-bottom: 24px;
            line-height: 1.2;
        }

        h2 {
          font-size: 30px;
        }

        .hero h2 {
            font-size: 20px;
            margin-bottom: 32px;
            color: #dbeafe;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
        }

        .hero-button-primary {
            background: #f18a02;
            color: white;
            padding: 16px 32px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 18px;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .hero-button-primary:hover {
            background: #e07a00;
        }

        .hero-button-secondary {
            background: white;
            color: #1a75bb;
            padding: 16px 32px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 18px;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .hero-button-secondary:hover {
            background: #f9fafb;
        }

        .hero-image {
            width: 100%;
            height: 536px;
            background: #4b5563;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        .hero-image.hero-image-single {
            height: 400px;
        }

        .hero-image img {
    		width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
        }

        /* Services Section */
        .services {
            padding: 64px 0;
            background: #f9fafb;
        }

        .section-title {
            font-size: 30px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 48px;
            color: #111827;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .service-card {
            background: white;
            padding: 24px;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
        }

        .service-image {
            width: 100%;
            height: 150px;
            background: #9ca3af;
            border-radius: 8px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }

        .service-image img {
        	width: 100%;
        	height: 100%;
        	border-radius: 8px;
          object-fit: cover;
        }

        .service-card h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #111827;
        }

        .service-card p {
            color: #6b7280;
            margin-bottom: 16px;
        }

        .service-link {
            color: #1a75bb;
            font-weight: 600;
            text-decoration: none;
        }

        .service-link:hover {
            color: #1560a0;
        }

        .service-link-urgent {
            color: #f18a02;
        }

        .service-link-urgent:hover {
            color: #e07a00;
        }

        /* Testimonials Section */
        .testimonials {
            padding: 64px 0;
            background: white;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .testimonial-card {
            background: #f9fafb;
            padding: 24px;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }

        .testimonial-avatar {
            width: 60px;
            height: 60px;
            background: #9ca3af;
            border-radius: 50%;
            margin-right: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 10px;
        }

        .testimonial-name {
            font-weight: 600;
            color: #111827;
        }

        .testimonial-location {
            font-size: 14px;
            color: #6b7280;
        }

        .testimonial-text {
            color: #6b7280;
            font-style: italic;
        }

        /* Work Areas Section */
        .work-areas {
            padding: 64px 0;
            background: #f9fafb;
        }

        .map-placeholder img {
            object-fit: cover;
            width: 100%;
            height: 100%;
            border-radius: 8px;
        }

        .map-placeholder {
            width: 100%;
            max-width: 800px;
            height: 400px;
            background: #9ca3af;
            border-radius: 8px;
            margin: 0 auto 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .areas-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin-bottom: 32px;
        }

        .area-card {
            background: white;
            padding: 16px;
            border-radius: 8px;
            text-align: center;
            border: 1px solid #e5e7eb;
        }

        .area-card:hover {
          border: 1px solid #cfd9ec;
        }

        .area-card h3 {
            font-weight: 600;
            color: #111827;
        }

        .area-card p {
            font-size: 14px;
            color: #6b7280;
            margin-top: 4px;
        }

        .gform_title {
          color: black;
          margin-bottom: 25px;
        }

        .areas-footer {
            text-align: center;
            color: #6b7280;
            margin-top: 15px;
        }

        /* Customer Types Section */
        .customer-types {
            padding: 64px 0;
            background: white;
        }

        .customer-types-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .customer-card {
            background: #f9fafb;
            padding: 32px;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
            text-align: center;
        }

        .customer-image {
            width: 96px;
            height: 96px;
            background: #9ca3af;
            border-radius: 50%;
            margin: 0 auto 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }
        .customer-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50px;
        }

        .customer-card h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
            color: #111827;
        }

        .customer-card p {
            color: #6b7280;
        }

        /* Contact Section */
        .contact {
            padding: 64px 0;
            background: #1a75bb;
            color: white;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
        }

        .contact h2 {
            font-size: 30px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 48px;
        }

        .contact h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 24px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .contact-icon {
            color: #f18a02;
            font-size: 20px;
        }

        .contact-item p {
            font-weight: 600;
        }

        .contact-item a {
            color: #bfdbfe;
            text-decoration: none;
        }

        .contact-item a:hover {
            color: white;
        }

        .contact-detail {
            color: #bfdbfe;
        }

        /* Form Styles */
        .contact-form {
            background: white;
            padding: 24px;
            border-radius: 8px;
        }

        .contact-form h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 16px;
            color: #111827;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 4px;
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 16px;
            color: #111827;
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: #1a75bb;
            box-shadow: 0 0 0 3px rgba(26, 117, 187, 0.1);
        }

        .form-textarea {
            resize: vertical;
        }

        .form-button {
            width: 100%;
            background: #f18a02;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .form-button:hover {
            background: #e07a00;
        }

        /* Footer */
        footer {
            background: #f9fafb;
            color: black;
            padding: 48px 0;
            margin-top: 15px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            margin-bottom: 32px;
        }

        .footer-column h3 {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 16px;
        }

        .footer-column h4 {
            font-weight: 600;
            margin-bottom: 16px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }

        .footer-description {
            color: #9ca3af;
            font-size: 14px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

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

        .footer-links a {
            color: #9ca3af;
            text-decoration: none;
            font-size: 14px;
        }

        .footer-contact p {
            color: #9ca3af;
            text-decoration: none;
            font-size: 14px;
        }

        .footer-links a:hover {
            color: black;
        }

        .footer-contact {
            color: #9ca3af;
            font-size: 14px;
        }

        .footer-contact p {
            margin-bottom: 8px;
        }

        .footer-divider {
            border-top: 1px solid #374151;
            margin: 32px 0;
            padding-top: 32px;
            text-align: center;
        }

        .footer-copyright {
            color: #9ca3af;
            font-size: 14px;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .areas-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {

            .text-and-sidebar { 
              flex-direction: column;
            }
            .hero-grid,
            .contact-grid {
                grid-template-columns: 1fr;
            }

            .hero h1 {
              font-size: 32px;
            }
            
            .hero h2 {
                font-size: 18px;
            }
            
            .hero-buttons {
                flex-direction: column;
            }
            
            .services-grid,
            .testimonials-grid,
            .customer-types-grid,
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .areas-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .hero-image {
                display: none;
            }
        }

        @media (max-width: 640px) {
            .hero-button-primary,
            .hero-button-secondary {
                width: 100%;
                text-align: center;
            }
        }

.header-menu .nav-menu ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.header-menu .nav-menu ul li a{
    text-decoration: none;
    color: #1a75bb;
    font-weight: 600;
}

h1, h2, h3, h4, h5 {
  margin-bottom: 15px;
}

p, ul {
  margin-bottom: 20px;
  color: rgb(53, 65, 83);
}

ul {
  padding: 25px 35px;
  background-color: #c2d1dc;
  border-radius: 6px;
}

.contact h3 {margin-bottom: 0px; }

ul li {
  color: black;
  margin-bottom: 10px;
}

ul li:last-child {
  margin-bottom: 0;
}

header ul, footer ul {
    background: none;
    padding: 0;
}

.sidebar {
  width: 250px;
  background: #f18a02;
  border-radius: 6px;
  padding: 14px;
  color: white;
  font-weight: bold;
  height: 100%;
  position: sticky;
  top: 150px;
}

.no-link {
  text-decoration: none;
  color: inherit;
}

.sidebar p {
  margin-bottom: 5px;
  color: white;
  font-weight:  normal;
}



/* Header Styles */
header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1002;
}

.logo-box {
    width: 128px;
    /* height: 32px; */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    color: #111827;
    text-decoration: none;
}

/* Navigation Menu */
.header-menu .nav-menu ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.header-menu .nav-menu ul li a {
    text-decoration: none;
    color: #1a75bb;
    font-weight: 600;
    transition: color 0.3s;
}

.header-menu .nav-menu ul li a:hover {
    color: #145a8f;
}

/* Call Button */
.call-button {
    background: #f18a02;
    color: white;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.call-button:hover {
    background: #e07a00;
}

.mobile-call-button {
    display: none;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10002;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a75bb;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .desktop-call-button {
        display: none;
    }
    
    .mobile-call-button {
        display: inline-block;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }
    
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 10000;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }
    
    .header-menu.active {
        right: 0;
    }
    
    .header-menu .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }
    
    .header-menu .nav-menu ul li {
        border-bottom: 1px solid #e5e7eb;
    }
    
    .header-menu .nav-menu ul li:last-child {
        border-bottom: none;
    }
    
    .header-menu .nav-menu ul li a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
    }
    
    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        animation: fadeIn 0.3s forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Smaller screens adjustments */
    .company-name {
        font-size: 18px;
    }
    
    .logo-box {
        width: 100px;
        /* height: 28px; */
        font-size: 12px;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-menu .nav-menu ul {
        gap: 16px;
    }
    
    .header-menu .nav-menu ul li a {
        font-size: 14px;
    }
    
    .call-button {
        padding: 6px 16px;
        font-size: 14px;
    }
}


/* ===== DROPDOWN MENU STYLES ===== */

/* Desktop Dropdown Styles */
.nav-menu ul {
    position: relative;
}

.nav-menu li {
    position: relative;
}

/* First level dropdown */
.nav-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1003;
    list-style: none;
}

/* Second level dropdown (child of child) */
.nav-menu li ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
}
.force-full {
    width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
}

/* Show dropdown on hover (desktop) */
.nav-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.nav-menu ul.sub-menu li {
    border-bottom: none !important;
}

.nav-menu ul.sub-menu li a {
    display: block;
    padding: 10px 20px !important;
    color: #1a75bb;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-menu ul.sub-menu li a:hover {
    background: #f3f4f6;
    color: #145a8f;
    padding-left: 25px !important;
}

/* Dropdown arrow indicator */
.nav-menu li.menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

/* Rotate arrow on hover */
.nav-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Second level arrow points right */
.nav-menu ul.sub-menu li.menu-item-has-children > a::after {
    content: '▶';
    float: right;
}

.header-metas {
    display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.sub-menu { gap: 0px !important; }
.sub-menu { flex-direction: column; }
.sub-menu li { margin-bottom: 5px; }

/* ===== MOBILE DROPDOWN STYLES ===== */
@media (max-width: 768px) {
    /* Reset desktop dropdown positioning */
    .nav-menu li ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        width: 100%;
        /* display: none; */
        background: white;
    }
    
    /* Second level also static on mobile */
    .nav-menu li ul.sub-menu ul.sub-menu {
        left: 0;
        margin-left: 0;
        background: white;
    }
    
    /* Show submenu when active */
    .nav-menu li.submenu-open > ul.sub-menu {
        display: block;
    }
    
    /* Mobile dropdown items styling */
    .nav-menu ul.sub-menu li a {
        padding: 12px 20px 12px 30px !important;
        border-left: 3px solid transparent;
        font-size: 16px;
    }
    
    .nav-menu ul.sub-menu ul.sub-menu li a {
        padding-left: 50px !important;
    }
    
    .nav-menu ul.sub-menu li a:hover {
        background: #e5e7eb;
        border-left-color: #1a75bb;
        padding-left: 33px !important;
    }
    
    .nav-menu ul.sub-menu ul.sub-menu li a:hover {
        padding-left: 53px !important;
    }
    
    /* Mobile dropdown toggle button */
    .nav-menu li.menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
    }
    
    .nav-menu li.menu-item-has-children > a {
        flex: 1;
    }
    
    /* Remove default arrow on mobile */
    .nav-menu li.menu-item-has-children > a::after {
        display: none;
    }
    
    /* Add toggle button for mobile */
    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        color: #1a75bb;
        transition: all 0.3s;
    }
    
    .dropdown-toggle::after {
        content: '▼';
        font-size: 12px;
        transition: transform 0.3s;
    }
    
    .dropdown-toggle.active::after {
        transform: rotate(180deg);
    }
    
    .dropdown-toggle:hover {
        background: #f3f4f6;
    }
    
    /* Full width submenu on mobile */
    .nav-menu li.menu-item-has-children ul.sub-menu {
        width: 100%;
        flex-basis: 100%;
    }
}

/* Desktop - hide mobile toggle button */
@media (min-width: 769px) {
    .dropdown-toggle {
        display: none !important;
    }
}

.fw-normal {
    font-weight: 400 !important;
}