/* Variables */
:root {
    --color-primary: #FFD700;
    --color-primary-light: #f2da4f;
    --color-primary-dark: #FFD700;
    --color-white: #ffffff;
    --color-black: #333333;
    --color-gray-light: #f5f5f5;
    --color-gray: #e0e0e0;
    --color-gray-dark: #666666;
    --color-background: #f9f9f9;
    
    --font-primary: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-black);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    flex: 1 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* All buttons have the same yellow/black style */
.btn-primary {
    background-color: #FFD700;
    color: #333;
    border: 2px solid #333;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #333;
    color: #FFD700;
}

/* Navigation "Kontakt" Button */
.nav-link.btn-primary {
    background-color: #FFD700;
    color: #333;
    border: 2px solid #333;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link.btn-primary:hover {
    background-color: #333;
    color: #FFD700;
}

/* Hero Section "Se mere om jobmuligheder" Button */
.hero .btn-primary {
    background-color: #FFD700;
    color: #333;
    border: 2px solid #333;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero .btn-primary:hover {
    background-color: #333;
    color: #FFD700;
}

/* CTA Section "Kontakt os nu" Button */
.cta .btn-primary {
    background-color: #FFD700;
    color: #333;
    border: 2px solid #333;
    padding: 18px 40px;
    font-weight: 700;
    border-radius: 35px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta .btn-primary:hover {
    background-color: #333;
    color: #FFD700;
}

/* Hero Section "Book Rengøring" Disabled Button - keep the crossed out style */
.btn-secondary.disabled {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    border: 2px solid #dee2e6;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
    transition: none;
}

.btn-secondary.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #dc3545 15%, #dc3545 85%, transparent 100%);
    top: 50%;
    transform: translateY(-50%) rotate(-12deg);
    z-index: 2;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

.btn-secondary.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #dc3545 15%, #dc3545 85%, transparent 100%);
    top: 50%;
    transform: translateY(-50%) rotate(12deg);
    z-index: 2;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

.btn-secondary.disabled:hover {
    transform: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
}

/* Default secondary button style */
.btn-secondary {
    background-color: #FFD700;
    color: #333;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #333;
    color: #FFD700;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
    position: relative;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0.75rem 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 1rem;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #5b9cab;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #FFD700; /* Yellow background */
}

.diagonal-overlay {
    position: absolute;
    top: 0;    left: -50%;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: skewX(-20deg);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem;
}

.logo-hero {
    width: 200px;
    margin-bottom: 2rem;
}

.hero-logo {
    width: 100%;
    height: auto;
}

.hero-text-container {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hero-background {
        background: url('../img/dennefil.png');
        background-size: cover;
        background-position: center;
    }
    
    .diagonal-overlay {
        display: none; /* Hide the diagonal overlay on mobile */
    }

    .mobile-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        max-width: 100%;
    }

    .logo-hero {
        width: 100px; /* Smaller logo on mobile */
        margin-bottom: 1rem;
    }

    .hero-text-container {
        max-width: 280px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-text {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .hero-buttons.mobile-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-buttons.mobile-buttons .btn-primary,
    .hero-buttons.mobile-buttons .btn-secondary {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        text-align: center;
        width: 100%;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .hero-content {
        padding-left: 10%;
    }

    .mobile-content {
        max-width: 50%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 1rem 2rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--color-gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.benefit-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.05);
}

.benefit-card h3 {
    color: #333;
    margin: 1rem 0 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.google-reviews-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.google-reviews-link:hover h3 {
    color: #FFD700;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0.75rem 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 1rem;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-content {
    padding: 2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--color-gray-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author .name {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.testimonial-author .company,
.testimonial-author .title {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: var(--color-gray-light);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-primary);
    border-radius: 25px;
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

.gallery-cta p {
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

/* Media queries */
@media (max-width: 768px) {
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    color: var(--color-white);
    text-align: center;
    padding: 1rem;
    transform: translateY(20px);
    transition: transform var(--transition-speed);
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.gallery-overlay-content .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.gallery-overlay-content .btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-gray);
    border-radius: 5px;
    font-family: var(--font-primary);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox input {
    width: auto;
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(to bottom, #FFD700, rgba(255, 215, 0, 0.8)), url('../img/481663291_605042622348796_7715763621682802333_n.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--color-white);
}

.contact-hero h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.contact-hero .lead {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-page {
    padding: 4rem 0;
    background-color: var(--color-gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform var(--transition-speed);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.contact-link:hover {
    color: var(--color-primary-dark);
}

.contact-form-container {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-intro {
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-gray);
    border-radius: 5px;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(91, 156, 171, 0.1);
    outline: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.checkbox input {
    margin-top: 0.25rem;
}

.checkbox label {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.button-icon {
    transition: transform var(--transition-speed);
}

button[type="submit"]:hover .button-icon {
    transform: translateX(5px);
}

/* Map Section */
.map-section {
    padding: 0;
}

.map-container {
    position: relative;
    height: 400px;
    filter: grayscale(1);
    transition: filter var(--transition-speed);
}

.map-container:hover {
    filter: grayscale(0);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-link::after {
        bottom: -5px;
    }
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 60px 0 40px;
    margin-top: 2rem;
    border-top: 5px solid #f9c74f;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #f9c74f;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #f9c74f;
}

.footer-info p {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #f9c74f;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #f9c74f;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #f9c74f;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* Ensure all sections have proper spacing */
section {
    padding: 4rem 0;
}

.cta {
    background-color: #FFD700;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
    }

    .hamburger {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Form Validation Styles */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #28a745;
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: all var(--transition-speed);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-primary);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
}

/* Join Platform Page Styles */
.join-platform {
    padding: 6rem 0;
    background-color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.join-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: var(--color-white);
    transform: rotate(-15deg) translateY(-50%) translateX(-25%);
    opacity: 0.9;
    z-index: -1;
}

.platform-info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

.step-number {
    background-color: var(--color-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.benefits-section, .requirements-section {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-primary);
}

.benefits-list, .requirements-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefits-list li, .requirements-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.benefits-list i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--color-primary);
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.cta-section {
    text-align: center;
    padding: 4rem 0;
    background-color: var(--color-primary);
    color: white;
    border-radius: 8px;
    margin-top: 4rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--color-primary);
    margin-top: 2rem;
}

.cta-section .btn-primary:hover {
    background-color: var(--color-background);
}

/* Process Section */
.process {
    padding: 6rem 0;
    background-color: var(--color-white);
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

/* Add connecting lines between steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary) 20%, var(--color-primary) 80%, transparent);
    z-index: 1;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Add icons for each step */
.step-number::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.process-step:nth-child(1) .step-number::before {
    content: '\f2bb'; /* User icon */
}

.process-step:nth-child(2) .step-number::before {
    content: '\f073'; /* Calendar icon */
}

.process-step:nth-child(3) .step-number::before {
    content: '';
    background-image: url('../img/image-removebg-preview.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 65%;
    height: 65%;
    opacity: 0;
}

.process-step:nth-child(3):hover .step-number::before {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.process-step:nth-child(4) .step-number::before {
    content: '\f09d'; /* Credit card icon */
}

/* Hover effects */
.process-step:hover .step-number {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.process-step:hover .step-number::before {
    opacity: 1;
    transform: scale(1);
}

.process-step:nth-child(3):hover .step-number::before {
    opacity: 1;
    transform: scale(0.7);
    filter: brightness(0) invert(1);  /* This will make the image white when hovered */
}

.step-content {
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    min-height: 180px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.process-step:hover .step-content {
    transform: translateY(-5px);
}

.step-content h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--color-gray-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .process-steps::before {
        display: none;
    }
    
    .process-steps {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 3rem auto 0;
    }
}

/* ============================================================================
   STYLES MOVED FROM INDEX.HTML
   ============================================================================ */

/* Mobile Hamburger Menu - From index.html */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Menu - Only show on mobile/tablet */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem;
        width: 100%;
        display: block;
    }

    .navbar-container {
        padding: 0.75rem 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 1rem;
    }
}

/* Disabled Button Styles - From index.html */
.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
}

/* Cross effect for the Book Rengøring button */
.btn-secondary.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #dc3545 15%, #dc3545 85%, transparent 100%);
    top: 50%;
    transform: translateY(-50%) rotate(-12deg);
    z-index: 2;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

.btn-secondary.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #dc3545 15%, #dc3545 85%, transparent 100%);
    top: 50%;
    transform: translateY(-50%) rotate(12deg);
    z-index: 2;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

/* Price Calculator Styles - From index.html */
.price-calculator {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.price-calculator h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.calculator-inputs {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
}

.input-group {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 90px;
    flex: 1;
    max-width: 120px;
}

.input-group label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-group input {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.btn-price {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-top: 0;
    white-space: nowrap;
    height: fit-content;
}

.btn-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.btn-price:active {
    transform: translateY(0);
}

/* Mobile responsiveness for calculator */
@media (max-width: 767px) {
    .price-calculator {
        max-width: 100%;
        margin: 20px 0 0;
        padding: 15px;
    }
    
    .calculator-inputs {
        flex-direction: column;
        gap: 12px;
    }
    
    .input-group {
        max-width: 100%;
        width: 100%;
    }
    
    .btn-price {
        width: 100%;
        padding: 12px;
    }
}

@media (min-width: 768px) {
    .calculator-inputs {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .input-group {
        max-width: 120px;
    }
    
    .btn-price {
        margin-top: 0;
        align-self: flex-end;
    }
}

/* Popup Styles - From index.html */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    position: relative;
    text-align: center;
}

.close-popup {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: color 0.2s ease;
}

.close-popup:hover {
    color: #666;
}
