/* 
   LASTUU/LAS2 Main Stylesheet
   Comprehensive styles for all pages
*/

/* Base styles */
* {   
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

        /* Header with GIF background */
        .header {
            background: linear-gradient(rgba(52, 48, 44, 0.8), rgba(65, 60, 55, 0.9)), 
                        url('img/las2.gif') center center;
            background-size: cover;
            background-attachment: fixed;
            color: white;
            padding: 20px 0 0 0;
            position: relative;
            overflow: hidden;
        }

        /* Fallback gradient jos GIF ei lataudu */
        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, #34302c, #413c37, #ff8c38, #34302c);
            background-size: 400% 400%;
            animation: gradientShift 8s ease-in-out infinite;
            z-index: -1;
            opacity: 0.3;
        }

        /* Animated background gradient (fallback) */
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Lisää hienovarainen overlay parantamaan tekstin luettavuutta */
        .header::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%);
            pointer-events: none;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 5%;
            margin-bottom: 50px;
            position: relative;
            z-index: 10;
        }

        .logo {
            display: flex;
            align-items: center;
            z-index: 100;
        }

        .logo img {
            height: 40px;
            margin-right: 10px;
        }

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

        .nav-links li {
            margin: 0 15px;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 1rem;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #ff8c38;
        }

        .download-btn {
background-color: #ff8c38;
            color: #fff!important;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .download-btn:hover {
            background-color: #fff;
            color: #ff8c38!important;
        }

        /* Hero section */
        .hero {
            text-align: center;
            padding: 50px 10% 150px;
            position: relative;
            z-index: 5;
        }

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

        .hero h1 span {
            color: #ff8c38;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}
    

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Ensure hamburger stays on top */
.hamburger {
    position: relative;
    z-index: 101;
}

/* Hero section - Homepage */
.hero {
    text-align: center;
    padding: 50px 10% 150px;
    position: relative;
}

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

.hero h1 span {
    color: #ff8c38;
}

.hero p {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 30px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-btn {
            background-color: #ff8c38;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 4px;
            font-size: 1rem;
            cursor: pointer;
            margin-bottom: 20px;
            display: inline-block;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 140, 56, 0.4);
}

.hero-btn:hover {
            background-color: #e67b28;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 140, 56, 0.6);
}

.hero-caption {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-caption a {
    color: #ff8c38;
    text-decoration: none;
}

/* Page header (smaller than hero - for subpages) */
.page-header {
    text-align: center;
    padding: 30px 10% 100px;
    position: relative;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.page-header h1 span {
    color: #ff8c38;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Wave effect at bottom of header - korjattu */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    border-radius: 100% 100% 0 0 / 100% 100% 0 0;
    z-index: 1;
}
  /* Video section */
        .video-section {
            padding: 8px 5% 60px;
            background: linear-gradient(to bottom, #fff, #f8f9fa);
            text-align: center;
            margin-top: 0;
        }

        .video-container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .video-header {
            margin-bottom: 40px;
        }

        .video-header h2 {
            font-size: 2.2rem;
            margin-bottom: 15px;
            color: #34302c;
        }

        .video-header h2 span {
            color: #ff8c38;
        }

        .video-header p {
            color: #666;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

/* Self-hosted video player with custom overlay */
body.menu-open .video-section {
    display: none;
}


.video-player {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: #000;
    cursor: pointer;
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
}

/* Video overlay - koko videon kokoinen hover-alue */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Play button - keskellä */
.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 140, 56, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: rgba(255, 140, 56, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.play-button::before {
    content: '▶';
    color: white;
    font-size: 2rem;
    margin-left: 4px;
}

/* Loading spinner */
.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ff8c38;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading state */
.video-player.loading .play-button {
    display: none;
}

.video-player.loading .loading-spinner {
    display: block;
}

/* Playing state - overlay piilossa */
.video-player.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Pause overlay - näytetään kun pausella */
.pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 140, 56, 0.9);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 15;
    backdrop-filter: blur(10px);
    animation: fadeInOut 0.6s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.pause-overlay::before {
    content: '⏸';
    color: white;
    font-size: 1.5rem;
}

/* Progress bar */
.video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #ff8c38;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
    z-index: 20;
}

        /* Self-hosted video player 
        .video-player {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            background: #000;
        }

        .video-player video {
            width: 100%;
            height: auto;
            display: block;
        }


        .video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            padding: 20px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .video-player:hover .video-controls {
            transform: translateY(0);
        }

        .play-pause-btn {
            background: rgba(255, 140, 56, 0.9);
            border: none;
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.3s ease;
        }

        .play-pause-btn:hover {
            background: rgba(255, 140, 56, 1);
        }
*/
        /* GIF container styles */
        .gif-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            background: #f8f9fa;
        }

        .demo-gif {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }

        .gif-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 140, 56, 0.9);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            backdrop-filter: blur(10px);
        }

        /* Features section */
        .features {
            padding: 60px 5% 100px;
            background-color: #fff;
        }

        .features-banner {
            width: 100%;
            margin: 0 0 60px 0;
            position: relative;
            overflow: hidden;
        }

        .features-banner img {
            width: 100%;
            display: block;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}
    /* Overview section */
    .overview-section {
        padding: 80px 5% 10px;
        background-color: #fff;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .section-header h2 span {
        color: #ff8c38;
    }
    
    .section-header p {
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.1rem;
        color: #666;
    }
    
    .overview-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 20px;
    }
    
    .overview-text {
        flex: 1;
        min-width: 300px;
    }
    
    .overview-text h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: #34302c;
    }
    
    .overview-text p {
        margin-bottom: 20px;
        color: #555;
        font-size: 1.05rem;
    }
    
    .overview-image {
        flex: 1;
        min-width: 300px;
    }
    
    .overview-image img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .overview-img img {
        width: 100%;
    }

