* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color:white;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow added */
}



.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: black;
    width: 0;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-item:hover .underline {
    width: 100%;
}

.nav-item:hover .nav-link {
    color: peru;
}

.nav-item:hover ~ .underline {
    width: 0;
    left: 0;
}


/*  */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    margin-top: 4%;
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.story-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 50px 20px;
    min-height: 100vh;
    background: #f4f4f4;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.story-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-content {
    max-width: 600px;
    margin-right: 20px;
   
}



.story-content p {
   
    font-size: 1em;
    line-height: 1.6;
}

.story-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
   
}

@media (max-width: 768px) {
    .story-section {
        flex-direction: column;
        text-align: center;
    }

    .story-content {
        margin: 0 0 20px 0;
    }
}



/*  */


.content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.content h1 {
    margin-top: 4%;
    font-size: 2em;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content p {
    font-size: 1em;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.photo-gallery img {
    max-width: 100%;
    margin: 10px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-heading.visible, .animated-paragraph.visible {
    opacity: 1;
    transform: translateY(0);
}

.animated-photo.visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .photo-gallery img {
        max-width: 45%;
    }
}

@media (max-width: 480px) {
    .photo-gallery img {
        max-width: 100%;
    }
}


/* lavie today */



.container {
    text-align: center;
}

.animated-heading {
    margin-top: 3%;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
    animation: fadeInDown 2s ease-in-out;
}

.animated-image {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: zoomIn 5s ease-in-out 1s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .animated-heading {
        font-size: 2em;
    }

    .animated-image {
        max-width: 100%;
    }
}


/* footer */


.footer {
    margin-top: 5%;
    background-color: #282828;
    color: #ddd;
    padding: 40px 0;
    font-size: 14px;
    transition: background-color 0.5s ease;
}

.footer:hover {
    background-color: #333;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 20%; /* Responsive Flexbox */
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-heading::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.footer-heading:hover::after {
    width: 100%;
}

.footer-section address {
    font-style: normal;
    line-height: 1.8;
    color: #ccc;
}
.footer-section address a {
   text-decoration: none;
   color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #ddd;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 10px;
}

.social-media {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-media a {
    width: 24px;
    height: 24px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.2);
}

.social-media img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-section {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 20px;
    }

    .footer-heading {
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }
}
