/* Index Page Specific Styles */

/* Enhanced floating elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
    filter: blur(1px);
}

.floating-shape:nth-child(1) {
    top: 15%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    animation-delay: 0s;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.floating-shape:nth-child(2) {
    top: 65%;
    right: 12%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    animation-delay: 2.5s;
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.3);
}

.floating-shape:nth-child(3) {
    bottom: 25%;
    left: 15%;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 15px;
    animation-delay: 5s;
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
}

.floating-shape:nth-child(4) {
    top: 40%;
    right: 25%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 50%;
    animation-delay: 3.5s;
    box-shadow: 0 8px 32px rgba(67, 233, 123, 0.3);
}

.floating-shape:nth-child(5) {
    bottom: 60%;
    left: 60%;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 12px;
    animation-delay: 1.5s;
    box-shadow: 0 8px 32px rgba(250, 112, 154, 0.3);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.15;
    }
    25% { 
        transform: translateY(-15px) rotate(90deg) scale(1.1); 
        opacity: 0.25;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg) scale(1.05); 
        opacity: 0.2;
    }
    75% { 
        transform: translateY(-10px) rotate(270deg) scale(1.15); 
        opacity: 0.3;
    }
}

/* Enhanced hero styling */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: #4a5568;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero .btn {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #667eea;
    color: #667eea;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.hero .btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

/* Creative skill cards */
.skill-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-creative);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-creative);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: white;
    font-size: 1.5rem;
}

/* Featured Work Card Improvements */
.card {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    color: white;
    padding: var(--space-6);
    backdrop-filter: blur(10px);
}

.card-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-text {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-4);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card .btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-900);
    border: none;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.card .btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Photo Gallery Layout */
.photo-gallery {
    margin: var(--space-8) 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.photo-item {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.photo-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-item.wide {
    grid-column: span 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        transparent 100%
    );
    color: white;
    padding: var(--space-6);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    backdrop-filter: blur(10px);
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-caption h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: white;
}

.photo-caption p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Responsive Photo Grid */
@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    
    .photo-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 180px);
        gap: var(--space-3);
    }
    
    .photo-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .photo-item.wide {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 200px);
    }
    
    .photo-item.large,
    .photo-item.wide {
        grid-column: span 1;
    }
} 