/* Section styles */
.section {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.section-light {
    background-color: #fff;
}

.section-dark {
    background: linear-gradient(to bottom, #fff, #f5f5ff);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: #ff8c38;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Features section - Homepage */
.features {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.features-header {
    text-align: center;
    margin-bottom: 30px;
}

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-header h2 span {
    color: #ff8c38;
}

.features-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.features-banner {
    width: 100%;
    margin: 0 0 60px 0;
    position: relative;
    overflow: hidden;
}

.features-banner img {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    height: 100px;
    margin: 0 auto;
}

.feature-icon img {
    max-height: 30px;
    width: auto;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.feature-card a {
    color: #ff8c38;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.feature-card a:after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.feature-card a:hover:after {
    margin-left: 10px;
}

/* Features/Capabilities numbered sections */
.features-section, .capabilities-section {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.features-grid, .capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature, .capability {
    display: flex;
    align-items: flex-start;
}

.feature-number, .capability-number {
    font-size: 3rem;
    font-weight: bold;
    color: #f1f1f1;
    margin-right: 20px;
    line-height: 1;
}

.feature-content h3, .capability-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #34302c;
}

.feature-content p, .capability-content p {
    color: #666;
}

/* Contact section - Homepage */
.contact {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #fff, #f5f5ff);
}

.contact-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 50px;
    align-items: center;
}

.contact-image {
    flex: 1;
    text-align: center;
}

.contact-image img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info h2 span {
    color: #ff8c38;
}

.contact-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    background-color: #fff2e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c38;
    font-weight: bold;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
}

.contact-text a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #ff8c38;
}

.contact-btn {
    background-color: #ff8c38;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #413c37;
}

/* Company story section */
.about-section {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.company-story {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.story-content {
    flex: 1;
    min-width: 300px;
}

.story-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #34302c;
}

.story-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.story-image {
    flex: 1;
    min-width: 300px;
}

.story-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mission & Vision */
.mission-vision {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 80px;
}

.mission-card, .vision-card {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-card h3, .vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #34302c;
}

.mission-card h3:after, .vision-card h3:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #ff8c38;
    margin-top: 15px;
}

.mission-card p, .vision-card p {
    color: #555;
    font-size: 1.05rem;
}

/* Team section */
.team-section {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #fff, #f5f5ff);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #34302c;
}

.member-info .role {
    color: #ff8c38;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-info p {
    font-size: 0.95rem;
    color: #666;
}

/* Milestones section */
.milestones-section {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #f1f1f1;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.milestone {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.milestone::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff8c38;
    border-radius: 50%;
    top: 24px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.milestone-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.milestone-year {
    color: #ff8c38;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.milestone-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #34302c;
}

.milestone-text {
    color: #555;
}

/* Values section */
.values-section {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #f5f5ff, #fff);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: #fff2e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ff8c38;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #34302c;
}

.value-card p {
    color: #666;
}

/* Benefits section */
.benefits-section {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #fff, #f5f5ff);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    background-color: #fff2e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ff8c38;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #34302c;
}

.benefit-card p {
    color: #666;
}

/* Technical specs */
.specs-section {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #f5f5ff, #fff);
}

.specs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 600px;
    margin: 0 auto;
}

.specs-image {
    flex: 1;
    min-width: 300px;
}

.specs-image img {
    width: 100%;
}

.specs-details {
    flex: 1;
    min-width: 300px;
}

.specs-details h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #34302c;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
    color: #555;
}

.specs-table td:first-child {
    font-weight: 500;
    width: 40%;
}

/* Call to action */
.cta-section {
    padding: 40px 5%;
    background-color: #f8f9fa;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cta-container h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-container h2 span {
    color: #ff8c38;
}

.cta-container p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 1.1rem;
}

