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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Titillium Web', sans-serif;
    line-height: 1.5;
    color: #0D0D0D;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gilda Display', serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 72px;
}

h2 {
    font-size: 52px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 22px;
}

/* Container */
.container {
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 100px;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-small {
    padding: 8px 20px;
    font-size: 16px;
    min-height: 40px;
}

.btn-large {
    padding: 12px 32px;
    font-size: 16px;
    min-height: 48px;
}

.btn-primary {
    background-color: #019301;
    color: #FFFFFF;
    border-bottom: 4px solid #007500;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
    background-color: #007500;
}

.btn-secondary {
    background-color: #D9D9D9;
    color: #0D0D0D;
    border-bottom: 4px solid #8C8C8C;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
    background-color: #C0C0C0;
}

.btn-link {
    background: transparent;
    color: #019301;
    padding: 0;
    border: none;
    box-shadow: none;
}

.btn-link:hover {
    color: #007500;
}

.chevron-right {
    font-size: 14px;
}

/* Navigation */
.navbar {
    background-color: #252525;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
}

.nav-container {
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.logo {
    width: 300px;
    height: 80px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #019301;
}

.nav-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chevron-down {
    color: #FFFFFF;
    font-size: 12px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Header contact popover */
.nav-actions {
    position: relative;
}

.contact-popover {
    position: absolute;
    top: 64px;
    right: 0;
    background: #FFFFFF;
    color: #0D0D0D;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 16px;
    width: 320px;
    display: none;
    z-index: 1000;
}

.contact-popover.show {
    display: block;
}

.popover-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.popover-link {
    color: #019301;
    text-decoration: none;
    font-weight: 600;
}

.popover-link:hover {
    color: #007500;
}

/* Info popover */
.info-popover {
    position: absolute;
    top: 64px;
    right: 0;
    background: #FFFFFF;
    color: #0D0D0D;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 16px;
    width: 400px;
    display: none;
    z-index: 1000;
}

.info-popover.show {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/Screenshot 2025-09-16 alle 11.48.51.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 64px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hero-title {
    color: #FFFFFF;
    font-size: 72px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-description {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

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

/* Section Styles */
section {
    padding: 112px 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 80px;
}

.tagline-wrapper {
    display: flex;
    align-items: center;
}

.tagline {
    color: #019301;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.section-title {
    color: #0D0D0D;
    font-size: 52px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
}

.section-description {
    color: #0D0D0D;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
}

/* About Section */
.about {
    background-color: #FFFFFF;
    padding: 112px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-text .section-header {
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
}

.about-text .section-content {
    align-items: flex-start;
    text-align: left;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-description {
    text-align: left;
}

.stats {
    display: flex;
    gap: 24px;
    padding: 8px 0;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    color: #0D0D0D;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.stat-text {
    color: #0D0D0D;
    font-size: 16px;
    line-height: 1.5;
}

.about-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.about-image {
    width: 100%;
}

.about-img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Services Section */
.services {
    background-color: #252525;
    color: #FFFFFF;
    padding: 112px 0;
}

.services .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-icon {
    display: flex;
    justify-content: center;
}

.section-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
}

.services .tagline {
    color: #FFFFFF;
}

.services .section-title {
    color: #FFFFFF;
}

.services .section-description {
    color: #FFFFFF;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background-color: transparent;
    color: #FFFFFF;
    padding: 40px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.service-title {
    color: #FFFFFF;
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-description {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.5;
}

.services-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Attention to Details Section */
.attention-details {
    background-color: #000000;
    padding: 112px 0;
}

.attention-details .tagline {
    color: #019301;
}

.attention-details .section-title {
    color: #FFFFFF;
}

.attention-details .section-description {
    color: #FFFFFF;
}

.attention-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.attention-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.attention-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.feature-title {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.feature-description {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.5;
}

.attention-image {
    width: 100%;
}

.attention-img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Team Section */
.team {
    background-color: #FFFFFF;
    padding: 112px 0;
}

.team-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.team-slider {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.team-viewport {
    overflow: hidden;
    width: 100%;
}

.team-cards {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.team-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: calc((100% - 96px) / 3); /* 3 visible cards, 2 gaps of 48px */
    flex: 0 0 calc((100% - 96px) / 3);
}

.team-image {
    width: 100%;
    height: 394.67px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #F5F5F5;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.team-header {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.team-name {
    color: #0D0D0D;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
}

.team-role {
    color: #0D0D0D;
    font-size: 18px;
    line-height: 1.5;
}

.team-description {
    color: #0D0D0D;
    font-size: 16px;
    line-height: 1.5;
}

.team-social {
    display: flex;
    gap: 14px;
}

.social-link {
    color: #0D0D0D;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #019301;
}

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

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #0D0D0D;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

.dot.active {
    opacity: 1;
}

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

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #F2F2F2;
    border: 1px solid #FFFFFF;
    color: #0D0D0D;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: #E0E0E0;
}

.team-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 768px;
}

.cta-title {
    color: #0D0D0D;
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.cta-description {
    color: #0D0D0D;
    font-size: 18px;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 155px;
}

/* CTA Section */
.cta {
    background-color: #252525;
    color: #FFFFFF;
    padding: 112px 0;
}

.cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cta-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-title {
    color: #FFFFFF;
    font-size: 52px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.cta-description {
    color: #FFFFFF;
    font-size: 18px;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

.cta-image {
    flex: 1;
}

.cta-img {
    width: 100%;
    height: 738px;
    object-fit: cover;
    border-radius: 16px;
}

/* Technology Section */
.technology {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/tech schermi.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.technology-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}

.technology-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.technology-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 32px;
}

.technology-title {
    color: #FFFFFF;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Contact Section */
.contact {
    background-color: #0D0D0D;
    color: #FFFFFF;
    padding: 112px 0;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact .tagline {
    color: #FFFFFF;
}

.contact .section-title {
    color: #FFFFFF;
}

.contact .section-description {
    color: #FFFFFF;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

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

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

.contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.contact-title {
    color: #FFFFFF;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.contact-text {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.5;
}

.contact-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #019301;
}

.contact-map {
    width: 100%;
}

.map-img {
    width: 100%;
    height: 549px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* Schedule Section */
.schedule {
    background-color: #FFFFFF;
    padding: 112px 0;
}

.schedule-title {
    color: #0D0D0D;
    font-size: 52px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 80px;
    font-family: 'Gilda Display', serif;
}

.schedule-table {
    background-color: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.table-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, #019301 0%, #007500 100%);
}

.table-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #FFFFFF;
}

.table-cell {
    padding: 24px 16px;
    border-right: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80px;
    transition: background-color 0.3s ease;
}

.table-cell:last-child {
    border-right: none;
}

.table-header .table-cell {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-row .table-cell {
    color: #0D0D0D;
    font-weight: 400;
}

.table-row .table-cell:hover {
    background-color: #F8F9FA;
}

.table-row .table-cell:last-child {
    border-bottom: none;
}

/* Closed days styling */
.table-row .table-cell.closed {
    color: #999999;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #0D0D0D;
    color: #FFFFFF;
    padding: 80px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
}

.footer-logo {
    width: 200px;
    height: 60px;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-text {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
}

/* Performance optimizations */
img {
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.service-card,
.team-card,
.contact-item,
.feature-item {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Smooth transitions */
.btn,
.nav-link,
.slider-arrow,
.contact-link,
.social-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
    
    .nav-container {
        padding: 0 32px;
    }
    
    .hero-container {
        padding: 0 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .team-cards {
        display: flex;
        gap: 32px;
    }
    .team-card {
        width: calc((100% - 32px) / 2);
        flex: 0 0 calc((100% - 32px) / 2);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .attention-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 20px 16px;
    }
    
    .nav-content {
        gap: 20px;
        flex-direction: column;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .logo {
        width: 250px;
        height: 60px;
    }
    
    .hero {
        height: 600px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .team-cards {
        display: flex;
        gap: 24px;
    }
    .team-card {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .slider-controls {
        flex-direction: column;
        gap: 20px;
    }
    
    .team-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .cta .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .schedule-table {
        max-width: 100%;
        margin: 0 16px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }
    
    .table-cell {
        padding: 16px 12px;
        min-height: 60px;
        font-size: 14px;
    }
    
    .table-header .table-cell {
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-logo {
        width: 150px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .service-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .technology-title {
        font-size: 36px;
    }
    
    .technology {
        height: 300px;
    }
    
    .technology-content {
        padding: 0 16px;
    }
}
