/* Web Development Portfolio Page Styles */

/* Hero Section */
.web-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.web-hero-background {
    background-image: url("../images/web/web-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.web-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,rgba(20, 42, 74, 0.6) 30%, rgba(251, 194, 19, 0.1) 70%, rgba(25, 54, 95, 0.8) 100%);
    z-index: 1;
}


@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.web-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.web-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.web-hero-badge i {
    font-size: 1.1rem;
    color: #fbc213;
}



@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.web-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.web-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    animation: statFloat 2s ease-in-out infinite;
}

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.5s; }
.stat-item:nth-child(3) { animation-delay: 1s; }

@keyframes statFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.stat-number {
    display: block;
    font-size: var(--font-size-5xl); /* 48px - Hero headings */
    font-weight: 800;
    color: #fbc213;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Portfolio Section */
.web-portfolio {
    padding: 8rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: var(--font-size-5xl); /* 48px - Hero headings */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #fbc213;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e5e7eb;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
    border-color: #d1d5db;
}

.card-image-container {
    position: relative;
    overflow: hidden;
}

.web-card-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 20px 20px 0 0;
    box-shadow: none !important;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #ffffff;
}

.case-study-item:hover img {
    transform: scale(1.02);
}

.card-image img {
    width: 100%;
    height:200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.02);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 54, 95, 0.9), rgba(251, 194, 19, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
}

.overlay-content p {
    font-size: var(--font-size-base); /* 16px - Base text */
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.tech-stack {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.card-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.portfolio-card:hover .card-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-live, .btn-preview {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.btn-live {
    background: rgba(251, 194, 19, 0.9);
    color: #2c3e50;
}

.btn-preview {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-live:hover, .btn-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 1.25rem;
    background: #ffffff;
    min-height: 120px;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24 !important;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.card-content p {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-shadow: none !important;
}

.card-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    background: #19365f;
    color: #ffffff;
    border-color: #19365f;
}

.tech-stack {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.tech-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid #bae6fd;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: #0369a1;
    color: #ffffff;
    border-color: #0369a1;
}

/* Services Section */
.web-services {
    padding: 2rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: #f8f9fa;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 194, 19, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #fbc213, #19365f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl); /* 24px - Medium headings */
    color: var(--white);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(251, 194, 19, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbc213;
    font-weight: bold;
}

/* CTA Section */
.web-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #19365f 0%, #142a4a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.web-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: moveDots 20s linear infinite;
}

@keyframes moveDots {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text {
    max-width: 500px;
}

.cta-title {
    font-size: var(--font-size-5xl); /* 48px - Hero headings */
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cta-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(251, 194, 19, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fbc213;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 194, 19, 0.3);
}

.element-1 {
    top: 20%;
    left: 20%;
    animation: floatElement 3s ease-in-out infinite;
}

.element-2 {
    top: 60%;
    right: 20%;
    animation: floatElement 3s ease-in-out infinite 1s;
}

.element-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation: floatElement 3s ease-in-out infinite 2s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .web-hero-title {
        font-size: clamp(2.5rem, 8vw, 2.5rem);
    }
    
    .web-hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .web-hero {
        min-height: 80vh;
    }
    
    .web-hero-title {
        font-size: clamp(2rem, 8vw, 2rem);
    }
    
    .web-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .web-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: var(--font-size-2xl); /* 24px - Medium headings */
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-animation {
        width: 200px;
        height: 200px;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base); /* 16px - Base text */
    }
}

@media (max-width: 480px) {
    .web-hero-title {
        font-size: var(--font-size-2xl); /* 24px - Medium headings */
    }
    
    .web-hero-subtitle {
        font-size: var(--font-size-base); /* 16px - Base text */
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .portfolio-card {
        margin: 0 1rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animation Enhancements */
.portfolio-card {
    animation: cardSlideIn 0.6s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: serviceSlideIn 0.6s ease-out;
}

@keyframes serviceSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover Effects */
.portfolio-card:hover .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(25, 54, 95, 0.1), rgba(251, 194, 19, 0.1));
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Loading Animation */
.portfolio-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important;
    width: 140px !important;
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important;
}
