/* 
 * Modern Professional Marquee Section
 * Using theme colors:
 * Dark Purple: #4E0652 
 * Light Purple: #9D2A95 
 * Light Blue: #7E7FBE
 * Light Green: #30C9B8
 * Yellowish: #E7AC28
 * Marron: #B32228
 * Violet: #C165B7
 * Light Green: #86C22F
 * Purple shade 2: #83316B
 */

/* Base marquee styling */
.marquee-section {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    height: 180px;
    box-shadow: 0 0 30px rgba(78, 6, 82, 0.3);
}

/* Background option 1 - Purple gradient (default) */
.marquee-section {
    background: linear-gradient(135deg, #002941, #006798,100%);
}

/* Background option 2 - Dark blue with light patterns */
.marquee-section.bg-option-2 {
    background: linear-gradient(135deg, #1a2a6c 0%, #2a4598 100%);
}

/* Background option 3 - Dark to light green gradient */
.marquee-section.bg-option-3 {
    background: linear-gradient(135deg, #145A32 0%, #27AE60 100%);
}

/* Background option 4 - Deep maroon to light violet */
.marquee-section.bg-option-4 {
    background: linear-gradient(135deg, #900C3F 0%, #C70039 100%);
}

/* Background option 5 - Diagonal stripes with purple base */
.marquee-section.bg-option-5 {
    background: linear-gradient(135deg, #4E0652 0%, #83316B 100%);
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
}

/* Background option 6 - Subtle geometric pattern with purple base */
.marquee-section.bg-option-6 {
    background-color: #006798;
    background-image: url('../images/blue-gb-big.webp');
    /*
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(157, 42, 149, 0.2)' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
    */
}

.marquee-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.marquee-backdrop::before,
.marquee-backdrop::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.marquee-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.marquee-layer-1 {
    background: radial-gradient(circle at 30% 50%, rgba(193, 101, 183, 0.15) 0%, rgba(193, 101, 183, 0) 50%);
}

.marquee-layer-2 {
    background: radial-gradient(circle at 70% 50%, rgba(126, 127, 190, 0.15) 0%, rgba(126, 127, 190, 0) 50%);
}

/* Custom gradient layers for different background options */
.bg-option-2 .marquee-layer-1 {
    background: radial-gradient(circle at 30% 50%, rgba(100, 149, 237, 0.15) 0%, rgba(100, 149, 237, 0) 50%);
}

.bg-option-2 .marquee-layer-2 {
    background: radial-gradient(circle at 70% 50%, rgba(135, 206, 235, 0.15) 0%, rgba(135, 206, 235, 0) 50%);
}

.bg-option-3 .marquee-layer-1 {
    background: radial-gradient(circle at 30% 50%, rgba(46, 204, 113, 0.15) 0%, rgba(46, 204, 113, 0) 50%);
}

.bg-option-3 .marquee-layer-2 {
    background: radial-gradient(circle at 70% 50%, rgba(39, 174, 96, 0.15) 0%, rgba(39, 174, 96, 0) 50%);
}

.bg-option-4 .marquee-layer-1 {
    background: radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.15) 0%, rgba(231, 76, 60, 0) 50%);
}

.bg-option-4 .marquee-layer-2 {
    background: radial-gradient(circle at 70% 50%, rgba(192, 57, 43, 0.15) 0%, rgba(192, 57, 43, 0) 50%);
}

/* Main marquee container */
.marquee-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-container {
    width: fit-content;
    display: flex;
    animation: marquee-scroll 80s linear infinite; /* Much slower animation */
    will-change: transform;
}

.marquee-container-reverse {
    animation-direction: reverse;
    margin-top: 10px;
}

.marquee-item {
    position: relative;
    font-size: 6rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Montserrat', Arial, sans-serif;
    color: transparent;
    margin: 0 30px;
    padding: 0 5px;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    letter-spacing: 2px;
}

/* Apply different color schemes to different marquee items */
.marquee-item:nth-child(1), .marquee-item:nth-child(8) {
    -webkit-text-stroke: 2px #22fe00;
    text-stroke: 2px #22fe00;
}

.marquee-item:nth-child(2), .marquee-item:nth-child(9) {
    -webkit-text-stroke: 2px #30C9B8;
    text-stroke: 2px #30C9B8;
}

.marquee-item:nth-child(3), .marquee-item:nth-child(10) {
    -webkit-text-stroke: 2px #f3fa2d;
    text-stroke: 2px #f3fa2d;
}

.marquee-item:nth-child(4), .marquee-item:nth-child(11) {
    -webkit-text-stroke: 2px #E7AC28;
    text-stroke: 2px #E7AC28;
}

.marquee-item:nth-child(5), .marquee-item:nth-child(12) {
    -webkit-text-stroke: 2px #C165B7;
    text-stroke: 2px #C165B7;
}

.marquee-item:nth-child(6), .marquee-item:nth-child(13) {
    -webkit-text-stroke: 2px #86C22F;
    text-stroke: 2px #86C22F;
}

.marquee-item:nth-child(7), .marquee-item:nth-child(14) {
    -webkit-text-stroke: 2px #B32228;
    text-stroke: 2px #B32228;
}

/* Single row setup */
.marquee-row {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
}

/* No hover effects to avoid zoom */
.marquee-item:hover {
    cursor: default;
}

/* Gradient overlays to fade edges */
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, #002941 0%, rgba(0, 41, 65, 0) 100%);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(-90deg, #002941 0%, rgba(0, 41, 65, 0) 100%);
}

/* Custom edge fades for different background options */
.bg-option-2::before {
    background: linear-gradient(90deg, #1a2a6c 0%, rgba(26, 42, 108, 0) 100%);
}
.bg-option-2::after {
    background: linear-gradient(-90deg, #1a2a6c 0%, rgba(26, 42, 108, 0) 100%);
}

.bg-option-3::before {
    background: linear-gradient(90deg, #145A32 0%, rgba(20, 90, 50, 0) 100%);
}
.bg-option-3::after {
    background: linear-gradient(-90deg, #145A32 0%, rgba(20, 90, 50, 0) 100%);
}

.bg-option-4::before {
    background: linear-gradient(90deg, #900C3F 0%, rgba(144, 12, 63, 0) 100%);
}
.bg-option-4::after {
    background: linear-gradient(-90deg, #900C3F 0%, rgba(144, 12, 63, 0) 100%);
}

/* Animation keyframes */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Floating particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

/* Responsive design */
@media (max-width: 1200px) {
    .marquee-item {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .marquee-section {
        height: 120px;
    }
    
    .marquee-item {
        font-size: 3rem;
        margin: 0 15px;
        -webkit-text-stroke-width: 1.5px;
        text-stroke-width: 1.5px;
    }
    
    .marquee-section::before,
    .marquee-section::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .marquee-section {
        height: 100px;
    }
    
    .marquee-item {
        font-size: 2.5rem;
        margin: 0 10px;
        -webkit-text-stroke-width: 1px;
        text-stroke-width: 1px;
    }
} 