/* Edly Color Scheme */
:root {
    --primary-color: #4a2b5a;
    --secondary-color: #ff4081;
    --accent-color: #ffd700;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    background-color: var(--bg-light);
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-search-box {
    background: var(--bg-white);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(74, 43, 90, 0.1);
    display: flex;
    align-items: center;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-search-input {
    border: none;
    outline: none;
    padding: 15px 25px;
    font-size: 1rem;
    flex: 1;
    background: transparent;
}

.hero-search-input::placeholder {
    color: var(--text-secondary);
}

.hero-search-button {
    background: linear-gradient(45deg, var(--secondary-color), #e91e63);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-search-button:hover {
    background: linear-gradient(45deg, #e91e63, #c2185b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
    color: white;
    text-decoration: none;
}

.hero-image-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
}

.hero-image-main {
    height: 100%;
    width: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(74, 43, 90, 0.15));
    animation: floatImage 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-image-main:hover {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 25px 50px rgba(74, 43, 90, 0.25));
}

@keyframes floatImage {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-15px) scale(1.02);
    }
}

.hero-image-ellipse {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    opacity: 0.4;
    z-index: 1;
    animation: rotateEllipse 20s linear infinite;
}

@keyframes rotateEllipse {
    0% { 
        transform: translateY(-50%) rotate(0deg);
    }
    100% { 
        transform: translateY(-50%) rotate(360deg);
    }
}

.hero-bottom-bar {
    background: linear-gradient(45deg, var(--primary-color), #6c3483);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 40px;
    border-radius: 10px;
}

.hero-bottom-bar strong {
    color: var(--accent-color);
}

/* Edly Theme Updates for Existing Elements */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), #6c3483) !important;
}

.agenda-date-blue {
    background: linear-gradient(135deg, var(--primary-color), #6c3483) !important;
    color: white;
    border-left: 4px solid var(--primary-color) !important;
}

.agenda-date-orange {
    background: linear-gradient(135deg, var(--secondary-color), #e91e63) !important;
    color: white;
    border-left: 4px solid var(--secondary-color) !important;
}

/* Update theme colors throughout */
.text-theme { color: var(--primary-color) !important; }
.bg-theme { background-color: var(--primary-color) !important; }
.btn-theme { background-color: var(--primary-color) !important; border-color: var(--primary-color) !important; }

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-image-wrapper {
        height: 350px;
        margin-top: 30px;
        transform: translateY(0);
    }
    .hero-image-main {
        height: 100%;
        width: auto;
    }
    .hero-image-ellipse {
        display: none;
    }
    .hero-bottom-bar {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-search-box {
        flex-direction: column;
        padding: 15px;
    }
    .hero-search-input {
        width: 100%;
        margin-bottom: 15px;
    }
    .hero-search-button {
        width: 100%;
        text-align: center;
    }
    .hero-image-wrapper {
        height: 280px;
        margin-top: 20px;
    }
    .hero-bottom-bar {
        font-size: 0.9rem;
        padding: 15px 0;
        margin-top: 20px;
    }
}
