/* Hero Section Improvements */

.hero-placeholder {
    background: linear-gradient(135deg,
        #2c3e50 0%,
        #34495e 25%,
        #4a7c7c 50%,
        #5a8a8a 75%,
        #6ba6a6 100%);
    position: relative;
    overflow: hidden;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    z-index: 1;
}

/* Animated Grid Pattern */
.pattern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    height: 100%;
    width: 100%;
    transform: rotate(15deg) scale(1.5);
    animation: gridRotate 20s linear infinite;
}

@keyframes gridRotate {
    0% { transform: rotate(15deg) scale(1.5); }
    100% { transform: rotate(375deg) scale(1.5); }
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-item:nth-child(1) { animation-delay: 0s; }
.grid-item:nth-child(2) { animation-delay: 0.5s; }
.grid-item:nth-child(3) { animation-delay: 1s; }
.grid-item:nth-child(4) { animation-delay: 0.2s; }
.grid-item:nth-child(5) { animation-delay: 0.7s; }
.grid-item:nth-child(6) { animation-delay: 1.2s; }
.grid-item:nth-child(7) { animation-delay: 0.4s; }
.grid-item:nth-child(8) { animation-delay: 0.9s; }
.grid-item:nth-child(9) { animation-delay: 1.4s; }

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 6s;
    animation-duration: 20s;
    border-radius: 20%;
}

.shape-4 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 30%;
    animation-delay: 9s;
    animation-duration: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(-10px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) translateX(-20px) rotate(270deg);
        opacity: 0.9;
    }
}

/* Enhanced Hero Content */
.hero-placeholder .hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-placeholder .hero-title {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-placeholder .hero-subtitle {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

/* Geometric overlay pattern */
.hero-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.02) 50%, transparent 60%);
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-placeholder .hero-content {
        padding: 40px 30px;
        margin: 0 15px;
    }

    .pattern-grid {
        transform: rotate(15deg) scale(1.2);
    }

    .shape-1, .shape-2, .shape-3 {
        width: 60px;
        height: 60px;
    }

    .shape-4 {
        width: 40px;
        height: 40px;
    }
}

/* Add subtle animation to the hero overlay */
.hero-placeholder .hero-overlay {
    background: rgba(0, 0, 0, 0.2);
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { background: rgba(0, 0, 0, 0.2); }
    50% { background: rgba(0, 0, 0, 0.1); }
}