:root {
    --green-forest: #4D7261;
    --green-sage: #7B9E8F;
    --lilac-pale: #B8A3C2;
    --purple-deep: #8A6A9E;
    --beige-natural: #FFF9E9;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Handlee&family=Manrope:wght@200..800&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Satisfy&display=swap');

body {
    font-family: var(--font-sans);
    background-color: var(--beige-natural);
    color: var(--green-forest);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', 'Dancing Script', 'Oswald', 'Satisfy', 'Montserrat';
    /*font-family: var(--font-serif);*/
    font-weight: bold;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Helper Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    background: var(--green-forest);
    color: var(--beige-natural);
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: var(--green-forest);
    border-color: var(--green-forest);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(77, 114, 97, 0.3);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    transition: 0.3s;
    background-color: var(--beige-natural);
}

header.scrolled {
    background: rgba(255, 249, 233, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--purple-deep);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--beige-natural);
    position: relative;
    overflow: hidden;
}

/* .hero::before removed for custom slider */

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideShow 18s infinite;
}

.slide-1 {
    background: linear-gradient(rgba(77, 114, 97, 0.3), rgba(138, 106, 158, 0.3)), url('assets/img/hero.png');
    animation-delay: 0s;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.slide-2 {
    background: linear-gradient(rgba(77, 114, 97, 0.3), rgba(138, 106, 158, 0.3)), url('assets/img/hero2.png');
    animation-delay: 6s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-3 {
    background: linear-gradient(rgba(77, 114, 97, 0.3), rgba(138, 106, 158, 0.3)), url('assets/img/hero3.png');
    animation-delay: 12s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    width: 150px;
    margin-bottom: 80px;
    margin-top: 100px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* About Section */
.about {
    background-color: var(--beige-natural);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--green-forest);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: #fff9e9;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(184, 163, 194, 0.3);
}

.product-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--green-sage);
}

.product-card h3 {
    color: var(--purple-deep);
    margin-bottom: 10px;
}

.product-card .price {
    color: var(--green-forest);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}

/* Services Section */
.services {
    background-color: var(--green-sage);
    color: var(--beige-natural);
}

.services h2 {
    color: var(--beige-natural);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* Values Section */
.values {
    background: linear-gradient(to right, var(--lilac-pale), var(--beige-natural));
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline-item {
    padding: 20px 0;
    border-left: 2px solid var(--purple-deep);
    padding-left: 30px;
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--purple-deep);
    border-radius: 50%;
    left: -8.5px;
    top: 25px;
}

/* Testimonials */
.testimonials {
    background-color: var(--lilac-pale);
    color: var(--green-forest);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item p {
    font-size: 1.5rem;
    font-style: italic;
    font-family: var(--font-serif);
    margin-bottom: 20px;
}

/* CTA Section */
.cta {
    /*background-image: url('assets/img/bg-lila.jpg');
    background-size: cover;*/
    background-color: var(--purple-deep);
    color: var(--beige-natural);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.cta .btn {
    background: var(--beige-natural);
    color: var(--purple-deep);
}

.cta .btn:hover {
    background: transparent;
    color: var(--beige-natural);
    border-color: var(--beige-natural);
}

/* Footer */
footer {
    background-color: var(--green-forest);
    color: var(--beige-natural);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 120px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--green-sage);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 10px;
    /*border-top: 1px solid rgba(255, 255, 255, 0.1);*/
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--beige-natural);
    margin: auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFadeIn 0.4s;
    display: flex;
    overflow: hidden;
}

.modal-body {
    display: flex;
    width: 100%;
}

.modal-body img {
    width: 50%;
    object-fit: cover;
    height: 400px;
}

.modal-info {
    padding: 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Close Button */
.close {
    color: var(--green-forest);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: var(--purple-deep);
    text-decoration: none;
    cursor: pointer;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        width: 95%;
    }

    .modal-body {
        flex-direction: column;
    }

    .modal-body img {
        width: 100%;
        height: 250px;
    }

    .modal-info {
        width: 100%;
        padding: 30px;
    }
}


/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(138, 106, 158, 0.2);
}

.blog-img-container {
    height: 200px;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    color: var(--green-forest);
    margin-bottom: 15px;
    font-size: 1.3rem;
    min-height: 50px;
}

.blog-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--purple-deep);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--green-forest);
    gap: 8px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 15px;
    }

    .blog-content h3 {
        font-size: 1.1rem;
    }

    .blog-content p {
        font-size: 0.9rem;
    }
}