@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&family=Poppins:wght@600;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #1a1a2e;
    color: #e4e4f0;
}

.header-sigma, header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #6a5acd, #9370db);
    color: #fff;
    text-align: center;
    border-radius: 50px;
    width: 800px;
    height: 100px;
    margin: 30px auto;
    padding: 12px;
    font-size: 1.5em;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.5s ease, background 0.5s ease;
}

header {
    background-color: #353545;
}

header:hover, .header-sigma:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, #9370db, #6a5acd);
}

.home, .about {
    margin: 20px auto; 
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 18px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.logo:hover {
    transform: rotate(360deg);
    filter: brightness(1.3) saturate(1.2);
}

.home-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease, letter-spacing 0.3s ease, transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.home-link:hover {
    color: #b19cd9;
    letter-spacing: 2px;
    transform: scale(1.1);
}

section {
    padding: 90px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #252850, #2e2e70);
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, background-color 0.3s ease, box-shadow 0.4s ease;
    color: #e4e4f0;
    font-family: 'Roboto', sans-serif;
}

section:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: linear-gradient(135deg, #2e2e70, #353580);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

.sigma-link, .gallery-link {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #9370db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
}

.sigma-link:hover, .gallery-link:hover {
    background-color: #b19cd9;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.photos {
    display: flex;
    flex-wrap: wrap; 
    gap: 15px; 
    justify-content: center;
    transition: transform 0.4s ease;
}

.photo-container {
    position: relative;
    width: 200px; 
    max-width: 100%;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}

.photos img {
    width: 100%; 
    height: 700px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    opacity: 0; 
    transform: scale(1); 
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.5s ease;
}


.photos img:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    opacity: 1;
}

.photos img.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.read-more {
    color: #9370db;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.4s ease, transform 0.4s ease;
    font-family: 'Poppins', sans-serif;
}

.read-more:hover {
    color: #b19cd9;
    transform: scale(1.1);
}

h1, h2, h3 {
    position: relative;
    display: inline-block;
    font-weight: bold;
    color: #fff;
    font-size: 2em;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

h1:hover, h2:hover, h3:hover {
    color: #9370db;
    text-shadow: 0 4px 15px rgba(147, 112, 219, 0.7), 0 6px 25px rgba(147, 112, 219, 0.4);
    transform: translateY(-2px);
}

.fade-in {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    body {
        font-size: 0.9em;
    }

    .logo {
        width: 25px;
        height: 25px;
    }

    header, .header-sigma {
        width: 100%;
        font-size: 1em;
        padding: 5px 10px;
        border-radius: 0;
        box-shadow: none;
    }

    section {
        padding: 20px 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    h1, h2, h3 {
        font-size: 1.2em;
    }

    .home-link, .gallery-link {
        font-size: 1em;
        margin: 10px auto;
        width: fit-content;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .photos img {
        width: 80px;
        height: 80px;
    }

    .gallery-link {
        padding: 5px 10px;
    }
}
