/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* Font y body */
body {
    font-family: 'Montserrat', sans-serif;
    color: #273746;
    background-color: #D5DBDB;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: #273746;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    height: 50px;
}

.nav-toggle {
    display: none;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-right: 200px;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFD700;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 10px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: slideIn 2s ease-in-out;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    animation: slideIn 2s ease-in-out;
}

.btn {
    background-color: #FFD700;
    color: #273746;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #e6b800;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #FFD700;
    color: #273746;
   
}

.btn-secondary:hover {
    background-color: #e6b800;
    
}

.btn-download {
   
    align-items: center;
    justify-content: center;
}

.btn-download i {
    margin-right: 10px;
}

/* Content Sections */
section {
    padding: 70px 20px;
    text-align: center;
}

.about {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.about .content {
    flex: 1;
    animation: fadeInUp 2s ease-in-out;
  
}

.about .image {
    flex: 1;
    animation: fadeIn 2s ease-in-out;
}

.about .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about .content, .about .image {
    margin-bottom: 20px;
}

.projects {
    animation: fadeIn 2s ease-in-out;
}

.developments {
    animation: fadeIn 2s ease-in-out;
    background-color: #eaeaea;
}




.muv {
    animation: fadeIn 2s ease-in-out;
}

.contact {
    animation: fadeIn 2s ease-in-out;
}

/* Projects Gallery */
.gallery {
    position: relative;
    display: flex;
    overflow-x: hidden;
}


.carousel {
    display: flex;
    transition: transform 1s ease-in-out;
}

.carousel img {
    width: 100%;
    max-width: 400px;
    margin: 0 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.carousel img:hover {
    transform: scale(1.1);
}

.carousel-control {
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    padding: 10px;
    border-radius: 5px;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.btn-container {
    margin-top: 40px;
}

/* Developments Gallery */
.development-gallery {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.development-item {
    width: 400px;
    position: relative;
    text-align: center;
}

.developments h2 {
    border-bottom: 1px  solid #545454;
    padding-bottom: 25px;
    display: inline-block;
    width: 50%;
        
}


.development-item h3 {
    font-size: 24px;
    color: #D5DBDB;
    background-color: #273746;
    margin: 50px 0 10PX 0;
    padding: 20px;
    cursor: pointer;
    text-decoration:none;
    animation: pulse 2s infinite;
    border-radius: 6px;
    
}

.development-item img {
    width: 100%;
    height:400px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.development-item .btn {
    position: relative;
}

.development-contact {
    margin-top: 60px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.97); }
    50% { transform: scale(1.0); }
    100% { transform: scale(0.97); }
}

/* MUV Section */
.muv .project-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.muv .project-item {
    width: 300px;
}

.muv .project-item img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.muv .btn-download {
    margin-top: 20px;
    background-color: #FFD700;
    color: #273746;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.muv .btn-download:hover {
    background-color: #e6b800;
}

/* Contact Section */
.contact {
    background-color: #273746;
    color: #ffffff;
    padding: 50px 20px;
    text-align: left;
}

.contact .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact .contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact .contact-info a {
    color: #FFD700;
    text-decoration: none;
}

.contact .contact-info i {
    font-size: 20px;
}

/* Footer */
footer {
    background-color: #273746;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    color: #273746;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s;
}

.floating-contact a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-contact img {
    width: 20px;
    height: 20px;
}

.floating-contact:hover {
    background-color: #e6b800;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(50px); }
    to { transform: translateY(0); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
    }

    .sidebar {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #273746;
        z-index: 1000;
        padding-top: 60px;
        text-align: center;
    }

    .sidebar.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        margin: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

section {
    padding: 50px 20px;
    text-align: center;
}

.btn-download {
    display:flex;
    align-items: center;
    justify-content: center;
}

a.btn {
    margin: 30px;
}

.btn {
   
    font-size: 16px;
}
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 900;
    }

    .overlay.active {
        display: block;
    }

    .about {
        flex-direction: column;
        align-items: center;
    }


    .development-gallery {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .development-item {
        width: 80%;
        margin-bottom: 20px;
    }

    .muv .project-gallery {
        flex-direction: column;
        align-items: center;
    }

    .muv .project-item {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* Fullscreen Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content, .modal-caption {
    animation: zoom 0.6s;
}

@keyframes zoom {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-control {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000000;
    border: none;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    padding: 10px;
    border-radius: 5px;
}

.modal-control.prev {
    left: 10px;
}

.modal-control.next {
    right: 10px;
}
