/* Kaurvest Elementor Widgets Styles */

/* Hero Widget Styles */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-btn {
    background: var(--brand-purple);
    color: var(--brand-yellow);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(85, 32, 93, 0.3);
    display: inline-block;
    text-decoration: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(85, 32, 93, 0.4);
    color: var(--brand-yellow);
    text-decoration: none;
}

.video-btn button {
    background: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
}

.video-btn .lucide {
    stroke: var(--brand-yellow);
    stroke-width: 2;
    fill: var(--brand-yellow);
}

/* Feature Widget Styles */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--brand-yellow);
    opacity: 0.95;
    transition: height 0.3s ease;
    z-index: 1;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(85, 32, 93, 0.15);
}

.feature-card > div {
    position: relative;
    z-index: 2;
}

.feature-icon {
    stroke: var(--brand-yellow);
    stroke-width: 2;
    fill: var(--brand-yellow);
}

/* Icon container styling */
.feature-card > div > div > div {
    background: var(--brand-purple);
    transition: all 0.3s ease;
}

.feature-card:hover > div > div > div {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(85, 32, 93, 0.3);
}

/* Featured Image Widget Styles */
.featured-image-section {
    position: relative;
    background: linear-gradient(135deg, var(--brand-purple), #3a1a42);
    overflow: hidden;
}

.featured-image-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 20%,
        rgba(255, 213, 36, 0.1) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 80%,
        rgba(255, 213, 36, 0.1) 0%,
        transparent 50%
      );
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.featured-image img {
    transition: transform 0.5s ease;
}

.featured-image img:hover {
    transform: scale(1.05);
}

.featured-btn {
    background: linear-gradient(135deg, white, #f8f9fa);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    color: var(--brand-purple);
    text-decoration: none;
    display: inline-block;
}

.featured-btn:hover {
    background: linear-gradient(135deg, var(--brand-yellow), #ffed4a);
    box-shadow: 0 8px 30px rgba(255, 213, 36, 0.4);
    transform: translateY(-2px);
    color: var(--brand-purple);
    text-decoration: none;
}

/* Step Widget Styles */
.step-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.roadmap-step {
    position: relative;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.roadmap-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--brand-yellow);
    opacity: 0.95;
    transition: width 0.3s ease;
    z-index: 1;
}

.roadmap-step:hover::before {
    width: 100%;
}

.roadmap-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(85, 32, 93, 0.15);
}

.roadmap-step > div {
    position: relative;
    z-index: 2;
}

.step-number {
    background: var(--brand-purple);
    transition: all 0.3s ease;
}

.roadmap-step:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(85, 32, 93, 0.3);
}

.step-icon {
    stroke: var(--brand-purple);
    stroke-width: 2;
}

.step-footer-btn {
    background: var(--brand-purple);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.step-footer-btn:hover {
    background: var(--brand-yellow);
    color: var(--brand-purple);
    text-decoration: none;
}

/* Progress line between steps */
.roadmap-step:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 2rem;
    width: 2px;
    height: 1.5rem;
    background: linear-gradient(
      to bottom,
      var(--brand-purple),
      var(--brand-yellow)
    );
    opacity: 0.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card > div {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-card > div > div > div {
        margin-bottom: 1rem;
    }

    .roadmap-step {
        padding: 1rem;
    }

    .roadmap-step > div {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .roadmap-step > div > div:first-child {
        margin-bottom: 1rem;
    }

    .roadmap-step:not(:last-child)::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .roadmap-step .step-icon {
        margin: 0 auto;
    }
}

/* Video Overlay Styles */
#kaurvest-video-overlay {
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

#kaurvest-video-overlay.hidden {
    display: none;
}

#kaurvest-video-overlay.flex {
    display: flex;
}

#kaurvest-video-container iframe,
#kaurvest-video-container video {
    max-height: 80vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Close button styling */
#kaurvest-video-overlay button {
    z-index: 10;
}

#kaurvest-video-overlay button .lucide {
    stroke: white;
    stroke-width: 2;
}

#kaurvest-video-overlay button:hover .lucide {
    stroke: var(--brand-yellow);
}

/* Video overlay animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#kaurvest-video-overlay > div {
    animation: slideIn 0.3s ease-out;
}

/* Responsive video overlay */
@media (max-width: 768px) {
    #kaurvest-video-container iframe,
    #kaurvest-video-container video {
        max-height: 50vh;
    }

    #kaurvest-video-overlay button {
        top: -50px;
    }
}

/* Ninja Form Styling for Kaurvest Theme - Updated to match original design */
.ninja-form-wrapper {
    width: 100%;
}

/* Container styling to match original contact form */
.nf-form-cont {
    background: transparent !important;
}

/* Field wrapper spacing - matches original form spacing */
.nf-field-container {
    margin-bottom: 1.5rem;
}

/* Single name field styling - full width */
.nf-field-container.name-container,
.nf-field-container.fullname-container,
.nf-field-container.your-name-container,
.nf-field-container {
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Label styling - matches original form labels */
.nf-field-label label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.ninja-forms-req-symbol {
    color: #dc2626;
}

/* Input field styling - matches original contact form exactly */
.nf-field-element input[type="text"],
.nf-field-element input[type="email"],
.nf-field-element input[type="tel"],
.nf-field-element textarea,
.nf-field-element select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #374151;
}

/* Focus state - matches original purple focus */
.nf-field-element input[type="text"]:focus,
.nf-field-element input[type="email"]:focus,
.nf-field-element input[type="tel"]:focus,
.nf-field-element textarea:focus,
.nf-field-element select:focus {
    outline: none;
    border-color: #55205d;
    box-shadow: 0 0 0 2px rgba(85, 32, 93, 0.2);
}

/* Textarea specific styling */
.nf-field-element textarea {
    min-height: 120px;
    resize: vertical;
}

/* Select dropdown styling */
.nf-field-element select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Submit button styling - matches original submit button */
.nf-field-element input[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #55205d;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.nf-field-element input[type="submit"]:hover {
    background-color: #ffd524;
    color: #55205d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(85, 32, 93, 0.3);
}

.nf-field-element input[type="submit"]:active {
    transform: translateY(0);
}

/* Error message styling */
.nf-error-msg {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.nf-field-container.nf-field-error .ninja-forms-field {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

/* Success/Error response messages */
.nf-response-msg {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.nf-response-msg:empty {
    display: none;
}

.nf-response-msg.nf-pass {
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.nf-response-msg.nf-fail {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* Hide honeypot field */
.nf-form-hp {
    display: none;
}

/* Form errors styling */
.nf-form-errors {
    margin-bottom: 1rem;
}

.nf-error-field-errors {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Additional styling for form sections and wrappers */
.nf-before-form,
.nf-after-form {
    display: none;
}

.nf-form-layout {
    margin: 0;
}

/* Style the form title if it exists */
.nf-form-title h3 {
    font-family: 'Albert Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #55205d;
    margin-bottom: 1.5rem;
}

/* Responsive Ninja Form styling */
@media (max-width: 768px) {
    .nf-field-container {
        margin-bottom: 1rem;
    }
    
    .nf-field-element input[type="text"],
    .nf-field-element input[type="email"],
    .nf-field-element input[type="tel"],
    .nf-field-element textarea,
    .nf-field-element select {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .nf-field-element input[type="submit"] {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
}