/* Variables */
:root {
    --black: #000000;
    --white: #ffffff;
    --tech-gray: #2c3e50;
    --light-gray: #f5f5f5;
    --orange: #ff6b00;
    --orange-light: #ff9a44;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--tech-gray);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--tech-gray);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--orange);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--tech-gray);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: black;
    background-image: url('../img/fondo_horizontal.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
}

@media screen and (min-width: 1920px) {
    .hero {
        background-size: contain;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.cta-button {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
    padding: 6rem 5% 3rem 5%;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.gallery h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--orange);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 1rem;
}

.filter-btn {
    background: var(--light-gray);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--orange);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
    opacity: 0;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-item-specs {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Personalized Section */
.personalized-section {
    padding: 6rem 5% 3rem 5%;
    background-color: var(--light-gray);
}

.personalized-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.personalized-section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--orange);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.personalized-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
}

.personalized-info {
    flex: 1;
}

.personalized-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--tech-gray);
}

.personalized-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.personalized-benefits {
    margin-bottom: 2rem;
}

.personalized-benefits li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.personalized-benefits i {
    color: var(--orange);
    margin-right: 10px;
}

.personalized-examples {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.example-item {
    text-align: center;
    transition: var(--transition);
}

.example-item:hover {
    transform: translateY(-10px);
}

.example-item img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.example-item p {
    font-weight: 600;
    color: var(--tech-gray);
}

.personalized-footer {
    margin-top: 1rem;
    font-style: italic;
}

/* Contact Bar */
.contact-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-gray);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-icon:hover {
    transform: translateY(-5px);
    color: var(--orange);
}

/* Footer */
footer {
    background-color: var(--tech-gray);
    color: var(--white);
    padding: 3rem 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--orange);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    max-height: 90vh;
    margin: 3% auto;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1200;
}

.close-modal:hover {
    color: var(--orange);
}

.modal-image-container {
    width: 100%;
    height: 70vh;
    position: relative;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Carousel buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 107, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1150;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background-color: var(--orange);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-info {
    padding: 25px;
}

.modal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--tech-gray);
}

.specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
}

.modal-description {
    line-height: 1.8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background-color: var(--white);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        transform: translateY(-200%);
        transition: var(--transition);
        opacity: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .burger {
        display: block;
    }

    .hero {
        background-image: url('../img/fondo_vertical.png');
        background-size: cover;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .gallery {
        padding: 5rem 5% 2rem 5%;
    }

    .modal-content {
        flex-direction: column;
        width: 95%;
        max-height: 95vh;
        margin: 2% auto;
    }
    
    .modal-image-container {
        height: 55vh;
    }

    .specs {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }

    .contact-bar {
        bottom: 20px;
        right: 20px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .personalized-content {
        flex-direction: column;
    }
    
    .personalized-examples {
        margin-top: 2rem;
    }
}

@media screen and (max-width: 500px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .personalized-examples {
        flex-direction: column;
    }
    
    .modal-image-container {
        height: 45vh;
    }
} 