.cta-btn {
    background-color: #ff8c38;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #e67b28;
}

/* Partner categories section */
.category-tabs {
    display: flex;
    justify-content: center;
    margin: 0 auto 40px;
    max-width: 800px;
    border-bottom: 1px solid #eee;
}

.category-tab {
    padding: 15px 30px;
    font-size: 1.1rem;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.category-tab.active {
    color: #ff8c38;
    font-weight: 500;
}

.category-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff8c38;
}

.category-tab:hover {
    color: #ff8c38;
}

/* Partners section */
.partners-section {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.partner-info {
    padding: 20px;
}

.partner-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #34302c;
}

.partner-info .partnership-type {
    color: #ff8c38;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.partner-info p {
    font-size: 0.95rem;
    color: #666;
}

/* Become a partner section */
.become-partner-section {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #fff, #f5f5ff);
    text-align: center;
}

.partnership-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.partnership-option {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partnership-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partnership-option h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #34302c;
}

.partnership-option p {
    color: #666;
    margin-bottom: 20px;
}

.partnership-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.partnership-benefits li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #555;
}

.partnership-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff8c38;
    font-weight: bold;
}

.partner-btn {
    background-color: #ff8c38;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.partner-btn:hover {
    background-color: #e67b28;
}

/* Press Contact section */
.press-contact {
    margin-bottom: 60px;
}

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

.contact-card {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    padding: 25px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #34302c;
}

.contact-info .role {
    font-size: 1.1rem;
    color: #ff8c38;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-details {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    background-color: #fff2e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c38;
    font-weight: bold;
}

.contact-text {
    color: #555;
}

.contact-text a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #ff8c38;
}

.press-kit {
    margin-top: 25px;
}

.press-kit-btn {
    display: inline-block;
    background-color: #ff8c38;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.press-kit-btn:hover {
    background-color: #e67b28;
}

/* Media Resources Section */
.resources-section {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #fff, #f5f5ff);
}

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

.resource-category {
    margin-bottom: 60px;
}

.resource-category h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #34302c;
    position: relative;
    padding-bottom: 15px;
}

