/* ========================================
   HERO SECTION - PACKAGING THEMED ENHANCEMENTS
   ======================================== */

/* Enhanced Scroll Indicator */
.hero-section .scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.hero-section .scroll-indicator:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(-50%) scale(1.05);
}

.hero-section .scroll-indicator::before {
    content: '↓';
    font-size: 1.4rem;
    animation: bounce 2s infinite;
    display: block;
    line-height: 1;
}

.hero-section .scroll-indicator::after {
    content: '';
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 1px;
    animation: scrollLine 2s infinite;
    display: block;
    margin-top: 4px;
}

@keyframes scrollLine {
    0% {
        height: 0;
        opacity: 1;
    }
    50% {
        height: 30px;
        opacity: 0.8;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

/* Packaging Elements */
.hero-section .packaging-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-section .packaging-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.hero-section .packaging-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.hero-section .packaging-box::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 20%;
    height: 20%;
    background: rgba(5, 125, 188, 0.3);
    border-radius: 2px;
}

/* Box 1 - Top Left */
.hero-section .packaging-box:nth-child(1) {
    width: 80px;
    height: 60px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

/* Box 2 - Top Right */
.hero-section .packaging-box:nth-child(2) {
    width: 100px;
    height: 80px;
    top: 20%;
    right: 12%;
    animation-delay: 2s;
    transform: rotate(20deg);
}

/* Box 3 - Middle Left */
.hero-section .packaging-box:nth-child(3) {
    width: 70px;
    height: 50px;
    top: 50%;
    left: 5%;
    animation-delay: 4s;
    transform: rotate(-10deg);
}

/* Box 4 - Bottom Right */
.hero-section .packaging-box:nth-child(4) {
    width: 90px;
    height: 70px;
    bottom: 20%;
    right: 8%;
    animation-delay: 6s;
    transform: rotate(15deg);
}

/* Printing Elements */
.hero-section .printing-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-section .print-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: printMove 6s linear infinite;
}

.hero-section .print-line:nth-child(1) {
    width: 200px;
    top: 25%;
    left: -200px;
    animation-delay: 0s;
}

.hero-section .print-line:nth-child(2) {
    width: 150px;
    top: 60%;
    right: -150px;
    animation-delay: 2s;
    animation-direction: reverse;
}

.hero-section .print-line:nth-child(3) {
    width: 180px;
    top: 40%;
    left: -180px;
    animation-delay: 4s;
}

@keyframes printMove {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

/* Color Swatches */
.hero-section .color-swatch {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .color-swatch:nth-child(1) {
    background: linear-gradient(45deg, #d83c03, #ff6b35);
    top: 30%;
    left: 15%;
    animation-delay: 0s;
}

.hero-section .color-swatch:nth-child(2) {
    background: linear-gradient(45deg, #057dbc, #5fb4e5);
    top: 70%;
    right: 20%;
    animation-delay: 2s;
}

.hero-section .color-swatch:nth-child(3) {
    background: linear-gradient(45deg, #51833e, #7cb342);
    top: 45%;
    right: 5%;
    animation-delay: 4s;
}

/* Enhanced Floating Shapes */
.hero-section .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-section .shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-section .shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-section .shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

/* Industry Text Overlay */
.hero-section .industry-text {
    position: absolute;
    top: 10%;
    right: 5%;
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: center;
    z-index: 1;
}

.hero-section .industry-text::before {
    content: 'PACKAGING';
    display: block;
    margin-bottom: 20px;
}

.hero-section .industry-text::after {
    content: 'PRINTING';
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section .packaging-box {
        transform: scale(0.7);
    }
    
    .hero-section .color-swatch {
        transform: scale(0.8);
    }
    
    .hero-section .print-line {
        display: none;
    }
    
    .hero-section .industry-text {
        display: none;
    }
    
    .hero-section .scroll-indicator {
        bottom: 30px;
        font-size: 0.8rem;
        gap: 10px;
    }
    
    .hero-section .scroll-indicator::before {
        font-size: 1.2rem;
    }
    
    .hero-section .scroll-indicator::after {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section .packaging-elements,
    .hero-section .printing-elements {
        display: none;
    }
    
    .hero-section .scroll-indicator {
        bottom: 20px;
        font-size: 0.7rem;
        gap: 8px;
    }
    
    .hero-section .scroll-indicator::before {
        font-size: 1rem;
    }
    
    .hero-section .scroll-indicator::after {
        height: 25px;
    }
}

/* Enhanced Button Styling */
.hero-section .button {
    position: relative;
    overflow: hidden;
}

.hero-section .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-section .button:hover::before {
    left: 100%;
}

/* Packaging-themed hover effects */
.hero-section .button.red:hover {
    box-shadow: 0 15px 40px rgba(216, 60, 3, 0.6), 0 0 20px rgba(216, 60, 3, 0.3);
}

.hero-section .button.white:hover {
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
}
