/* 
   FILEPATH: /var/www/sites/elliseandlucian.com/app/core/static/css/custom.css
   Custom CSS for Lucian & Ellise Wedding Website 
*/

/* Custom CSS for Lucian & Ellise Wedding Website */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #5d7a5c;
    box-shadow: 0 0 0 3px rgba(93, 122, 92, 0.1);
}

/* Dropdown menu animation */
.group:hover > div {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

/* Custom button hover effects */
button,
.btn {
    transition: all 0.3s ease;
}

button:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:active,
.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Image loading states */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none !important;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(93, 122, 92, 0.1);
    border-top: 3px solid #5d7a5c;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive font scaling */
@media (max-width: 640px) {
    .font-script {
        font-size: 0.9em;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f6f8f6;
}

::-webkit-scrollbar-thumb {
    background: #a3b5a3;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7a9479;
}
