/* Custom styles for enhanced visual effects */

body.admin-bar header {
    top: 32px;
}

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

/* Custom focus styles */
.focus\:ring-primary:focus {
    --tw-ring-color: #F05A28;
}

.focus\:border-primary:focus {
    --tw-border-opacity: 1;
    border-color: #F05A28;
}

/* Custom hover effects for buttons */
.hover\:bg-red-600:hover {
    background-color: #dc2626;
}

/* Enhanced shadow effects */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom gradient backgrounds */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-l {
    background-image: linear-gradient(to left, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

/* Backdrop blur effects */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Transform effects */
.transform {
    transform: var(--tw-transform);
}

.skew-x-12 {
    --tw-skew-x: 12deg;
    transform: skewX(12deg);
}

.rotate-45 {
    --tw-rotate: 45deg;
    transform: rotate(45deg);
}

.rotate-12 {
    --tw-rotate: 12deg;
    transform: rotate(12deg);
}

/* Transition effects */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Scale effects */
.group:hover .group-hover\:scale-105 {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
    transform: scale(1.05);
}

.group:hover .group-hover\:scale-110 {
    --tw-scale-x: 1.1;
    --tw-scale-y: 1.1;
    transform: scale(1.1);
}

/* Color utilities */
.text-primary {
    color: #F05A28;
}

.text-secondary {
    color: #2B2B2B;
}

.text-accent {
    color: #FFC107;
}

.bg-primary {
    background-color: #F05A28;
}

.bg-secondary {
    background-color: #2B2B2B;
}

.bg-accent {
    background-color: #FFC107;
}

.border-primary {
    border-color: #F05A28;
}

.border-accent {
    border-color: #FFC107;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .text-6xl {
        font-size: 3rem;
        line-height: 1.1;
    }

    
    body.admin-bar header {
        top: 46px;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #F05A28;
    border-radius: 4px;
}

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

/* Form enhancements */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.1);
}

/* Button enhancements */
button {
    cursor: pointer;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading state */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Back to Top Button Styles */
#back-to-top {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#back-to-top:hover {
    background-color: #0056b3; /* Darker shade for hover */
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

/* Flavoured List Styles */
ul, ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

ul li, ol li {
    position: relative;
    padding-left: 1.25em;
    margin-bottom: 0.5em;
    transition: background 0.2s, color 0.2s;
    border-radius: 6px;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 0.5em;
    height: 0.5em;
    background: linear-gradient(135deg, #F05A28 60%, #FFC107 100%);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(240,90,40,0.15);
}

ol li::before {
    content: counter(item) '.';
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #F05A28;
    font-weight: bold;
}

ol {
    counter-reset: item;
}

ul li:hover, ol li:hover {
    background: rgba(240,90,40,0.07);
    color: #F05A28;
}

/* Contact Form Styles for WP forms Lite*/
/* Target semua input, email, dan textarea di WPForms */
.wpforms-render-modern .wpforms-submit {
  background-color: #f05523 !important;
  color: #fff !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  height: auto !important; /* Override height from var */
  width: -webkit-fill-available !important;
}


.wpforms-render-modern .wpforms-field input[type="text"],
.wpforms-render-modern .wpforms-field input[type="email"],
.wpforms-render-modern .wpforms-field textarea {
  width: 100% !important;
  padding: 12px !important;
  border-radius: 8px !important;
  border: 1px solid #ccc !important;
  font-size: 16px !important;
  margin-bottom: 15px !important;
  box-sizing: border-box !important;
  background-color: #fff !important;
  max-width: 100%;
}

.wpforms-render-modern .wpforms-field label[aria-hidden="true"] {
  display: none !important;
}