.resource-category h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ff8c38;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.media-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.media-preview {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-preview .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-card:hover .overlay {
    opacity: 1;
}

.download-icon {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c38;
    font-size: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.media-info {
    padding: 15px;
}

.media-info h4 {
    font-size: 1.1rem;
    color: #34302c;
    margin-bottom: 5px;
}

.media-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.media-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
}

/* Press Release Section */
.press-releases {
    max-width: 1000px;
    margin: 0 auto;
}

.release-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.release-item:last-child {
    border-bottom: none;
}

.release-date {
    font-size: 0.9rem;
    color: #ff8c38;
    font-weight: 500;
    margin-bottom: 10px;
}

.release-title {
    font-size: 1.3rem;
    color: #34302c;
    margin-bottom: 15px;
}

.release-summary {
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.release-text {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #ff8c38;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more:after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover:after {
    margin-left: 10px;
}

/* Contact Form Section */
.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff8c38;
    outline: none;
}

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

.submit-btn {
    background-color: #ff8c38;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.submit-btn:hover {
    background-color: #e67b28;
}

/* Office locations section */
.locations-section {
    padding: 80px 5% 100px;
    background: linear-gradient(to bottom, #fff, #f5f5ff);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.location-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.location-map {
    height: 200px;
    background-color: #eee;
    position: relative;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-details {
    padding: 20px;
}

.location-details h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #34302c;
}

.location-details .country {
    color: #ff8c38;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.location-details p {
    margin-bottom: 10px;
    color: #666;
}

.location-details .directions {
    display: inline-flex;
    align-items: center;
    color: #ff8c38;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 10px;
}

.location-details .directions:after {
    content: "→";
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.location-details .directions:hover:after {
    margin-left: 10px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34302c;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #ff8c38;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.4rem;
    color: #999;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    color: #666;
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 10px 0;
}

/* Footer section */
.footer {
    background: linear-gradient(to bottom, #34302c, #413c37);
    color: white;
    padding: 100px 5% 30px;
    position: relative;
}

.footer-wave {
display: none;
}

.footer-content {
    text-align: center;
    padding: 30px 0;
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer h3 span {
    color: #ff8c38;
}

.footer p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter button {
    background-color: #ff8c38;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #e67b28;
}

.social-links {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 20px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.footer-nav-col h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-nav-col ul {
    list-style: none;
}

.footer-nav-col ul li {
    margin-bottom: 8px;
}

.footer-nav-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #ff8c38;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    font-size: 0.8rem;
    color: #999;
}

.logo-small {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.logo-small img {
    height: 30px;
    margin-right: 10px;
}

/* Privacy Policy section */
.privacy-section {
    padding: 80px 5% 100px;
    background-color: #fff;
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    text-align: right;
    font-style: italic;
    color: #666;
    margin-bottom: 30px;
}

.privacy-content h2 {
    font-size: 1.8rem;
    color: #34302c;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    font-size: 1.4rem;
    color: #34302c;
    margin: 30px 0 15px 0;
}

.privacy-content p {
    margin-bottom: 15px;
    color: #444;
}

.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
    color: #444;
}

.privacy-content a {
    color: #ff8c38;
    text-decoration: none;
    font-weight: 500;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px 0;
}

.privacy-table th {
    background-color: #f8f9fa;
    color: #34302c;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #e9ecef;
}

.privacy-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    color: #444;
    vertical-align: top;
}

.privacy-table tr:last-child td {
    border-bottom: 2px solid #e9ecef;
}

.privacy-table tr:hover {
    background-color: #f8f9fa;
}

/*Footer links*/
.copyright a {
    color: #999;
}

.copyright a:hover {
    color: #e67b28;
}

body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .page-header h1, .hero h1 {
        font-size: 2.2rem;
    }
    
    .features-grid, .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-nav {
        gap: 20px;
    }
    
    .milestone {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .milestone::after {
        left: 15px;
    }
    
    .right {
        left: 0%;
    }
    
    .timeline::after {
        left: 31px;
    }
}

@media (max-width: 768px) {
.hamburger {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Muutettu right → left */
        width: 100%; /* Täysi leveys */
        height: 100vh; /* Täysi korkeus */
        background-color: #34302c; /* Täysin peittävä väri, ei läpinäkyvyyttä */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.4s ease; /* Muutettu right → left */
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0; /* Kun aktiivinen */
    }
    
    .nav-links li {
        margin: 25px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    
    .nav-links a {
        font-size: 1.5rem;
        padding: 20px 40px;
        display: block;
        text-align: center;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-width: 200px;
        color: white;
        text-decoration: none;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 140, 56, 0.2);
        transform: scale(1.05);
        color: #ff8c38;
    }
    
    /* CONTACT nappi */
    .download-btn {
        background-color: #ff8c38 !important;
        color: white !important;
    }
    
    .download-btn:hover {
        background-color: #e67b28 !important;
        color: white !important;
    }
    
    .download-btn.mobile-hidden {
        display: none;
    }
    
    .page-header, .hero {
        padding: 30px 5% 80px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-image {
        margin-bottom: 30px;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .overview-text, .overview-image, 
    .story-content, .story-image, 
    .specs-image, .specs-details, 
    .contact-form, .contact-info {
        flex: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-banner {
        margin-bottom: 40px;
    }
    
    .benefits-grid, .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .partnership-options {
        flex-direction: column;
        align-items: center;
    }
    
    .partnership-option {
        max-width: 100%;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .newsletter {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter button {
        border-radius: 4px;
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .media-meta {
        flex-direction: column;
        gap: 5px;
    }
    .hero h1 { font-size: 2rem; }
.video-header h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .page-header h1, .hero h1 {
        font-size: 1.6rem;
    }
    
    .section-header h2, .features-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .milestone-content {
        padding: 20px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tab {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .footer h3 {
        font-size: 1.5rem;
    }
                .hero h1 {
                font-size: 1.6rem;
            }
            
            .youtube-container iframe,
            .video-placeholder {
                height: 250px;
            }
}



#thank-you-message {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 140, 56, 0.3);
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
    color: white;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.5s ease-in;
}
#thank-you-message.hidden {
    display: none !important;
}

#thank-you-message.visible {
    display: block !important;
}
