* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



:root {

    --primary: #1af3a4;

    --secondary: #16dd94;

    --dark: #2e3035;

    --darker: #1a1d21;

    --light: #fff;

    --accent: #333;

}





a:hover,

a:visited,

a:link,

a:active {

    text-decoration: none;

}





body {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);

    color: #fff;

    line-height: 1.6;

}



/* Header Moderno */

header {

    background: rgba(42, 49, 56, 0.95);

    backdrop-filter: blur(10px);

    position: sticky;

    top: 0;

    z-index: 1000;

    border-bottom: 2px solid var(--primary);

}



.header-content {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1rem 2rem;

}



.logo {

    font-size: 1.8rem;

    font-weight: bold;

    background: linear-gradient(135deg, var(--primary), var(--secondary));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    text-decoration: none;

}



nav ul {

    display: flex;

    list-style: none;

    gap: 2rem;

}



nav a {

    color: #fff;

    text-decoration: none;

    position: relative;

    transition: color 0.3s;

    font-weight: 500;

}



nav a::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--primary);

    transition: width 0.3s;

}



nav a:hover::after {

    width: 100%;

}



.mobile-menu {

    display: none;

    flex-direction: column;

    cursor: pointer;

}



.mobile-menu span {

    width: 25px;

    height: 3px;

    background: var(--primary);

    margin: 5px 0;

    transition: 0.3s;

}



/* Hero Section */

.hero {

    height: 100vh;

    background: linear-gradient(135deg, rgba(26, 29, 33, 0.8), rgba(46, 48, 53, 0.8)),

        url('https://gallery2031.it/public/img/bg.png') center/cover;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 2rem;

}



.hero-content h1 {

    font-size: 4rem;

    margin-bottom: 1rem;

    animation: slideUp 0.8s ease;

}



.hero-content p {

    font-size: 1.5rem;

    margin-bottom: 2rem;

    color: var(--primary);

    animation: slideUp 0.8s ease 0.2s backwards;

}



.cta-button {

    display: inline-block;

    padding: 1rem 2.5rem;

    background: linear-gradient(135deg, var(--primary), var(--secondary));

    color: var(--dark);

    text-decoration: none;

    border-radius: 50px;

    font-weight: bold;

    transition: transform 0.3s, box-shadow 0.3s;

    animation: slideUp 0.8s ease 0.4s backwards;

    box-shadow: 0 10px 30px rgba(26, 243, 164, 0.3);

}



.cta-button:hover {

    transform: translateY(-3px);

    box-shadow: 0 15px 40px rgba(26, 243, 164, 0.5);

}



@keyframes slideUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* Gallery Section */

.gallery {

    max-width: 1200px;

    margin: 4rem auto;

    padding: 0 2rem;

}



.section-title {

    font-size: 2.5rem;

    text-align: center;

    margin-bottom: 3rem;

    background: linear-gradient(135deg, var(--primary), var(--secondary));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

    margin-bottom: 4rem;

}



.gallery-card {

    background: rgba(255, 255, 255, 0.05);

    border-radius: 15px;

    overflow: hidden;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(26, 243, 164, 0.2);

    transition: all 0.3s;

}



.gallery-card:hover {

    transform: translateY(-10px);

    border-color: var(--primary);

    box-shadow: 0 20px 40px rgba(26, 243, 164, 0.2);

}



.gallery-card img {

    width: 100%;

    height: 300px;

    object-fit: cover;

    display: block;

}



.gallery-card-content {

    padding: 1.5rem;

}



.gallery-card-title {

    font-size: 1.2rem;

    margin-bottom: 0.5rem;

    color: var(--primary);

}



.gallery-card-type {

    font-size: 0.9rem;

    color: #aaa;

    margin-bottom: 1rem;

}



.download-btn {

    display: inline-block;

    padding: 0.5rem 1rem;

    background: rgba(26, 243, 164, 0.1);

    color: var(--primary);

    text-decoration: none;

    border-radius: 5px;

    transition: all 0.3s;

    border: 1px solid var(--primary);

}



