/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2E4057;
    background-color: #F5F0E6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #2D5A27;
}

a {
    text-decoration: none;
}

/* ===== NAVBAR (reused from main) ===== */
.navbar {
    background-color: #2D5A27;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #F5F0E6;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links li a {
    color: #F5F0E6;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    border-bottom-color: #B86F52;
}

.menu-toggle {
    display: none;
    color: #F5F0E6;
    font-size: 2rem;
    cursor: pointer;
}

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

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 1rem;
}

.lang-btn {
    color: #F5F0E6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-btn.active {
    color: #B86F52;
    font-weight: 700;
}

.lang-divider {
    color: #6A8D92;
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 0.5rem;
        justify-content: center;
    }
}

.btn-plan {
    background-color: #B86F52;
    color: #F5F0E6;
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #B86F52;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-plan:hover {
    background-color: #9e5e45;
    border-color: #9e5e45;
    transform: translateY(-2px);
}

/* ===== BLOG MAIN ===== */
.blog-main {
    margin-top: 2rem;
}

/* ===== 1. SLIDER SECTION ===== */
.slider-section {
    width: calc(100% - 4rem);
    height: 750px;
    margin: 2rem auto 4rem auto;
    position: relative;
}

.slider-container {
    position: relative;
    height: 750px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #F5F0E6;
    padding: 2rem;
}

.slide-caption h2 {
    color: #F5F0E6;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 90, 39, 0.7);
    color: #F5F0E6;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: #2D5A27;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #B86F52;
}

/* ===== 2. CARDS SECTION ===== */
.cards-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #B86F52;
    margin: 1rem auto 0;
}

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

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.8s ease, transform 0.8s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #2D5A27;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.card-excerpt {
    color: #2E4057;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.read-more {
    color: #B86F52;
    font-weight: 600;
    display: inline-block;
    transition: color 0.2s;
}

.read-more:hover {
    color: #9e5e45;
}

/* ===== 3. QUOTES SECTION ===== */
.quotes-section {
    background: linear-gradient(135deg, #2D5A27 0%, #1e3b1a 100%);
    padding: 4rem 2rem;
    margin: 4rem 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.quotes-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.quote {
    flex: 1 1 280px;
    background: rgba(245, 240, 230, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 16px;
    border-left: 5px solid #B86F52;
    color: #F5F0E6;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.quote p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.quote footer {
    text-align: right;
    color: #6A8D92;
    font-weight: 500;
}

/* ===== 4. LAYERED IMAGES SECTION ===== */
.layered-images {
    position: relative;
    min-height: 400px;
    max-width: 1200px;
    margin: 6rem auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.layer {
    position: absolute;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
}

.layer-1 {
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-image: url('fotot/15\ \(2\).webp');
    border-radius: 50%;
    transform: rotate(10deg);
    z-index: 1;
}

.layer-2 {
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-image: url('fotot/20.jpg');
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
}

.layer-3 {
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-image: url('fotot/13.jpg');
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    z-index: 2;
    opacity: 0.15;
}

.layer-4 {
    bottom: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background-image: url('fotot/card.jpg');
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    z-index: 2;
    opacity: 0.1;
}

.layer-content {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 500px;
    border: 1px solid rgba(184, 111, 82, 0.3);
}

.layer-content h3 {
    color: #2D5A27;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.layer-content p {
    color: #2E4057;
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
}

.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #6A8D92;
    border-radius: 40px;
    font-family: inherit;
    outline: none;
}

.subscribe-form input:focus {
    border-color: #B86F52;
}

.subscribe-form button {
    background: #B86F52;
    color: #F5F0E6;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #9e5e45;
}

/* ===== SCROLL ANIMATIONS ===== */
.quotes-section,
.cards-section,
.layered-images,
.blog-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.quotes-section.visible,
.cards-section.visible,
.layered-images.visible,
.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slight stagger for cards */
.cards-section.visible .blog-card:nth-child(1) { transition-delay: 0.1s; }
.cards-section.visible .blog-card:nth-child(2) { transition-delay: 0.2s; }
.cards-section.visible .blog-card:nth-child(3) { transition-delay: 0.3s; }
.cards-section.visible .blog-card:nth-child(4) { transition-delay: 0.4s; }

/* ===== FOOTER ===== */
.footer {
    background-color: #1a2f2a;
    color: #F5F0E6;
    margin-top: 0;
    padding: 4rem 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(106, 141, 146, 0.3);
}

.footer-col h3 {
    font-size: 1.2rem;
    color: #F5F0E6;
    margin-bottom: 1.2rem;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #B86F52;
    margin-top: 0.5rem;
}

.footer-logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #F5F0E6;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0 1.5rem;
    color: #C0C8D0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(245, 240, 230, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F5F0E6;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #B86F52;
    transform: translateY(-3px);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #C0C8D0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #B86F52;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #B86F52;
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #C0C8D0;
    margin-bottom: 1rem;
}

.footer-contact li i {
    width: 20px;
    color: #B86F52;
    font-size: 1rem;
}

.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #F5F0E6;
}

.footer-newsletter p {
    font-size: 0.8rem;
    color: #C0C8D0;
    margin-bottom: 1rem;
}

.newsletter-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-group input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 40px;
    font-family: inherit;
    background: rgba(245, 240, 230, 0.1);
    color: #F5F0E6;
    outline: none;
    transition: all 0.3s;
}

.newsletter-group input:focus {
    background: rgba(245, 240, 230, 0.2);
}

.newsletter-group input::placeholder {
    color: #8A9A9A;
}

.newsletter-group button {
    background: #B86F52;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #F5F0E6;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-group button:hover {
    background: #9e5e45;
    transform: translateX(3px);
}

.newsletter-note {
    font-size: 0.7rem;
    margin-top: 0.8rem;
    opacity: 0.7;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-bottom-content p {
    color: #8A9A9A;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: #8A9A9A;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #B86F52;
}

.newsletter-success {
    background: rgba(184, 111, 82, 0.2);
    border: 1px solid #B86F52;
    padding: 0.8rem;
    border-radius: 40px;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.newsletter-success.show {
    display: block;
}


/* ===== RESPONSIVE ===== */
@media screen and (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide img {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1.2rem;
        padding: 2rem 0 1rem 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
        width: 100%;
        justify-content: center;
        padding-bottom: 1rem;
    }

    .nav-cta.active {
        display: flex;
    }

    .slider-section {
        width: calc(100% - 2rem);
    }
    
    .slide-caption h2 {
        font-size: 1.5rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .quotes-container {
        flex-direction: column;
    }
    
    .layered-images {
        min-height: 500px;
    }
    
    .layer-1, .layer-2, .layer-3, .layer-4 {
        width: 150px;
        height: 150px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .slide img {
        height: 300px;
    }
}