@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #05140a;
    --primary: #22c55e;
    --primary-hover: #16a34a;
    --secondary: #ef4444;
    --card-bg: rgba(10, 35, 15, 0.6);
    --border-color: rgba(34, 197, 94, 0.2);
    --text-main: #ffffff;
    --text-muted: #a7f3d0;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease-in-out;
    --radius: 16px;
    --glass-bg: rgba(5, 20, 10, 0.7);
    --glass-border: rgba(34, 197, 94, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); text-shadow: 0 0 8px rgba(34, 197, 94, 0.3); }
.text-secondary { color: var(--secondary); text-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(145deg, var(--primary), #15803d);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(145deg, var(--primary-hover), #166534);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border: 1px solid var(--secondary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: linear-gradient(145deg, var(--secondary), #b91c1c);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Layout Grids */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), #b91c1c);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: linear-gradient(135deg, rgba(5, 20, 10, 0.8), rgba(15, 40, 20, 0.8)), url('images/finland-hero-background-lake-aurora.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Cards (Glossy Green) */
.card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(5, 20, 10, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.3);
    border-color: rgba(34, 197, 94, 0.6);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.card:hover .card-img {
    transform: scale(1.03);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(145deg, var(--secondary), #b91c1c);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    z-index: 2;
}

/* Info Blocks */
.info-block {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(5, 20, 10, 0.7));
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.info-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.info-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    text-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
}

/* Detail Page Specific */
.detail-hero {
    padding-top: 150px;
    padding-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-grid img {
    height: 150px;
    object-fit: cover;
    width: 100%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.gallery-grid img:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(5, 20, 10, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3), inset 0 2px 4px rgba(0,0,0,0.2);
}

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

/* Accordion (FAQ) */
.accordion {
    margin-top: 2rem;
}

.accordion-item {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(5, 20, 10, 0.7));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(34, 197, 94, 0.05);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary);
    text-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-item.active .accordion-body {
    display: block;
}

/* Footer */
footer {
    background: #020804;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Header */
.page-header {
    padding: 150px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.1) 0%, var(--bg-dark) 100%);
    border-bottom: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(5, 20, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); background: var(--secondary); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); background: var(--secondary); }

    .hero h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img:first-child { grid-column: span 2; grid-row: span 1; }
}