/* General Body Styles */
body {
    font-family: sans-serif;
    margin: 0;
    color: #333;
}

/* Header Styles */
header {
    background-color: #fff;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    display: none;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

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

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

nav a:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

/* Active state for navigation */
nav a.active {
    color: #007bff;
    font-weight: bold;
}

/* Dropdown Styles - REMOVED */
/* Dropdown removed from navigation */

/* Hero Section Styles */
.hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.8);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838, #1dd1a1);
}

.facebook-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.facebook-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    background: linear-gradient(135deg, #166fe5, #1464d6);
}

/* Services Facebook Section */
.services-facebook {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.facebook-services-button,
.trustpilot-services-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.service-social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.facebook-services-button {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.facebook-services-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    background: linear-gradient(135deg, #166fe5, #1464d6);
}

.trustpilot-services-button {
    background: linear-gradient(135deg, #00b67a, #00a86b);
    box-shadow: 0 4px 15px rgba(0, 182, 122, 0.3);
}

.trustpilot-services-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 182, 122, 0.4);
    background: linear-gradient(135deg, #00a86b, #00965f);
}

.services-facebook .facebook-subtitle {
    margin: 0.5rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

/* Services Section Background */
.services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.services > * {
    position: relative;
    z-index: 2;
}

.services h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e9ecef;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.1rem;
}

.service-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.service-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
    margin: 0.5rem 0;
}

.service-card .original-price {
    font-size: 0.8rem;
    color: #dc3545;
    text-decoration: line-through;
    margin: 0.2rem 0 0.5rem 0;
    font-weight: normal;
}

.service-card a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 0.9rem;
}

.service-card a:hover {
    color: #0056b3;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.about, .contact {
    padding: 2rem 0;
}

.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 1;
}

.about > * {
    position: relative;
    z-index: 2;
}

.contact {
    background-color: #f8f9fa;
}

.contact h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact p {
    color: #555;
    font-size: 1rem;
}

/* Enhanced visibility and contrast */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
    background-image: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
                     radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%),
                     radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    line-height: 1.6;
    min-height: 100vh;
}

/* Scroll Animation Styles */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for grids */
.fade-in-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered effects */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Make sure all text has proper contrast */
h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 600;
}

p {
    color: #555;
    font-size: 1rem;
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #fff;
}

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

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

.footer-column a {
    text-decoration: none;
    color: #adb5bd;
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #495057;
    padding-top: 1rem;
    margin-top: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #a1c1e2;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #6f9ece;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Style for Ung Företagande link specifically */
.footer-bottom a[href*="ungforetagsamhet"] {
    text-decoration: underline;
}

/* Pricing Styles */
.pricing-note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 1rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
}

.pricing-note em {
    font-style: italic;
    color: #856404;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 1.5rem auto;
}

.team-member {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.team-member h4 {
    margin-bottom: 0.3rem;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.team-member .role {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
}

/* Contact Person Styles */
.contact-person {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
}

.contact-person h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.1rem;
}

.contact-person p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.contact-person a {
    color: #007bff;
    text-decoration: none;
}

.contact-person a:hover {
    text-decoration: underline;
}

.business-hours {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    padding: 0.8rem;
    margin: 1rem 0;
    text-align: center;
}

.business-hours p {
    margin: 0;
    font-size: 0.9rem;
}

.business-hours strong {
    color: #0c5460;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.social-link.facebook {
    background-color: #1877f2;
    color: white;
}

.social-link.trustpilot {
    background-color: #00b67a;
    color: white;
}

/* Contact Form Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.submit-button {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    margin-top: 0.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838, #1dd1a1);
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Reorder contact sections on mobile - form first */
    .contact-content {
        display: flex;
        flex-direction: column;
    }

    .contact-form-container {
        padding: 1.5rem;
        order: 1; /* Form comes first */
    }

    .contact-info {
        order: 2; /* Contact info comes second */
    }
    
    .services-facebook {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .facebook-services-button,
    .trustpilot-services-button {
        margin: 0.25rem 0;
        width: 100%;
        max-width: 250px;
    }

    /* Mobile Navigation Styles */
    .header-container {
        padding: 0 0.5rem;
        max-width: 100%;
        overflow: hidden;
    }

    .logo-image {
        height: 30px;
        margin-right: 5px;
    }

    nav ul {
        gap: 0.3rem;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    nav a {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
        min-width: 0;
        flex-shrink: 1;
    }

    /* Extra small screens */
    @media (max-width: 480px) {
        nav a {
            font-size: 0.7rem;
            padding: 0.3rem 0.4rem;
        }

        .logo-image {
            height: 25px;
        }
    }
}

/* Service Icons */
.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.wifi-icon {
    color: #007bff;
}

.network-icon {
    color: #28a745;
}

.troubleshoot-icon {
    color: #ffc107;
}

.router-icon {
    color: #dc3545;
}

/* Enhanced Service Cards */
.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Team Member Avatars */
.team-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    object-fit: cover;
    border: 3px solid #fff;
}

.team-member:hover .team-avatar-img {
    transform: scale(1.1);
    border-color: #007bff;
}