/* === PERUSTYYLI === */
:root {
    --primary-color: #bb9179;
    --accent-color: #e8c4b0;
    --dark-color: #2d2d2d;
    --light-color: #f9f9f9;
    --gray-color: #f7f5f3;
    --text-color: #454545;
    --text-light: #767676;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fff;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    transition: transform 0.8s ease, filter 0.5s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.bg-light {
    background-color: var(--gray-color);
}

.text-center {
    text-align: center;
}

.mt-50 {
    margin-top: 50px;
}

/* === PAINIKKEET === */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* === OTSAKE & NAVIGAATIO === */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
}

.navbar {
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    position: fixed;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .logo h1,
.navbar.scrolled .nav-menu a {
    color: var(--dark-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a:not(.btn) {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a.active:not(.btn)::after {
    width: 100%;
}

.nav-cta .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-left: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .nav-menu a:not(.btn) {
    color: var(--dark-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .menu-toggle:before,
.navbar.scrolled .menu-toggle:after,
.navbar.scrolled .menu-toggle i {
    background-color: var(--dark-color);
}

.menu-toggle:before,
.menu-toggle:after,
.menu-toggle i {
    background-color: white;
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-toggle:before {
    top: 0;
}

.menu-toggle i {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle:after {
    bottom: 0;
}

.menu-toggle.active:before {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active i {
    opacity: 0;
}

.menu-toggle.active:after {
    transform: translateY(-9px) rotate(-45deg);
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* === INTRO OSIO === */
.intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.intro-content .lead {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.5;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* === PALVELUT === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    overflow: hidden;
    height: 250px;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.service-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.service-content ul {
    margin-top: 15px;
}

.service-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.service-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

/* === ARVOSTELUT === */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding: 0 15px;
    margin-bottom: 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
}

.testimonial-content p::before {
    content: '\f10d';
    left: -15px;
    top: -10px;
}

.testimonial-content p::after {
    content: '\f10e';
    right: -5px;
    bottom: -10px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author .name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

/* === TIETOA === */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(187, 145, 121, 0.2) 0%, rgba(232, 196, 176, 0.2) 100%);
    top: 0;
    left: 0;
    z-index: 1;
}

.about-text .section-title {
    text-align: left;
    font-size: 2.2rem;
}

.about-text .section-title::after {
    margin-left: 0;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* === YHTEYSTIEDOT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(187, 145, 121, 0.2);
}

/* === FOOTER === */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* === CTA PAINIKE === */
.call-to-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.cta-button i {
    font-size: 1.5rem;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* === RESPONSIIVISUUS === */
@media (max-width: 991px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu li {
        margin-left: 20px;
    }
    
    .nav-cta .btn {
        padding: 7px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 100;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 25px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .nav-menu a:not(.btn) {
        color: white;
        font-size: 1.05rem;
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    
    .nav-menu a:not(.btn)::after {
        background-color: white;
    }
    
    .nav-cta {
        margin-top: 15px;
        width: 100%;
    }
    
    .nav-cta .btn {
        width: 100%;
        text-align: center;
        margin-left: 0;
        padding: 10px;
        background: white;
        color: var(--primary-color);
    }
    
    .nav-cta .btn:hover {
        background: #f5f5f5;
        color: var(--primary-color);
    }
    
    .hero-content h2 {
        font-size: 2.6rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 8px 16px;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 6px 14px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s forwards;
    opacity: 0;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* === ILMOITUKSET === */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: white;
    min-width: 300px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #4CAF50;
}

.notification.info {
    border-left: 4px solid #2196F3;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.notification-content i {
    font-size: 1.4rem;
    margin-right: 15px;
}

.notification.success i {
    color: #4CAF50;
}

.notification.info i {
    color: #2196F3;
}

.notification.error i {
    color: #f44336;
}

.notification-content p {
    margin: 0;
    font-size: 0.95rem;
}

.notification-close {
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 15px;
    padding: 5px;
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--dark-color);
}

/* Service card active state */
.service-card.active {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Smooth image transitions */
.service-card:hover img,
.about-image:hover img {
    filter: brightness(1.05);
} 