/* Custom IDs for ALENET Website */

/* Section IDs */
#services {
    scroll-margin-top: 2rem;
}

#features {
    scroll-margin-top: 2rem;
}

#about {
    scroll-margin-top: 2rem;
}

#contact {
    scroll-margin-top: 2rem;
}

/* Hero Section ID */
#hero {
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 195, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: heroesPulse 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes heroesPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Navigation IDs */
#main-nav {
    position: relative;
    z-index: 100;
}

#mobile-menu {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu-button {
    transition: transform 0.2s ease;
}

#mobile-menu-button:hover {
    transform: scale(1.1);
}

/* Form IDs */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #00FFC3;
    box-shadow: 0 0 0 3px rgba(0, 255, 195, 0.1);
}

#contact-form button {
    background-color: #00FFC3;
    color: #000000;
    border: 1px solid rgba(0, 255, 195, 0.8);
}

#contact-form button:hover {
    background-color: #1E8A8B;
    border-color: #20AA8A;
}

/* Search IDs */
#search-area {
    position: relative;
}

#search-results {
    margin-top: 1rem;
}

/* Modal IDs */
#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#modal.active {
    display: flex;
}

#modal-content {
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

#modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

#modal-close:hover {
    color: #00FFC3;
}

/* Loading IDs */
#loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#loading.active {
    display: flex;
}

#loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00FFC3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Notification IDs */
#notification {
    display: none;
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: #0a0a0a;
    border: 1px solid rgba(0, 255, 195, 0.3);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 255, 195, 0.1);
    z-index: 1001;
    max-width: 400px;
}

#notification.active {
    display: block;
    animation: slideInRight 0.3s ease-out;
}

#notification.success {
    border-color: rgba(0, 255, 195, 0.5);
    background-color: rgba(0, 255, 195, 0.05);
}

#notification.error {
    border-color: rgba(255, 0, 0, 0.5);
    background-color: rgba(255, 0, 0, 0.05);
}

#notification.warning {
    border-color: rgba(255, 193, 7, 0.5);
    background-color: rgba(255, 193, 7, 0.05);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Back to Top ID */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: #00FFC3;
    color: #000000;
    border: 1px solid rgba(0, 255, 195, 0.8);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 255, 195, 0.2);
}

#back-to-top.active {
    display: flex;
}

#back-to-top:hover {
    background-color: #1E8A8B;
    border-color: #20AA8A;
    transform: translateY(-4px);
    box-shadow: 0 6px 12px -1px rgba(0, 255, 195, 0.3);
}

/* Statistics IDs */
#stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

#stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(10, 10, 10, 0.5);
    transition: all 0.3s ease;
}

#stat-item:hover {
    border-color: rgba(0, 255, 195, 0.5);
    transform: translateY(-4px);
}

#stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: #00FFC3;
    margin-bottom: 0.5rem;
}

#stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Package Selection IDs */
#package-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

#package-card {
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0a0a0a;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

#package-card:hover {
    border-color: rgba(0, 255, 195, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px -4px rgba(0, 255, 195, 0.2);
}

#package-card.selected {
    border-color: #00FFC3;
    background-color: rgba(0, 255, 195, 0.05);
}

#package-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

#package-price {
    font-size: 2rem;
    font-weight: 700;
    color: #00FFC3;
    margin-bottom: 1rem;
}

#package-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

#package-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#package-features li:last-child {
    border-bottom: none;
}

/* Responsive Design for IDs */
@media (max-width: 640px) {
    #notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    #back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    #modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    #stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #package-selection {
        grid-template-columns: 1fr;
    }
}

/* Animation for IDs */
#services,
#features,
#about,
#contact {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for IDs */
#contact-form input:focus,
#contact-form textarea:focus,
#search-area input:focus {
    outline: 2px solid #00FFC3;
    outline-offset: 2px;
}

/* Print Styles for IDs */
@media print {
    #main-nav,
    #back-to-top,
    #notification,
    #modal {
        display: none !important;
    }
}

