/* Custom Styles for IZEL Campaign */

:root {
    --izel-dark: #241f1c;
    --izel-beige: #e8dfd5;
    --izel-ivory: #f5f1ed;
    --izel-gold: #c1a173;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Progress (Optional) */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--izel-ivory);
}
::-webkit-scrollbar-thumb {
    background: var(--izel-beige);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--izel-gold);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0, 0, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    border-color: var(--izel-gold);
}

/* Custom Select Dropdown Reset */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c1a173'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

/* Sticky CTA Hide/Show on Scroll Up/Down */
#sticky-cta.hidden-cta {
    transform: translateY(100%);
}

/* Form Animations */
input:focus, select:focus {
    box-shadow: 0 0 0 2px rgba(193, 161, 115, 0.1);
}

/* Glass Effect */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 223, 213, 0.5);
}

/* Pulse for markers */
@keyframes marker-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.marker-animate {
    animation: marker-pulse 2s infinite;
}

/* Glow Effect for CTA */
.cta-click-hero::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--izel-gold), var(--izel-ivory), var(--izel-gold));
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-click-hero:hover::before {
    opacity: 0.5;
}

/* Custom animations for the WOW effect */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-delayed {
    0% { transform: translateY(0px); }
    50% { transform: translateY(15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.1); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .reveal {
        transform: translateY(20px);
        transition-duration: 0.8s;
    }
}
