/*** CREATIVE SECTIONS DESIGN ***/

/* ===== ABOUT SECTION ===== */
#about {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 215, 0, 0.03) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.03) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: gridPulse 20s linear infinite;
    z-index: 0;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

#about .container,
#about .row {
    position: relative;
    z-index: 1;
}

/* About Content Box */
#about .col-lg-6:first-child {
    position: relative;
}

#about .col-lg-6:first-child::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    animation: borderGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
        border-color: rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
        border-color: rgba(255, 215, 0, 0.6);
    }
}

/* Years Experience Enhancement */
#about .years {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #FFD700;
    border-radius: 20px;
    padding: 30px;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    animation: yearsPulse 2s ease-in-out infinite;
}

@keyframes yearsPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8), inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
}

#about .years::before {
    content: '{ }';
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: 'Courier New', monospace;
    color: rgba(255, 215, 0, 0.3);
    font-size: 2rem;
}

#about .years::after {
    content: '< />';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-family: 'Courier New', monospace;
    color: rgba(255, 215, 0, 0.3);
    font-size: 2rem;
}

/* Download Button Enhancement */
#about .btn-primary {
    position: relative;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid #FFD700;
    color: #000000;
    font-weight: 700;
    padding: 15px 40px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

#about .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#about .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

#about .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

/* ===== SKILLS SECTION ===== */
#skill {
    position: relative;
    background: #000000;
    overflow: hidden;
}

#skill::before {
    content: '{ } [ ] < > ( ) ; : = + - * /';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 5rem;
    color: rgba(255, 215, 0, 0.03);
    transform: translateY(-50%);
    letter-spacing: 30px;
    animation: codeFloat 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes codeFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(50px); }
}

/* Terminal-Style Skill Tabs */
#skill .nav-pills {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

#skill .nav-pills .nav-link {
    background: transparent;
    border: 2px solid transparent;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    margin: 5px;
    transition: all 0.3s ease;
    position: relative;
}

#skill .nav-pills .nav-link::before {
    content: '> ';
    opacity: 0;
    transition: opacity 0.3s ease;
}

#skill .nav-pills .nav-link.active::before,
#skill .nav-pills .nav-link:hover::before {
    opacity: 1;
}

#skill .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

#skill .nav-pills .nav-link:hover {
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(5px);
}

/* Skill Progress Bars */
#skill .tab-content .col-sm-6 {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#skill .tab-content .col-sm-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

#skill .tab-content .col-sm-6:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

#skill .progress {
    height: 35px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

#skill .progress-bar {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    position: relative;
    overflow: hidden;
}

#skill .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

#skill .progress-bar span {
    color: #000000;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===== SERVICES SECTION ===== */
#service {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%) !important;
    overflow: hidden;
}

#service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dotMove 20s linear infinite;
    z-index: 0;
}

@keyframes dotMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* Hexagon Service Cards */
.service-item {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid rgba(255, 215, 0, 0.4);
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    padding: 60px 40px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-item:hover::before {
    opacity: 1;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.service-item:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
    border-color: #FFD700;
}

.service-item i {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    transition: all 0.3s ease;
}

.service-item:hover i {
    transform: rotateY(360deg) scale(1.2);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

/* ===== PORTFOLIO SECTION ===== */
#portfolio-flters {
    position: relative;
    z-index: 2;
}

#portfolio-flters li {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#portfolio-flters li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

#portfolio-flters li:hover::before,
#portfolio-flters li.active::before {
    width: 200%;
    height: 200%;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: #000000;
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: scanProject 3s linear infinite;
    z-index: 10;
}

@keyframes scanProject {
    0% { left: -100%; }
    100% { left: 100%; }
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FFD700;
    box-shadow:
        0 20px 50px rgba(255, 215, 0, 0.4),
        inset 0 0 30px rgba(255, 215, 0, 0.1);
}

.portfolio-item img {
    transition: all 0.5s ease;
    filter: grayscale(30%);
}

.portfolio-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.portfolio-item .portfolio-text {
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid rgba(255, 215, 0, 0.5);
}

.portfolio-item h4 {
    font-family: 'Courier New', monospace;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ===== CONTACT SECTION ===== */
#contact {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    overflow: hidden;
}

#contact::before {
    content: '< CONTACT />';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Courier New', monospace;
    font-size: 8rem;
    color: rgba(255, 215, 0, 0.03);
    font-weight: 900;
    z-index: 0;
}

/* Terminal-Style Contact Form */
#contact .bg-white {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 3px solid rgba(255, 215, 0, 0.5);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

#contact .bg-white::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
    animation: formShine 3s linear infinite;
}

@keyframes formShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#contact .form-control {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#contact .form-control::placeholder {
    color: rgba(255, 215, 0, 0.5);
}

#contact .form-control:focus {
    background: rgba(0, 0, 0, 0.9);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    color: #00ff00;
    outline: none;
}

#contact .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid #FFD700;
    color: #000000;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#contact .btn-primary::before {
    content: '> ';
    position: absolute;
    left: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

#contact .btn-primary:hover::before {
    opacity: 1;
    left: 30px;
}

#contact .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    padding-left: 60px;
}

/* Contact Info Icons - Exclude social media buttons */
#contact .col-lg-5 .d-flex:not(.pt-2) i {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Social Media Links */
.btn-square {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 215, 0, 0.5);
    color: #FFD700;
    transition: all 0.3s ease;
}

.btn-square:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: #FFD700;
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px) rotate(5deg);
}

/* ===== SECTION HEADERS ===== */
.section-title::before {
    content: '>';
    position: absolute;
    left: -30px;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    animation: blink 1s step-end infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .service-item {
        clip-path: none;
        border-radius: 15px;
    }

    #contact::before,
    #skill::before {
        font-size: 3rem;
    }
}
