:root {
    --primary-color: #00f2a5;
    --dark-color: #2a2a2a;
    --light-color: #f4f4f4;
    --white-color: #fff;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding-top: 80px;
    background-color: var(--light-color);
    color: #333;
}

header {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 30px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: padding 0.3s ease-in-out;
}

.logo img {
    height: 104px;
    width: auto;
    vertical-align: middle;
    transition: height 0.3s ease-in-out;
}

header.scrolled {
    padding: 10px 5%;
}

header.scrolled .logo img {
    height: 72px; 
}

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

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

nav li a {
    color: var(--white-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    transition: color 0.3s;
    position: relative;
}

nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

nav li a:hover {
    color: var(--primary-color);
}

nav li a:hover::after {
    width: 100%;
}

.whatsapp-link {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-link:hover {
    transform: scale(1.1);
}

.whatsapp-link img {
    height: 40px;
    width: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-section {
    background-color: var(--white-color);
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    scroll-margin-top: 120px;
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-section.is-visible {
    opacity: 1;
    animation: fadeInUp 0.6s ease-out forwards;
}


.page-section h2 {
    font-size: 2.2em;
    color: var(--dark-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

#intro {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--white-color) 0%, #f9f9f9 100%);
    text-align: center;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.intro-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--dark-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-title span {
    color: var(--primary-color);
    font-weight: 800;
}

.intro-subtitle {
    font-size: 1.2em;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.intro-text {
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-section img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-grid .img-container {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.image-grid .img-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

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

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    border: none;
    background-color: var(--primary-color);
    color: #000;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    width: 50px;
    height: 50px;
    line-height: 10px;
}

#scrollTopBtn:hover {
    background-color: #00c88a;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

.lightbox.visible {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
}

.lightbox .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    line-height: 1;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox .prev, .lightbox .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
}

.lightbox .prev {
    left: -60px;
    border-radius: 3px;
}

.lightbox .next {
    right: -60px;
    border-radius: 3px;
}

.lightbox .prev:hover, .lightbox .next:hover {
    background-color: rgba(0,0,0,0.6);
}

footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--dark-color);
    color: var(--white-color);
}

footer .footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
}

footer .social-links {
    margin-top: 15px;
}

footer .social-links a {
    margin: 0 10px;
    display: inline-block;
}

footer .social-links img {
    height: 65px;
    width: 65px;
}


/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    header {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }
    .logo a {
        font-size: 1.5em;
    }
    nav {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 10px;
    }
    nav ul {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }
    nav li a {
        padding: 10px 5px;
        font-size: 0.9em;
    }
    .whatsapp-link {
        position: absolute;
        top: 15px;
        right: 15px;
        margin-left: 0;
    }
    .about-section {
        flex-direction: column;
        text-align: center;
    }
    .page-section {
        padding: 25px;
        scroll-margin-top: 70px;
    }
    .image-grid {
        grid-template-columns: 1fr;
    }
    .lightbox .prev, .lightbox .next {
        left: 10px;
        right: auto;
        background-color: rgba(0,0,0,0.5);
    }
    .lightbox .next {
        left: auto;
        right: 10px;
    }
}

.arrow-icon {
    display: inline-block;
    transform: scale(2, 1.3);
}
