/*
============================================================
                        CUSTOM STYLESHEET
============================================================
*/

/* ========== BASE & ALPINE UTILITIES ========== */
[x-cloak] {
    display: none !important;
}

.min-h-screen {
    min-height: 100vh;
}



/* ========== SLIDER COMPONENT ========== */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    color: white;
    text-align: center;
}

/* ========== CARD COMPONENT ========== */
.card_container {
    width: 90%;
    margin: auto;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ========== PRICING PLAN CONTAINERS ========== */
.webhosting_plans_container,
.cloud_servers_container {
    width: 95%;
    margin: 20px auto;
}

/* ========== FORM ELEMENTS ========== */
form input,
form select,
form textarea {
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ========== MODAL COMPONENT ========== */
.modal-overlay {
    z-index: 50;
}

.modal-content {
    max-height: 80vh;
    overflow-y: auto;
    width: 90%;
    max-width: 512px;
}

/* ========== FLOATING ACTION BUTTON (FAB) ========== */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 40;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.fab-menu {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.fab-menu a {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fab-menu a:hover {
    background-color: #2563eb;
    transform: scale(1.1);
}

.fab-button {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #16a34a;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab-button:hover {
    background-color: #15803d;
    transform: rotate(90deg);
}

.fab-button svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.fab-button.open svg {
    transform: rotate(-90deg);
}

/* ========== FOOTER ========== */
.footer-column {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .footer-column {
        margin-bottom: 0;
    }
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 640px) {
    .slider-container {
        height: 300px;
    }

    .slide-content {
        padding: 1rem;
    }

    .grid-cols-responsive {
        grid-template-columns: 1fr;
    }
    
    .fab-container {
        bottom: 1rem;
        right: 1rem;
    }
}