/* Custom CSS for IOAC Door Solution - Teal Theme */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
    animation: slideUp 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Card Hover */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Service/Feature Icons */
.feature-icon {
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Section Dividers - TEAL COLOR */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #008080, #00BFFF);
    border-radius: 2px;
    margin: 1rem auto;
}

/* Slide Show */
.slide-container {
    position: relative;
    overflow: hidden;
}

.slide-content {
    transition: opacity 0.5s ease;
}

/* Video Grid */
.video-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Gallery */
.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-image img {
    transition: transform 0.5s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

/* Loading Spinner - TEAL */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #008080;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    color: white;
    z-index: 9999;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Panel Styles - TEAL THEME */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(to bottom, #0f766e, #134e4a);
}

.admin-sidebar a {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-sidebar a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #5eead4;
}

.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: #5eead4;
}

/* Custom Scrollbar - TEAL */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #008080;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Button Styles - TEAL */
.btn-teal {
    background-color: #008080;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-teal:hover {
    background-color: #0d9488;
}

.btn-teal-outline {
    background-color: transparent;
    color: #008080;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid #008080;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-teal-outline:hover {
    background-color: #008080;
    color: white;
}

/* Badge - TEAL */
.badge-teal {
    background-color: rgba(0, 128, 128, 0.1);
    color: #008080;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
}

/* Category Card */
.category-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: #008080;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 128, 128, 0.15);
}

/* Feature Box */
.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.05), rgba(0, 191, 255, 0.05));
    transform: scale(1.02);
}

/* Gradient Backgrounds */
.bg-teal-gradient {
    background: linear-gradient(135deg, #008080, #00BFFF);
}

.bg-teal-gradient-dark {
    background: linear-gradient(135deg, #0f766e, #134e4a);
}

/* Text Colors */
.text-teal {
    color: #008080;
}

.text-teal-light {
    color: #14b8a6;
}

/* Border Colors */
.border-teal {
    border-color: #008080;
}

/* Focus Ring */
.focus-ring-teal:focus {
    outline: none;
    ring: 2px solid #008080;
}