/* Base Reset & Variables */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors - Professional Money Green Theme */
    --color-primary: #2d5a3d;
    --color-primary-dark: #1a3d2a;
    --color-primary-light: #3d7a4f;
    --color-accent: #4a8c5e;
    --color-accent-light: #5fa06d;
    --color-gold: #8a7b3c;
    --color-bg: #f7fafc;
    --color-bg-alt: #edf2f7;
    --color-text: #1a202c;
    --color-text-muted: #4a5568;
    --color-white: #ffffff;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
}

/* Base Styles */
html {
    font-size: 15px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(248, 246, 241, 0.98) 0%, rgba(245, 243, 237, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(74, 140, 94, 0.15);
}

.header.scrolled {
    background: linear-gradient(180deg, rgba(248, 246, 241, 0.99) 0%, rgba(245, 243, 237, 0.98) 100%);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: none;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-logo {
    height: 36px;
    width: auto;
    display: block;
}

.nav-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-xs) 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.nav-link--cta {
    background: linear-gradient(135deg, #4a8c5e 0%, #3d7a4f 50%, #2d6a3d 100%);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
}

.nav-link--cta:hover {
    background: linear-gradient(135deg, #5a9c6e 0%, #4d8a5f 50%, #3d7a4f 100%);
    color: var(--color-white);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary-dark);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-primary-dark);
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Hero - Full screen, normal scroll */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 61, 42, 0.6) 0%, rgba(45, 90, 61, 0.5) 50%, rgba(26, 61, 42, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl);
    max-width: 900px;
    width: 100%;
}

.hero-logo {
    width: 50%;
    max-width: 400px;
    height: auto;
    margin-bottom: var(--space-xl);
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* Drop shadow for SVG - follows the shape */
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
    transition: filter 0.3s ease;
}

.hero-logo:hover {
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.85rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 2.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Parallax Image Sections - Sticky when scrolling */
.parallax-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 61, 42, 0.65) 0%, rgba(45, 90, 61, 0.55) 50%, rgba(26, 61, 42, 0.6) 100%);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    max-width: 800px;
}

.parallax-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.parallax-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Different parallax backgrounds - Local images */
.parallax-tallinn {
    background-image: url('/images/tallinn.jpg');
}

.parallax-cost {
    background-image: url('/images/cost.jpg');
}

/* Buttons */
.btn {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn--primary {
    background: linear-gradient(135deg, #4a8c5e 0%, #3d7a4f 50%, #2d6a3d 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(61, 122, 79, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #5a9c6e 0%, #4d8a5f 50%, #3d7a4f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 122, 79, 0.45);
    text-decoration: none;
    color: var(--color-white);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn--large {
    padding: var(--space-md) var(--space-2xl);
    font-size: 1.05rem;
}

/* Sections */
.section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, #f8f6f1 0%, #f5f3ed 100%);
}

.section--alt {
    background: linear-gradient(180deg, #f5f3ed 0%, #f0ede5 50%, #ebe8e0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.section-text.quote {
    color: var(--color-text);
    font-style: italic;
}

/* Feature List */
.feature-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(145deg, #fffdf9 0%, #faf8f3 50%, #f8f6f1 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 140, 94, 0.12);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 61, 42, 0.1);
    border-color: rgba(74, 140, 94, 0.25);
    background: linear-gradient(145deg, #fff 0%, #fffdf9 50%, #f8f6f1 100%);
}

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4a8c5e 0%, #3d7a4f 60%, #2d6a3d 100%);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.feature-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-content strong {
    display: block;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-xs);
    font-size: 1.05rem;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(145deg, #fffdf9 0%, #faf8f3 50%, #f8f6f1 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(74, 140, 94, 0.12);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 61, 42, 0.1);
    border-color: rgba(74, 140, 94, 0.2);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4a8c5e 0%, #3d7a4f 60%, #2d6a3d 100%);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.process-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--color-primary-dark);
}

.process-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: linear-gradient(145deg, #fffdf9 0%, #faf8f3 50%, #f8f6f1 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 140, 94, 0.12);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 61, 42, 0.12);
    border-color: rgba(74, 140, 94, 0.25);
    background: linear-gradient(145deg, #fff 0%, #fffdf9 50%, #f8f6f1 100%);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.service-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
}

.service-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Pricing */
.pricing-table {
    max-width: 650px;
    margin: var(--space-xl) auto;
    background: linear-gradient(145deg, #fffdf9 0%, #faf8f3 50%, #f8f6f1 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid rgba(74, 140, 94, 0.12);
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(74, 140, 94, 0.08);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-service {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.pricing-price {
    font-weight: 700;
    background: linear-gradient(135deg, #4a8c5e 0%, #3d7a4f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
}

.pricing-item--featured {
    background: linear-gradient(135deg, rgba(74, 140, 94, 0.06) 0%, rgba(61, 122, 79, 0.08) 50%, rgba(45, 90, 61, 0.06) 100%);
    margin: var(--space-sm) calc(-1 * var(--space-md));
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

/* Package Info */
.package-info {
    max-width: 650px;
    margin: var(--space-xl) auto 0;
    background: linear-gradient(145deg, #fffdf9 0%, #faf8f3 50%, #f8f6f1 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(74, 140, 94, 0.12);
}

.package-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.package-label {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
    color: var(--color-primary-dark);
}

.package-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.package-list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.package-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Contact Section - Simple Green Cards */
.contact-simple {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xl) var(--space-2xl);
    background: linear-gradient(135deg, #4a8c5e 0%, #3d7a4f 50%, #2d6a3d 100%);
    border-radius: var(--radius-lg);
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(61, 122, 79, 0.3);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(61, 122, 79, 0.4);
}

.contact-card .contact-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.contact-card .contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xs);
}

.contact-card .contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-card .contact-value:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a3d2a 0%, #15331f 50%, #102918 100%);
    color: var(--color-white);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.footer-info {
    font-size: 0.85rem;
    opacity: 0.85;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: var(--space-md);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #f8f6f1 0%, #f5f3ed 100%);
        flex-direction: column;
        padding: var(--space-md);
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(74, 140, 94, 0.15);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-title {
        font-size: 1.15rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.45rem;
    }
    
    .hero-logo {
        width: 60%;
        max-width: 300px;
    }
    
    .parallax-title {
        font-size: 1.75rem;
    }
    
    .parallax-text {
        font-size: 1rem;
    }
    
    /* Disable parallax on mobile for better performance */
    .parallax-section {
        background-attachment: scroll;
        min-height: 40vh;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .package-columns {
        grid-template-columns: 1fr;
    }
    
    .contact-simple {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .hero-logo {
        width: 70%;
    }
    
    .parallax-title {
        font-size: 1.5rem;
    }
}
/* SVG Icon Styles */
.service-icon svg {
    color: var(--color-accent);
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    color: var(--color-primary);
}

.contact-icon svg {
    color: var(--color-white);
}

.feature-icon svg {
    color: var(--color-accent);
}

/* Nav Logo SVG */
.nav-logo {
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.05);
}

/* Hero Logo Animation */
.hero-logo {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.02);
}