/* Hero size variants */
.hero-fullscreen {
    min-height: 100vh;
}

.hero-medium {
    min-height: 600px;
}

.hero-small {
    min-height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Settings group */
.settings-group {
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

/* Hero preview container */
#heroPreviewContainer textarea {
    border: none;
    background-color: transparent !important;
    box-shadow: none;
    margin-bottom: 0.5rem;
}

    #heroPreviewContainer textarea:focus {
        border: 1px solid #f58025 !important;
    }

/* Hero input fields */
.hero-heading-input {
    font-size: 42px !important;
    font-weight: 300 !important;
    border: none;
    background-color: transparent !important;
    box-shadow: none;
    max-width: 1200px;
    margin-bottom: 0.5rem;
    padding: 0 !important;
    min-height: 0 !important;
}

.hero-subheading-input {
    font-size: 1.8rem;
    font-weight: 500;
    border: none;
    background-color: transparent !important;
    box-shadow: none;
    padding: 0 !important;
    min-height: 0 !important;
}

/* Theme styles */
.theme-light {
    color: #212529;
}

.theme-dark {
    color: #ffffff;
}

    .theme-dark hero-subheading-input {
        color: #ffffff !important;
    }

   /* .theme-dark .hero-heading-input {
        color: #f58025 !important;
    }*/

    .theme-dark .hero-subheading-input {
        color: white !important;
    }

.theme-light hero-subheading-input,
.theme-light hero-subheading-input {
    background-color: rgba(0, 0, 0, 0);
    color: #212529 !important;
}

/*.theme-light .hero-heading-input {
    color: #f58025 !important;
}*/

/* General textarea styles */
textarea {
    overflow-y: hidden;
    resize: none;
}

/* Utility classes */
.hidden-section {
    display: none !important;
}

/* Video wrapper styles */
.video-wrapper {
    display: inline-block;
    position: relative;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none; /* This allows clicks to pass through to the anchor tag */
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(245, 128, 37, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

    .video-play-button span {
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 30px;
        margin-left: 5px;
    }

.video-btn:hover .video-play-button {
    background: rgba(245, 128, 37, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Hero section controls */
.Hero-section {
    position: relative;
}

.hero-icons {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.Hero-section:hover .hero-icons {
    opacity: 1;
    pointer-events: auto;
}

.add-to-page-btn {
    position: absolute;
    top: 20px;
    right: 28px;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.Hero-section:hover .add-to-page-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile responsive styles */
@media (max-width: 767.98px) {
    .hero-icons {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .add-to-page-btn {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}
