/* Custom styles for Digital Nova */

/* Logo Slider */
.logo-slider {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Button Styles */
.btn-primary {
    background-color: #e7c468;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #FFC300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 196, 104, 0.4);
}

/* Video Modal */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* Organic Shapes */
.organic-shape-1 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.organic-shape-2 {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e7c468;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFC300;
}

/* Rich Text Editor Styles */
.prose {
    max-width: none;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #1f2937;
    font-weight: 700;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.prose ul, .prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose blockquote {
    border-left: 4px solid #e7c468;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e7c468;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-item {
        padding: 0 1rem;
    }
    
    .logo-track {
        animation-duration: 20s;
    }
}

/* Form Styles */
.form-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #e7c468;
    box-shadow: 0 0 0 3px rgba(231, 196, 104, 0.1);
}

/* Card Hover Effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Success/Error Messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d1fae5;
    border: 1px solid #34d399;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
}
