/* Apply AOS to the body */
body[data-aos] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body[data-aos="fade-up"] {
    opacity: 1;
}


/* General Body and Typography */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('img/IMG_1691.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: #333333; /* Dark grey for text */
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Apply Montserrat font */
    font-weight: 300; /* Use a lighter weight for headers */
    color: #000000; /* Black for headlines */
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    text-align: center;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
}

p {
    margin-bottom: 15px;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header (Fixed Navigation) */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.fixed-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-header .logo {
    /* The logo is now an image, so text styles are not needed here. */
}

.fixed-header .logo img {
    height: 60px; /* Adjust as needed */
    width: auto;
}

.fixed-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.fixed-header nav ul li {
    margin-left: 30px;
}

.fixed-header nav ul li a {
    font-family: 'Montserrat', sans-serif; /* Apply Montserrat font to menu items */
    font-weight: 400; /* Adjust weight for menu items */
    color: #333333;
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Add text-decoration to transition */
}

.fixed-header nav ul li a:hover {
    color: #000000;
    text-decoration: underline; /* Add underline on hover */
}

/* Hero Section */
.hero-section {
    background-color: #000000; /* Fallback black background */
    background-image: url('../img/IMG_0854.jpg'); /* Your background image */
    background-size: cover;
    background-position: center 0%;
    background-repeat: no-repeat;
    position: relative; /* Needed for overlay */
    color: #FFFFFF; /* White text */
    text-align: center;
    padding: 250px 0 100px; /* Adjust padding for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Full viewport height */
    box-sizing: border-box; /* Include padding in height */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.hero-section h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.1;
}

.hero-section p {
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #E0E0E0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000000; /* Black */
    color: #FFFFFF; /* White for contrast */
    padding: 15px 30px;
    border: 2px solid #000000; /* Black */
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none; /* Ensure no underline */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta-button:hover {
    text-decoration: none;
}


/* General Section Styling */
.section {
    padding: 100px 0; /* Increased padding for more spacing */
    border-bottom: 1px solid #EEEEEE;
}

.section:last-of-type {
    border-bottom: none;
}

/* Hvem er PISTA? Section */
.content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.content-flex.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.visual-content {
    flex: 1;
    position: relative;
    height: 400px; /* Adjust as needed */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.visual-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.concept-block {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9; /* Light background */
}

.concept-block ul {
    list-style: disc;
    padding-left: 20px;
}

.concept-block li {
    margin-bottom: 8px;
}

/* Rewardz Section Specific Styling */
.rewardz-section {
    background-color: #FDFDFD; /* Very light background */
    background-image: linear-gradient(to bottom right, #FDFDFD, #FFFFFF); /* Subtle gradient */
}

.grey-background {
    background-color: #F8F8F8; /* Fallback color */
    background-image: linear-gradient(to bottom right, #F8F8F8, #FFFFFF); /* Subtle gradient */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

/* Remove the ::before pseudo-element as the gradient handles the background */
.grey-background::before {
    content: none;
}

/* Hvem er PISTA? (About Section) */
.content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.content-flex.reverse {
    flex-direction: row-reverse;
}

.content-flex .text-content {
    flex: 1;
}

.content-flex .visual-content {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-flex .visual-background {
    background-image: url('../img/IMG_1691.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-flex .visual-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.content-flex .text-content {
    flex: 1;
    padding: 20px;
    z-index: 3;
    position: relative;
}

.content-flex .intro-text {
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333333;
}

.content-flex .founder-info {
    font-size: 1em;
    font-style: italic;
    color: #555555;
    margin-top: 30px;
}

.button-container {
    margin-top: 20px; /* Add some space above the button */
    text-align: left; /* Align button to the left within its container */
}

/* Hvad gør vi? (Core Offerings) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    gap: 30px;
    margin-top: 40px;
}

.grid-item {
    background-color: #f0f0f0;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.grid-item .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #000000;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px; /* Add padding to give space around the SVG */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

.grid-item .icon svg {
    width: 100%;
    height: 100%;
    stroke: #FFFFFF; /* Ensure SVG stroke is white */
}

/* Vores projekter (Highlighting Rewardz & More) */
.project-subsection {
    margin-bottom: 60px;
}

.project-subsection:last-of-type {
    margin-bottom: 0;
}

.project-subsection h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

/* Project Images */
.project-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Innovation Grid for "Andre projekter" */
.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Increased min-width for larger boxes */
    gap: 20px; /* Reduced gap for better space utilization */
    margin-top: 40px;
}

.innovation-item {
    background-color: #FFFFFF;
    padding: 30px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.innovation-item {
    background-color: #FFFFFF;
    padding: 30px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, z-index 0s 0.3s; /* Add opacity and z-index transition */
    position: relative; /* Needed for z-index to work */
    z-index: 1; /* Default z-index */
}

.innovation-item:hover {
    transform: scale(1.15); /* Scale up significantly */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* More prominent shadow */
    z-index: 10; /* Bring to front */
}

/* Spotlight effect for non-hovered items */
.innovation-grid:hover .innovation-item:not(:hover) {
    opacity: 0.5; /* Reduce opacity of non-hovered items */
    transform: scale(0.95); /* Slightly scale down non-hovered items */
}

.innovation-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #E0E0E0; /* Light grey background */
    color: #333333; /* Dark grey for icon */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; /* Increased padding to give more space to the SVG */
    box-sizing: border-box;
}

.innovation-item .icon svg {
    width: 100%;
    height: 100%;
    stroke: #333333; /* Dark grey stroke */
}

.innovation-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333333; /* Dark grey for headings */
}

.innovation-item p {
    font-size: 0.95em;
    color: #555555;
}

/* Samarbejdspartnere (Trust Indicators) */
.partner-logos-container {
    overflow: hidden; /* Hide overflowing content */
    white-space: nowrap; /* Prevent logos from wrapping */
    margin: 40px 0; /* Adjust margin to span full width */
    padding: 20px 0; /* Add some vertical padding */
    background-color: #F8F8F8; /* Match section background */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    width: 100vw; /* Span full viewport width */
    position: relative; /* For positioning the track */
    left: 50%; /* Center the container */
    transform: translateX(-50%); /* Center the container */
}

.partner-logos-track {
    display: inline-block; /* Allow content to be wider than container */
    animation: scroll-logos 60s linear infinite; /* Slower animation */
}

.partner-logos-track img {
    height: 80px; /* Fixed height for logos */
    width: auto; /* Maintain aspect ratio */
    margin: 0 30px; /* Spacing between logos */
    vertical-align: middle; /* Align images nicely */
    filter: grayscale(100%); /* Grayscale by default */
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logos-track img:hover {
    filter: grayscale(0%); /* Color on hover */
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Scroll half the track width to loop seamlessly */
    }
}

/* Adjustments for mobile */
@media (max-width: 768px) {
    .partner-logos-track {
        animation-duration: 40s; /* Slower animation on smaller screens */
    }

    .partner-logos-track img {
        height: 60px; /* Smaller logos on mobile */
        margin: 0 15px;
    }
}

.partner-statement {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #555555;
}

/* CTA & Kontakt (Conversion Focused) */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 30px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #FDFDFD;
    color: #333333;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #000000;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.contact-form .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav ul li a {
    color: #E0E0E0;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.copyright {
    font-size: 0.9em;
    color: #A0A0A0;
    margin-top: 10px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .fixed-header .container {
        flex-direction: column;
        gap: 10px;
    }

    .fixed-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .fixed-header nav ul li {
        margin-left: 0;
    }

    .hero-section {
        padding: 150px 20px 80px;
    }

    .hero-section h1 {
        font-size: 3em;
    }

    .hero-section p {
        font-size: 1.2em;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .content-flex {
        flex-direction: column;
    }

    .content-flex.reverse {
        flex-direction: column; /* Reset for mobile */
    }

    .grid-container {
        grid-template-columns: 1fr; /* Single column for mobile */
    }

    .partner-logos {
        gap: 20px;
    }

    .partner-logos img {
        max-width: 100px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Loyalty KPI Section */
.loyalty-kpi-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

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

.loyalty-kpi-section h2 {
    font-size: 2.5em;
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
}

.loyalty-kpi-section .kpi-subtitle {
    font-size: 1.2em;
    text-align: center;
    color: #666666;
    margin-bottom: 40px;
}

.loyalty-kpi-section .kpi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.loyalty-kpi-section .kpi-block {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.loyalty-kpi-section .kpi-block:hover {
    transform: translateY(-5px);
}

.loyalty-kpi-section .kpi-icon {
    width: 3em;
    height: 3em;
    color: #777777; /* Teal */
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loyalty-kpi-section .kpi-icon svg {
    width: 100%;
    height: 100%;
}

.loyalty-kpi-section .kpi-number {
    font-size: 2.5em;
    font-weight: 400;
    color: #000000;
    margin-bottom: 10px;
}

.loyalty-kpi-section .kpi-text {
    font-size: 1.1em;
    color: #777777;
}

.loyalty-kpi-section .kpi-source {
    font-size: 0.9em;
    color: #888888;
    text-align: center;
    margin-top: 40px;
}

/* Media query for mobile */
@media (max-width: 768px) {
    .loyalty-kpi-section .kpi-container {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .fixed-header .logo {
        font-size: 1.5em;
    }
}

/* Feature Grid for Rewardz Page */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.feature-item .icon svg {
    width: 48px;
    height: 48px;
    stroke: #333333;
}

.feature-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333333;
}

.feature-item p {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Rewardz Page Specific Styles */
.rewardz-hero-section {
    padding: 120px 0 60px;
    background-color: #fdfdfd;
}

.rewardz-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.rewardz-hero-text {
    flex: 1;
    max-width: 50%;
}

.rewardz-hero-text h1 {
    font-size: 4em;
    text-align: left;
    margin-bottom: 20px;
}

.rewardz-hero-text p {
    font-size: 1.2em;
    line-height: 1.6;
}

.rewardz-hero-visual {
    flex: 1;
    max-width: 45%;
}

.rewardz-hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.boxed-text-container {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.boxed-text-container h2 {
    margin-bottom: 20px;
}

#rewardz-features h2.section-title {
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .rewardz-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .rewardz-hero-text {
        max-width: 100%;
    }

    .rewardz-hero-text h1 {
        text-align: center;
    }

    .rewardz-hero-visual {
        max-width: 70%;
        margin-top: 30px;
    }
}
.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}
/* Rewardz Dashboard Section */
.dashboard-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dashboard-visual-wrapper {
    flex: 1;
    max-width: 50%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.dashboard-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.dashboard-image-placeholder {
    width: 100%;
    height: 400px; /* Adjust as needed */
    background-color: #f0f0f0;
    border-radius: 5px;
}

.dashboard-text-wrapper {
    flex: 1;
    max-width: 50%;
}

.dashboard-text-wrapper p {
    margin-bottom: 20px;
}

.dashboard-text-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.dashboard-text-wrapper ul li {
    margin-bottom: 10px;
}

.dashboard-text-wrapper .cta-button {
    margin-top: 20px;
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dashboard-text-wrapper .cta-button:hover {
    background-color: #333333;
    text-decoration: none;
}

@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-visual-wrapper,
    .dashboard-text-wrapper {
        max-width: 100%;
    }
}
.cookie-consent-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  text-align: center;
  z-index: 10000;
  display: none; /* Hide initially */
  bottom: 0; /* Ensure it sticks to the bottom */
  position: fixed; /* Fix the position */
  border: 1px solid black;
  padding: 1rem;
}

.cookie-consent-popup button {
  background-color: #000000;
  color: #FFFFFF; /* White for contrast */
  padding: 10px 20px;
  border: 2px solid #000000; /* Black */
  border-radius: 5px;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  margin: 0 10px;
}

.cookie-consent-popup button:hover {
  background-color: #FFFFFF;
  color: #000000;
}
