:root {
    --discord-dark: #000000;
    --discord-green: #43b581;
    --discord-darker: #121212;
}

body {
    background-color: var(--discord-dark);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: var(--discord-darker);
    padding: 1rem 4rem;
    min-height: 100px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    padding: 0;
    margin-right: 4rem;
    display: flex;
    align-items: center;
}


.nav-link {
    font-size: 1.2rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

.navbar-toggler {
    padding: 0.5rem;
    font-size: 1.2rem;
}



  
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
        min-height: auto;
    }
    
    .navbar-brand img {
        height: 120px;
        margin-top: -20px;
        margin-bottom: -20px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem !important;
    }
}

.hero-section {
    padding: 200px 0 100px 0;
    background-color: var(--discord-darker);
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 160px 0 80px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }
}

.section-title {
    color: var(--discord-green);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--discord-green);
    border: none;
    padding: 10px 25px;
}

.btn-primary:hover {
    background-color: #3ca374;
}

.footer {
    background-color: var(--discord-darker);
    padding: 2rem 0;
    margin-top: 3rem;
}

.social-icons a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--discord-green);
}

.card {
    background-color: var(--discord-darker) !important;
    border: 1px solid #2a2a2a;
}

.form-control {
    background-color: var(--discord-darker) !important;
    border: 1px solid #2a2a2a;
}

.form-control:focus {
    background-color: var(--discord-darker) !important;
    border-color: var(--discord-green);
    box-shadow: 0 0 0 0.25rem rgba(67, 181, 129, 0.25);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.portfolio-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(67, 181, 129, 0.2);
}

.portfolio-card img {
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.portfolio-card:hover img {
    transform: scale(1.05);
    animation-play-state: paused;
}

.portfolio-card .card-body {
    transition: all 0.3s ease;
}

.portfolio-card:hover .card-body {
    background-color: rgba(67, 181, 129, 0.1);
}

/* Hero Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-section p {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Services Icons Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.service-icon {
    animation: pulse 3s infinite;
}

.service-icon:hover {
    animation: none;
    transform: scale(1.2);
    color: var(--discord-green) !important;
}

/* Navbar Animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--discord-green);
    transition: width 0.3s ease;
}

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

/* Form Animation */
.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    transform: translateY(-2px);
}

/* About Section Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-image-container {
    animation: slideIn 1s ease-out;
}

.about-content {
    animation: slideIn 1s ease-out 0.3s backwards;
}

/* Social Icons Animation */
.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(360deg);
}

/* Section Title Animation */
@keyframes titleUnderline {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--discord-green);
    animation: titleUnderline 1s ease-out forwards;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Card Hover Effects */
.portfolio-card {
    position: relative;
    z-index: 1;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--discord-green), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.portfolio-card:hover::before {
    opacity: 0.1;
}

/* Glowing Effect for Icons */
.service-icon {
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--discord-green);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.service-icon:hover::after {
    width: 60px;
    height: 60px;
    opacity: 0.2;
}

/* Enhanced Button Animation */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Text Gradient Animation */
.section-title {
    background: linear-gradient(45deg, var(--discord-green), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Enhanced Form Input Animation */
.form-control {
    position: relative;
    z-index: 1;
}

.form-control:focus {
    box-shadow: 0 0 20px rgba(67, 181, 129, 0.2);
}

.form-control::placeholder {
    transition: all 0.3s ease;
}

.form-control:focus::placeholder {
    transform: translateX(10px);
    opacity: 0.7;
}

/* Enhanced Section Title Animation */
.section-title {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--discord-green), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--discord-green), transparent);
    animation: titleUnderline 1s ease-out forwards;
}

@keyframes titleUnderline {
    from {
        width: 0;
    }
    to {
        width: 150px;
    }
}

/* Contact Section Specific Styles */
#contact .section-title {
    margin-bottom: 3rem;
}

#contact .section-title::after {
    height: 4px;
    background: linear-gradient(45deg, var(--discord-green), transparent);
    box-shadow: 0 0 10px var(--discord-green);
}

.bg-darker {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(67, 181, 129, 0.2);
}

.border-primary {
    border: 2px solid var(--discord-green) !important;
}

/* Maintenance Package Styles */
.card-title {
    color: #ffffff !important;
}

.text-primary {
    color: #ffffff !important;
}

.text-muted {
    color: #cccccc !important;
}

.list-unstyled li {
    color: #ffffff;
}

.form-check-label {
    color: #ffffff;
}

.form-label {
    color: #ffffff;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background-color: var(--discord-green);
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease-in-out;
}

.notification.show {
    transform: translateX(0);
}
/* Logo navbar — versión final */
.navbar-brand img {
    height: auto !important;
    width: auto !important;
    max-height: 50px !important;  /* tamaño controlado */
    margin: 0 !important;
    object-fit: contain;
  }
  @media (max-width: 768px) {
    .navbar-brand img {
      max-height: 40px !important; /* más chico en móvil */
    }
  }