.download-btn:hover {

    background: var(--primary);

    color: var(--dark);

}



/* Portfolio Section */

.portfolio {

    background: rgba(0, 0, 0, 0.3);

    padding: 4rem 2rem;

    margin: 4rem 0;

}



.portfolio-content {

    max-width: 1200px;

    margin: 0 auto;

}



.portfolio-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 2rem;

    margin-top: 2rem;

}



.portfolio-item {

    text-align: center;

    padding: 2rem;

    background: rgba(255, 255, 255, 0.05);

    border-radius: 15px;

    border: 1px solid rgba(26, 243, 164, 0.1);

    transition: all 0.3s;

}



.portfolio-item:hover {

    border-color: var(--primary);

    transform: scale(1.05);

}



.portfolio-icon {

    font-size: 3rem;

    color: var(--primary);

    margin-bottom: 1rem;

}



.portfolio-item h3 {

    margin-bottom: 1rem;

    font-size: 1.3rem;

}



/* About Section */

.about {

    max-width: 1200px;

    margin: 4rem auto;

    padding: 0 2rem;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.about-text h2 {

    font-size: 2rem;

    margin-bottom: 1rem;

    color: var(--primary);

}



.about-text p {

    margin-bottom: 1rem;

    line-height: 1.8;

}



.about-image {

    border-radius: 15px;

    overflow: hidden;

    border: 3px solid var(--primary);

}



.about-image img {

    width: 100%;

    height: auto;

    display: block;

}



/* Footer */

footer {

    background: var(--accent);

    color: #fff;

    text-align: center;

    padding: 2rem;

    margin-top: 4rem;

    border-top: 2px solid var(--primary);

}



.social-links {

    margin-bottom: 1rem;



}



.social-links a {

    display: inline-block;

    width: 60px;

    height: 60px;

    background: rgba(26, 243, 164, 0.2);

    color: var(--primary);

    border-radius: 50%;

    line-height: 40px;

    margin: 0 0.5rem;

    text-decoration: none;

    transition: all 0.3s;

    font-size: 30px;

    align-content: center;

}



.social-links a:hover {

    background: var(--primary);

    color: var(--dark);

    transform: translateY(-5px);

}



/* Tab Navigation */

.tabs {

    display: flex;

    gap: 1rem;

    justify-content: center;

    margin-bottom: 3rem;

    flex-wrap: wrap;

}



.tab-btn {

    padding: 0.7rem 1.5rem;

    background: rgba(26, 243, 164, 0.1);

    color: var(--primary);

    border: 2px solid rgba(26, 243, 164, 0.3);

    border-radius: 25px;

    cursor: pointer;

    transition: all 0.3s;

    font-weight: 600;

}



.tab-btn.active {

    background: var(--primary);

    color: var(--dark);

    border-color: var(--primary);

}



.tab-btn:hover {

    border-color: var(--primary);

}



/* Responsive */

@media (max-width: 768px) {



    /*

    header {

        border-bottom: none;

    }

    */

    nav ul {

        display: flex;

        flex-direction: column;

        position: absolute;

        top: 60px;

        right: 0;

        left: 0;

        background: rgba(42, 49, 56, 0.95);

        width: 100%;

        max-height: 0;

        overflow: hidden;

        transition: max-height 0.5s ease;

    }



    nav ul.show {

        max-height: 310px;

    }



    nav ul li {

        width: 100%;

        text-align: center;

    }



    nav ul li a {

        display: block;

        padding: 15px 20px;

    }



    .mobile-menu {

        display: flex;

    }



    .hero-content h1 {

        font-size: 2.5rem;

    }



    .hero-content p {

        font-size: 1.2rem;

    }



    .about {

        grid-template-columns: 1fr;

        gap: 2rem;

    }



    .gallery-grid {

        grid-template-columns: 1fr;

    }



    .section-title {

        font-size: 2rem;

    }

}