/* Custom styles that complement Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04";
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a5184b;
}

/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Magazine style asymmetric layout adjustments */
@media (min-width: 1024px) {
    .magazine-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #d84778 !important;
    box-shadow: 0 0 0 3px rgba(216, 71, 120, 0.1) !important;
}

/* Button hover animation */
button, a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button::after, a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: translateX(-101%);
    transition: transform 0.3s ease;
}

button:hover::after, a:hover::after {
    transform: translateX(0);
}
