

/* Hero section pentru pagini interne */
.hero-section-page {
    height: 50vh;
    background-color: rgba(255, 255, 255, 0.2);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    animation: gradientShift 10s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

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

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 1s both;
}

/* Breadcrumb styling */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #fbbf24;
    font-weight: bold;
}

.breadcrumb-item.active {
    color: #fbbf24;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #fbbf24;
}

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

/* Search button */
.search-btn {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.search-btn:hover {
    background-color: white;
    color: #1e3a8a;
    transform: scale(1.05);
}

/* Card styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-header {
    border-bottom: none;
    padding: 1.5rem;
    font-weight: bold;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Section spacing */
section {
    padding: 4rem 0;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.btn-light {
    background-color: white;
    color: #1e3a8a;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #1e3a8a;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    color: white;
    padding: 3rem 0 2rem;
}

footer h5 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

footer a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fbbf24;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Submenu cards styling */
.submenu-cards .card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.submenu-cards .card:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.submenu-cards .card:hover .card-body {
    color: white;
}

.submenu-cards .card:hover .card-title {
    color: #fbbf24;
}

.submenu-cards .card:hover .fa {
    color: #fbbf24;
}

/* History section styling */
.history-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.history-content {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.history-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.history-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1e3a8a, #fbbf24, #1e40af);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.history-content:hover::before {
    opacity: 1;
}

.history-content:hover .history-text {
    color: white;
}

.history-content:hover .history-title {
    color: white;
}

.history-title {
    color: #1e3a8a;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.history-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a, #fbbf24);
    border-radius: 2px;
}

.history-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #374151;
    text-align: justify;
    position: relative;
}

.history-text::first-letter {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1e3a8a;
    float: left;
    line-height: 3rem;
    margin: 0.2rem 0.5rem 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.history-text p {
    margin-bottom: 1.5rem;
}

.history-text p:last-child {
    margin-bottom: 0;
}

/* History decorative elements */
.history-decoration {
    position: absolute;
    opacity: 0.1;
    color: #1e3a8a;
    font-size: 8rem;
    z-index: 1;
}

.history-decoration.top-left {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.history-decoration.bottom-right {
    bottom: 10%;
    right: 5%;
    transform: rotate(15deg);
}

/* Animation for history section */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.history-content {
    animation: slideInFromLeft 1s ease-out;
}

/* ===== SUCCESE SECTION STYLING ===== */

.succese-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.succese-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Statistici rapide */
.stats-container {
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a, #fbbf24);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-card h4 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
}

/* Filtre */
.filters-container {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filters-container .btn-group .btn {
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filters-container .btn-outline-primary {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.filters-container .btn-outline-primary:hover,
.filters-container .btn-outline-primary.active {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-color: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.filters-container .btn-outline-secondary {
    border-color: #6b7280;
    color: #6b7280;
}

.filters-container .btn-outline-secondary:hover,
.filters-container .btn-outline-secondary.active {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border-color: #6b7280;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.3);
}

/* Carduri succese */
.succes-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.succes-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.succes-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.succes-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.succes-image:hover img {
    transform: scale(1.1);
}

.succes-image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.succes-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-tip,
.badge-nivel {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Badge colors pentru tip */
.badge-diploma { background: rgba(59, 130, 246, 0.9); color: white; }
.badge-premiu { background: rgba(251, 191, 36, 0.9); color: white; }
.badge-certificat { background: rgba(16, 185, 129, 0.9); color: white; }
.badge-concurs { background: rgba(139, 92, 246, 0.9); color: white; }
.badge-olimpiada { background: rgba(239, 68, 68, 0.9); color: white; }
.badge-festival { background: rgba(245, 158, 11, 0.9); color: white; }
.badge-competitie { background: rgba(99, 102, 241, 0.9); color: white; }

/* Badge colors pentru nivel */
.badge-local { background: rgba(107, 114, 128, 0.9); color: white; }
.badge-regional { background: rgba(59, 130, 246, 0.9); color: white; }
.badge-national { background: rgba(16, 185, 129, 0.9); color: white; }
.badge-international { background: rgba(239, 68, 68, 0.9); color: white; }

.succes-content {
    padding: 1.5rem;
}

.succes-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e3a8a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.succes-details {
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-item i {
    width: 20px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.detail-item span {
    color: #374151;
}

.succes-description {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}

.succes-description p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Animații pentru succese */
.succes-item {
    transition: all 0.3s ease;
}

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

.succes-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Modal styling */
.modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
    border-bottom: none;
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .hero-section {
        height: 60vh;
    }
    
    .hero-section-page {
        height: 40vh;
    }
    
    .dropdown-menu {
        min-width: 200px;
    }
    
    .history-content {
        padding: 2rem;
        margin: 1rem 0;
    }
    
    .history-title {
        font-size: 2rem;
    }
    
    .history-text {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .history-text::first-letter {
        font-size: 2.5rem;
        line-height: 2rem;
    }
    
    .history-decoration {
        font-size: 4rem;
    }
    
    /* Responsive pentru succese - tablet */
    .filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filters-container .btn-group {
        justify-content: center;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card h4 {
        font-size: 2rem;
    }
    
    .succes-image,
    .succes-image-placeholder {
        height: 200px;
    }
    
    .succes-content {
        padding: 1.2rem;
    }
    
    .succes-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .dropdown-menu {
        min-width: 180px;
    }
    
    .history-content {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .history-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .history-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .history-text::first-letter {
        font-size: 2rem;
        line-height: 1.5rem;
        margin-right: 0.3rem;
    }
    
    .history-decoration {
        display: none;
    }
    
    /* Responsive pentru succese - mobile */
    .stat-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-card h4 {
        font-size: 1.8rem;
    }
    
    .filters-container {
        padding: 1rem;
    }
    
    .filters-container .btn-group .btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    .succes-image,
    .succes-image-placeholder {
        height: 180px;
    }
    
    .succes-content {
        padding: 1rem;
    }
    
    .succes-title {
        font-size: 1.1rem;
    }
    
    .detail-item {
        font-size: 0.85rem;
    }
    
    .succes-badges {
        top: 10px;
        left: 10px;
    }
    
    .badge-tip,
    .badge-nivel {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
}

