:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --dark-color: #202124;
    --light-color: #ffffff;
    --gray-color: #5f6368;
    --primary-color-rgb: 26, 115, 232;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    background: var(--light-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero.jpg') center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    position: relative;
    background-position: center;
}

/* Update hero content to ensure good contrast with new image */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #1557b0;
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: #4285f4;  /* Google Blue color */
}

.service-card h3 {
    color: #202124;  /* Dark gray */
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #5f6368;  /* Google gray */
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Service Images */
.service-image {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.contact h2 {
    color: #4285f4;
    margin-bottom: 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #4285f4;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item i {
    color: #4285f4;
    font-size: 1.2rem;
    width: 30px;
}

.info-item span {
    color: #5f6368;
}

.opening-hours {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #5f6368;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4285f4;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem;
    background: #4285f4;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #1557b0;
}

/* Footer Styles */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: start;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-info h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light-color);
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.penbyte-credit a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.penbyte-credit a:hover {
    color: var(--secondary-color);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hours-item {
        justify-content: center;
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light-color);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        margin-top: 1rem;
    }

    .price-category {
        font-size: 0.9rem;
    }
    
    .price-category li {
        flex-direction: column;
        text-align: center;
    }
    
    .price-category li span {
        margin-top: 0.5rem;
    }

    .hours-item {
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .hours-item .time {
        margin-top: 0.25rem;
        color: #4285f4;
    }

    .hero {
        background-position: center;
    }
}

/* Pricing Section */
.pricing {
    padding: 5rem 1rem;
    background: #fff;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

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

.price-category h3 {
    color: #4285f4;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.price-category ul {
    list-style: none;
}

.price-category li {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.price-category li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-main {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    padding-right: 80px;
}

.service-sub {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
    padding-right: 80px;
}

.price {
    position: absolute;
    top: 0;
    right: 0;
    color: #34a853;
    font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .price-category li {
        padding-bottom: 2rem;
    }

    .service-main, .service-sub {
        padding-right: 0;
    }

    .price {
        position: relative;
        display: block;
        margin-top: 0.5rem;
        text-align: right;
    }
}

/* Update Pricing Section */
.price-notes {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 10px;
}

.price-notes p {
    margin-bottom: 0.5rem;
    color: var(--gray-color);
    font-style: italic;
}

/* About Section */
.about {
    padding: 5rem 1rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* Update hero section */
.hero-message {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 600px;
    backdrop-filter: blur(5px);
}

.hero-message h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Add/Update section headings */
section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #4285f4;  /* Same blue as the price category headers */
    font-size: 2rem;
}

.services h2,
.pricing h2,
.about h2 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding: 0 1rem;
}

/* Add to existing styles */
.services h2 i {
    margin-right: 0.5rem;
    color: #4285f4;
}

.service-card h3 i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

/* Gallery Section */
.gallery {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;  /* Adjusted height for better uniformity */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    color: var(--light-color);
    text-align: center;
    backdrop-filter: blur(5px);
}

/* Ensure 2x3 grid on larger screens */
@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        background-position: center;
    }
}

/* Add parallax effect only on desktop */
@media (min-width: 1200px) {
    .hero {
        background-attachment: fixed;
    }
}

.map-container {
    margin-top: 4rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .map-container {
        margin-top: 2rem;
        border-radius: 0;
    }
}

#hem,
#tjanster,
#priser,
#kontakt {
    scroll-margin-top: 100px;  /* Adjust based on your header height */
}

.home-section,
.services-section,
.pricing-section,
.contact-section {
    scroll-margin-top: 100px;
}

/* Intro Section */
.intro {
    padding: 5rem 1rem;
    background: #fff;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.intro h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: left;
    padding: 0 1rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 1rem;
}

.intro-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-item p {
    margin: 0;
    line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro h2 {
        text-align: center;
    }
}