/* Color Variables */
:root {
    --primary-blue: #143A60;
    --primary-green: #28a745;
    --dark-blue: #0f2d4a;
    --light-green: #d4edda;
    --dark-green: #218838;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo-nav {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo-nav img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    justify-self: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-self: end;
}

.lang-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.lang-btn:hover { color: #333; }
.lang-btn.active { color: #333; }

.lang-divider {
    color: #ddd;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #333;
    text-align: center;
    padding: 4rem 2rem 6rem 2rem;
    position: relative;
}

.hero-logo {
    margin-bottom: 3rem;
    width: 50%;
    max-width: 500px;
    opacity: 0;
    animation: fadeInLogo 1.5s ease-out forwards;
}

.hero-logo img {
    width: 100%;
    height: auto;
}

@keyframes fadeInLogo {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    color: #143A60;
    opacity: 0;
    animation: fadeInContent 1.5s ease-out 0.5s forwards;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #555;
    opacity: 0;
    animation: fadeInContent 1.5s ease-out 0.8s forwards;
}

@keyframes fadeInContent {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInContent 1.5s ease-out 1.2s forwards;
    z-index: 10;
    width: fit-content;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite 1.5s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Sections */
.section {
    padding: 8rem 0;
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.content-block {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.content-block h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.content-block p {
    margin-bottom: 1.5rem;
}

/* Mission / Om Oss */
.mission-content .lead-text {
    font-size: 1.3rem;
    font-weight: 400;
    color: #143A60;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Image Section */
.image-section {
    height: 70vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                url('images/hero-bild.png') center/cover;
}

/* Gray Background */
.gray-bg {
    background: #fafafa;
}

/* Somlings Storage */
.storage-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.storage-hero-content {
    padding-right: 2rem;
}

.storage-hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.storage-brand h3 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #143A60;
    margin-bottom: 0.5rem;
}

.storage-tagline {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.storage-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.storage-features-inline {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #143A60;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.badge-icon {
    font-size: 1.2rem;
}

.storage-cta {
    margin-top: 2rem;
}

.portal-btn {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.portal-btn:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.cta-subtext {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #777;
}

.storage-hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.storage-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Storage Location */
.storage-location {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.location-icon {
    font-size: 1.3rem;
    margin-top: 0.1rem;
}

.location-name {
    font-weight: 600;
    color: #143A60;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.location-address {
    font-size: 0.9rem;
    color: #666;
}

.maps-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: opacity 0.3s;
}

.maps-link:hover {
    opacity: 0.7;
}

.map-embed {
    border-radius: 8px;
    overflow: hidden;
}

/* Project Impact */
.project-impact {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.project-impact h3 {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 400;
}

.impact-stats-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-small {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Sustainability Combined */
.sustainability-combined {
    padding: 6rem 0;
}

.sustainability-intro {
    margin-bottom: 3rem;
}

.sustainability-intro p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
}

.sustainability-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.pillar-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pillar-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.15);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.pillar-card h3 {
    font-size: 1.1rem;
    color: #143A60;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.pillar-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* SDG Subsection */
.sdg-subsection {
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.sdg-subsection h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    color: #333;
}

.sdg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.sdg-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary-green);
}

.sdg-number {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sdg-card h3 {
    font-size: 1.1rem;
    color: #143A60;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.sdg-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #143A60;
    color: #ccc;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-contact h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-contact a:hover {
    color: white;
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-container {
        padding: 1.5rem 2rem;
        grid-template-columns: auto 1fr auto;
    }

    .logo-nav { order: 1; }
    .hamburger { display: flex; order: 0; }
    .language-switcher { order: 2; }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        grid-column: 1 / -1;
        z-index: 999;
        order: 3;
    }

    .nav-menu.active { left: 0; }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

    .logo-nav img { height: 40px; }
    .hero-logo { width: 80%; max-width: 600px; }

    .storage-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }

    .storage-hero-content { padding-right: 0; }
    .storage-brand h3 { font-size: 2rem; }
    .storage-hero-image img { height: 280px; }
}

@media (max-width: 768px) {
    .hero-logo { width: 85%; max-width: 500px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1.1rem; }
    .section { padding: 5rem 0; }
    .container { padding: 0 2rem; }
    .container-wide { padding: 0 2rem; }
    .section h2 { font-size: 2rem; }
    .impact-stats-small { grid-template-columns: 1fr; gap: 1rem; }
    .sdg-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-logo { width: 90%; max-width: 400px; }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 1rem; }
    .section h2 { font-size: 1.8rem; }
    .content-block { font-size: 1rem; }
    .storage-hero { padding: 1.5rem; }
    .storage-brand h3 { font-size: 1.6rem; }
}
