/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    padding-top: 0; /* Removemos el padding superior */
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-content .btn-primary {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    padding: 15px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.2);
}

.hero-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.3);
}

/* Navbar Styles */
.navbar {
    background-color: rgba(33, 37, 41, 0.6) !important; /* Fondo semi-transparente */
    backdrop-filter: blur(5px); /* Efecto de desenfoque */
    position: fixed;
    width: 100%;
    z-index: 1030;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #e65c00, #f7b733);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    padding: 0.5rem 0;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar:hover {
    background-color: rgba(33, 37, 41, 0.8) !important;
}

.navbar .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: white !important;
    transition: all 0.3s ease !important;
    transform-origin: left;
}

.navbar .nav-link:hover {
    transform: scale(1.1);
    color: #e65c00 !important;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #e65c00;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Social Media Sidebar */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.social-sidebar a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-sidebar a:hover {
    width: 50px;
    transform: translateX(5px);
}

.social-sidebar a i {
    transition: transform 0.3s ease;
}

.social-sidebar a:hover i {
    transform: rotate(360deg);
}

.social-sidebar .facebook {
    background: #1877f2;
}

.social-sidebar .instagram {
    background: #E1306C;
}

.social-sidebar .twitter {
    background: #000000;
}

.social-sidebar .youtube {
    background: #FF0000;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #007bff;
    color: white;
    text-align: center;
    border-radius: 50%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Servicios Styles */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.service-card:hover {
    transform: translateY(-10px) rotateY(10deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #e65c00, #f7b733);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
    background: linear-gradient(45deg, #f7b733, #e65c00);
}

.service-card:hover .service-icon i {
    transform: scale(1.2);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.service-card p {
    color: #666;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #e65c00;
}

.service-card:hover p {
    color: #444;
}

/* About Section Styles */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
    padding: 20px;
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-experience {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(45deg, #e65c00, #f7b733);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.about-image:hover .about-experience {
    transform: translateY(0);
}

.about-experience .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    font-family: 'Orbitron', sans-serif;
}

.about-experience .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    text-align: justify;
    line-height: 1.8;
    color: #555;
}

.about-feature {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.about-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-feature:hover::before {
    left: 100%;
}

.about-feature i {
    font-size: 2rem;
    color: #e65c00;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.about-feature:hover i {
    transform: rotateY(360deg);
}

.about-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.about-feature p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Contact Form Styles */
.contact-section {
    background: linear-gradient(135deg, rgba(230, 92, 0, 0.05), rgba(247, 183, 51, 0.05));
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
}

.form-floating {
    position: relative;
}

.form-floating > .form-control {
    padding: 1rem 1rem 1rem 2.5rem;
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-floating > textarea.form-control {
    height: 150px;
    resize: none;
}

.form-floating > label {
    padding-left: 2.5rem;
    color: #666;
}

.form-floating > .form-control:focus {
    box-shadow: none;
    border-color: #e65c00;
}

.form-floating i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #e65c00;
    z-index: 2;
    transition: transform 0.3s ease;
}

.form-floating:hover i {
    transform: translateY(-50%) scale(1.1);
}

.contact-section .btn-primary {
    background: linear-gradient(45deg, #e65c00, #f7b733);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 92, 0, 0.3);
}

.contact-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.contact-section .btn-primary:hover::before {
    left: 100%;
}

/* Botones con efecto hover */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

/* Contact Info Styles */
.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: #333;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: linear-gradient(135deg, rgba(230, 92, 0, 0.05), rgba(247, 183, 51, 0.05));
    transform: translateX(5px);
}

.contact-info-item i {
    font-size: 1.5rem;
    color: #e65c00;
    transition: transform 0.3s ease;
}

.contact-info-item:hover i {
    transform: scale(1.1);
}

.contact-info-item h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    margin: 0;
    color: #666;
}

.contact-info-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #e65c00;
}

/* Footer Styles */
.footer {
    margin-top: 50px;
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

.footer::before {
    content: none;
}

.footer::after {
    content: none;
}

.footer * {
    background: transparent;
}

.footer h5 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    color: white;
}

.footer p {
    color: rgba(255,255,255,0.8);
}

.footer .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    background: none !important;
    position: relative;
    z-index: 2;
}

.footer .contact-info li span {
    color: rgba(255,255,255,0.8);
}

.footer .contact-info li i {
    color: rgba(255,255,255,0.8);
    width: 20px;
    text-align: center;
}

.footer .contact-info li:hover {
    color: #e65c00;
    transform: translateX(5px);
}

.footer .contact-info li:hover i,
.footer .contact-info li:hover span {
    color: #e65c00;
}

.footer .services-links {
    list-style: none;
    padding: 0;
}

.footer .services-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .services-links a:hover {
    color: #e65c00;
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.footer .social-links {
    margin-top: 1rem;
}

.footer .social-links a {
    color: rgba(255,255,255,0.8);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer .social-links a:hover {
    color: #e65c00;
    transform: rotate(360deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.2rem;
    }
    
    .social-sidebar {
        display: none;
    }
}
