body {
    font-family: "Lato", sans-serif;
    font-weight: 375;
    font-style: normal;
    background-color: #1E1E1E;
    color: #ffffff;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    padding-top: 2%;
    padding-bottom: 2%;
    letter-spacing: 2px;
}

button {
    cursor: pointer;
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border-radius: 30px;
}

button:hover {
    background-color: #ffffff;
    color: #2A2A2A; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 10px rgba(255, 255, 255, 0.2); 
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; 
    margin-bottom: 40px;
}

h4 {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 30px;
    color: #dddddd;
}

a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #aaaaaa;
}

section {
    display: none; 
}

section.active-section {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
    margin-bottom: 50px; 
    max-width: 1200px; 
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.5s ease-out;
}

.texts {
    border: 0.5px solid #ffffff;
    border-radius: 30px;
    padding: 30px;
    flex: 1 1 300px; 
    box-sizing: border-box;
    background-color: #2A2A2A; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.texts:hover {
    transform: translateY(-5px);
}

.texts h4 {
    margin-top: 0; 
    color: #ffffff; 
    border-bottom: 1px solid #555; 
    padding-bottom: 10px;
}

.text a {
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.header {
    width: 100%;
    border: 0.5px solid #ffffff;
    border-radius: 30px;
    padding: 15px 30px;
    background-color: #2A2A2A; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 20px;
}

.header:hover {
    transform: translateY(-5px);    
}

.texts a.btn {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 15px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.texts a.btn:hover {
    color: #aaaaaa;
    border-bottom: 2px solid #aaaaaa;
}

.texts p {
    margin: 0;
    line-height: 1.5;
    color: #dddddd;
}


.photo-stack {
    position: relative;
    width: 280px; 
    height: 250px; 
    margin: 15px auto; 
    cursor: pointer;
}

.stacked-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 8px;
    border: none; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease-in-out; 
}

.stacked-photo:nth-child(1) {
    transform: rotate(0deg) scale(1.05);
    z-index: 3;
}

.stacked-photo:nth-child(2) {
    transform: rotate(8deg) translate(15px, 10px);
    z-index: 2;
}

.stacked-photo:nth-child(3) {
    transform: rotate(-6deg) translate(-15px, 5px);
    z-index: 1;
}

.photo-stack:hover .stacked-photo:nth-child(1) {
    transform: rotate(0deg) scale(1.1) translateY(-5px);
}
.photo-stack:hover .stacked-photo:nth-child(2) {
    transform: rotate(12deg) translate(25px, 15px);
}
.photo-stack:hover .stacked-photo:nth-child(3) {
    transform: rotate(-10deg) translate(-25px, 10px);
}