/* Trinity English Banner Styles - English Theme with Photo Colors */

/* Main banner container */
.trinity-banner {
    background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 50%, #9c27b0 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Decorative elements */
.trinity-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.trinity-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Logo text */
.trinity-banner-logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Tagline */
.trinity-banner-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Location badge */
.trinity-banner-location {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

/* Icon styling */
.trinity-banner-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Creative Logo Styles */
.trinity-creative-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.trinity-logo-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
    border: 3px solid rgba(255, 215, 0, 0.4);
}

.english-symbol {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: bold;
    color: #ffd700;
    font-size: 2.2rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
}

.trinity-logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.trinity-logo-accent {
    color: #ffd700;
    font-weight: 800;
}

/* Decorative graphics - English symbols */
.trinity-banner-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.trinity-graphic-book,
.trinity-graphic-speech,
.trinity-graphic-globe,
.trinity-graphic-star,
.trinity-graphic-pen,
.trinity-graphic-chat {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float 7s ease-in-out infinite;
}

.trinity-graphic-book {
    top: 10%;
    left: 5%;
}

.trinity-graphic-speech {
    top: 15%;
    right: 8%;
    animation: float 9s ease-in-out infinite reverse;
}

.trinity-graphic-globe {
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.trinity-graphic-star {
    bottom: 15%;
    right: 12%;
    animation: float 6s ease-in-out infinite reverse;
}

.trinity-graphic-pen {
    top: 50%;
    left: 3%;
    animation: float 10s ease-in-out infinite;
}

.trinity-graphic-chat {
    top: 40%;
    right: 5%;
    animation: float 7s ease-in-out infinite reverse;
}

/* Wave decoration at bottom */
.trinity-banner-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,215,0,0.1)' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    z-index: 0;
}

/* Sparkle effect */
.trinity-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite;
}

.trinity-sparkle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.trinity-sparkle:nth-child(2) {
    top: 40%;
    right: 25%;
    animation-delay: 0.5s;
}

.trinity-sparkle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsive */
@media only screen and (max-width: 992px) {
    .trinity-banner {
        padding: 1.5rem 1rem;
    }

    .trinity-banner-logo {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .trinity-logo-text {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .trinity-logo-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .english-symbol {
        font-size: 1.8rem;
    }

    .trinity-banner-tagline {
        font-size: 1rem;
    }

    .trinity-banner-location {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .trinity-graphic-book,
    .trinity-graphic-speech,
    .trinity-graphic-globe,
    .trinity-graphic-star,
    .trinity-graphic-pen,
    .trinity-graphic-chat {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 600px) {
    .trinity-banner {
        padding: 1.25rem 0.75rem;
    }

    .trinity-banner-logo {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.4rem;
    }

    .trinity-logo-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .trinity-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .english-symbol {
        font-size: 1.5rem;
    }

    .trinity-banner-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .trinity-banner-location {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    .trinity-banner-icon {
        font-size: 1rem;
    }

    .trinity-graphic-book,
    .trinity-graphic-speech,
    .trinity-graphic-globe,
    .trinity-graphic-star,
    .trinity-graphic-pen,
    .trinity-graphic-chat {
        font-size: 1.5rem;
        opacity: 0.1;
    }

    .trinity-banner-wave {
        height: 30px;
    }
}

/* Animated underline for logo */
.trinity-logo-underline {
    position: relative;
    display: inline-block;
}

.trinity-logo-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff9800);
    border-radius: 2px;
    animation: slide 2s ease-in-out infinite;
}

@keyframes slide {
    0%, 100% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
}
