/* ==========================================================================
   Pitkäniemen Helmi - tyylit.css (Väritetty uudella vihreällä #2c674a)
   ========================================================================== */

/* 1. YLEISET TYYLIT */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 28px;
    color: #2c674a; /* Päivitetty uusi vihreä */
    display: inline-block;
    border: none;
    padding: 0;
}

/* 2. NAVIGAATIO (Työpöytäasettelu) */
.navbar {
    background: #ffffff;
    padding: 15px 0; 
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    width: 120px;
    height: 40px;
}

.logo a {
    display: inline-block;
}

.nav-logo-img {
    height: 125px; 
    width: auto;
    display: block;
    position: absolute;
    top: -10px;
    left: 0;
    border-radius: 50%;
    mix-blend-mode: multiply; 
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18)); 
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 99999;
}

.nav-logo-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 16px rgba(26, 51, 39, 0.28));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0 0 0 150px;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #4a534f;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #c5a059;
}

.cta-btn {
    padding: 12px 24px;
    background: #2c674a; /* Päivitetty uusi vihreä */
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s;
    border: 1px solid #2c674a; /* Päivitetty uusi vihreä */
    white-space: nowrap;
}

.cta-btn:hover {
    background: transparent;
    color: #2c674a; /* Päivitetty uusi vihreä */
}

/* 3. HERO-SECTION */
.hero {
    background: linear-gradient(rgba(26, 51, 39, 0.15), rgba(20, 35, 29, 0.5)), url('helmi2.png') center/cover no-repeat;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 850px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #f5f7f6;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* 4. JUHLATILAT & KORTIT */
.grid {
    display: flex;
    gap: 30px;
}

.card {
    flex: 1;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    margin: 0 0 15px 0;
    color: #2c674a; /* Päivitetty uusi vihreä */
}

/* 5. CATERING-OSIO */
.catering-section {
    background: #f4f7f5;
    width: 100%;
    padding: 85px 60px;
    margin: 40px 0;
    border-radius: 12px; 
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #060606;
}

.catering-badge {
    color: #c5a059;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.catering-title {
    font-size: 32px;
    color: #212020;
    margin: 0 auto 20px auto;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.3;
}

.catering-text {
    font-size: 17px;
    color: #0f0e0e;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 750px;
}

/* 6. TYKY-PÄIVÄT */
.grid-3 {
    display: flex;
    gap: 25px;
}

.tyky-card {
    flex: 1;
    background: #fdfbf7;
    padding: 30px;
    border-radius: 6px;
    border-top: 4px solid #2c674a; /* Päivitetty uusi vihreä */
}

.tyky-card h4 {
    margin: 0 0 15px 0;
    color: #2c674a; /* Päivitetty uusi vihreä */
    font-size: 18px;
}

/* 7. CAFE HELMI */
.cafe-section {
    background: url('cafehelmi.png') center/cover no-repeat;
    padding: 100px 0;
    display: flex;
    justify-content: center;
}

.cafe-box {
    background: #ffffff;
    padding: 45px;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.cafe-box h2 {
    color: #2c674a; /* Päivitetty uusi vihreä */
    margin-bottom: 20px;
}

.cafe-box h4 {
    color: #c5a059;
    font-size: 18px;
    margin: 25px 0 10px 0;
}

/* 8. YHTEYSTIEDOT & LOMAKE */
.contact-grid {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    color: #c5a059;
    font-size: 12px;
    letter-spacing: 1px;
}

.contact-form-container {
    flex: 1.2;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e1e5e3;
    border-radius: 4px;
    font-family: inherit;
    width: 100%;
}

.submit-btn {
    padding: 14px;
    background: #2c674a; /* Päivitetty uusi vihreä */
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.submit-btn:hover {
    background: #1e4b35; /* Hieman tummempi sävy hover-efektille */
}

/* 9. ALAPALKKI */
.footer {
    background: #2c674a; /* Pidetty uusi vihreä */
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin: 5px 0;
    color: #ffffff;
}

/* 10. RESPONSIVISUUS (MOBIILIKORJAUKSET) */
@media (max-width: 768px) {
    
    .nav-content, .grid, .grid-3, .contact-grid {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .section-padding {
        padding: 40px 0;
    }

    .logo {
        width: auto;
        height: auto;
        justify-content: center;
        margin-bottom: 10px;
    }

    .nav-logo-img {
        position: static;
        height: 80px;
        margin: 0 auto;
    }

    .nav-links {
        margin: 15px 0 !important;
        gap: 12px 18px;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center;
    }

    .nav-links a {
        font-size: 14px;
        padding: 4px 6px;
        display: inline-block;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        margin-top: 5px;
    }

    .hero {
        height: auto;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

    .card {
        width: 100%;
        margin-bottom: 20px;
    }

    .card img {
        height: 200px;
    }

    .catering-section {
        padding: 35px 20px;
        margin: 20px 0;
    }

    .catering-title {
        font-size: 22px;
    }

    .catering-text {
        font-size: 15px;
    }

    .tyky-card {
        width: 100%;
        margin-bottom: 15px;
    }

    .cafe-box {
        padding: 25px 20px;
        margin: 0 15px;
    }

    .contact-form-container {
        width: 100%;
        padding: 25px 20px;
    }
}