/* Main Styles */
@import url('https://db.onlinewebfonts.com/c/d890d634174186faf6358e45fdf5f286?family=Swiss+721+Bold+Rounded');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

body {
    font-family: "Swiss 721 Bold Rounded";
}
p {
    font-family: "Quicksand";
    font-weight: 400; }
  
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Swiss 721 Bold Rounded";
  }
  a {
    font-family: "Swiss 721 Bold Rounded";
  }
  
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Apple-inspired Glass Morphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced shadows for Apple-like depth */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
}

/* Modern Process Cards */
.group:hover .group-hover\:shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.35);
}

/* Enhanced transitions for modern cards */
.group {
    transition: all 0.3s ease;
}

.group:hover {
    transform: translateY(-5px);
}

/* Backdrop blur effects */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Text shadow for better readability */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Scroll Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

/* Custom gradient overlays for cards */
.from-black\/60 {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
}

.from-blue-900\/60 {
    background-image: linear-gradient(to bottom, rgba(30, 58, 138, 0.6), rgba(30, 58, 138, 0.4), rgba(30, 58, 138, 0.8));
}

.from-green-900\/60 {
    background-image: linear-gradient(to bottom, rgba(20, 83, 45, 0.6), rgba(20, 83, 45, 0.4), rgba(20, 83, 45, 0.8));
}

.from-red-900\/60 {
    background-image: linear-gradient(to bottom, rgba(127, 29, 29, 0.6), rgba(127, 29, 29, 0.4), rgba(127, 29, 29, 0.8));
}

/* Apple-style animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Gray, White, Black Mix Animations */
@keyframes gray-white-black-mix {
    0% { 
        background: linear-gradient(45deg, rgba(128,128,128,0.4), rgba(255,255,255,0.2), rgba(0,0,0,0.4));
    }
    33% { 
        background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(128,128,128,0.2), rgba(0,0,0,0.3));
    }
    66% { 
        background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(255,255,255,0.2), rgba(128,128,128,0.3));
    }
    100% { 
        background: linear-gradient(45deg, rgba(128,128,128,0.4), rgba(255,255,255,0.2), rgba(0,0,0,0.4));
    }
}

.animate-gray-white-black-mix {
    animation: gray-white-black-mix 8s ease-in-out infinite;
}

/* Additional Gray, White, Black Mix Effects */
@keyframes subtle-shift {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

.animate-subtle-shift {
    animation: subtle-shift 4s ease-in-out infinite;
}

/* Enhanced particle animation for gray theme */
@keyframes particle-gray {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
}

.animate-particle-gray {
    animation: particle-gray 6s ease-in-out infinite;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Latest Section Animations */
@keyframes gradient-shift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

.animate-gradient {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes particle-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) translateX(-10px); 
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-30px) translateX(5px); 
        opacity: 0.4;
    }
}

.animate-particle {
    animation: particle-float 6s ease-in-out infinite;
}

@keyframes card-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); 
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.2); 
    }
}

.animate-card-glow {
    animation: card-glow 3s ease-in-out infinite;
}

@keyframes text-shimmer {
    0% { 
        background-position: -200% center; 
    }
    100% { 
        background-position: 200% center; 
    }
}

.text-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    background-size: 200% 100%;
    animation: text-shimmer 2s ease-in-out infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced hover effects for latest cards */
.latest-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.latest-card:hover .latest-image {
    transform: scale(1.1);
}

.latest-image {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating animation for CTA button */
@keyframes float-cta {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-5px); 
    }
}

.animate-float-cta {
    animation: float-cta 2s ease-in-out infinite;
}

/* Pulse effect for active status */
@keyframes status-pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1); 
    }
}

.animate-status-pulse {
    animation: status-pulse 2s ease-in-out infinite;
}

/* Line clamping for text */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Enhanced card hover effects */
.latest-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.latest-card:hover .latest-image {
    transform: scale(1.1);
}

.latest-image {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Platform-specific colors */
.platform-facebook {
    color: #1877f2;
}

.platform-instagram {
    color: #e4405f;
}

.platform-tiktok {
    color: #000000;
}

.platform-youtube {
    color: #ff0000;
}

/* Video modal enhancements */
.video-modal {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Responsive grid adjustments */
@media (min-width: 1280px) {
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1279px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Latest Post Page Styles */
.latest-post-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.latest-post-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.4) 100%);
    min-height: 100vh;
}

.content-panel {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 80vh;
    overflow-y: auto;
}

/* Enhanced text readability on background images */
.text-shadow-strong {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.text-shadow-medium {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

/* Smooth transitions for content panel */
.content-panel {
    transition: all 0.3s ease;
}

.content-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35);
}

/* Custom focus states */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Enhanced button hover effects */
.btn-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Latest Page Styles */
@keyframes particle {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.animate-particle {
    animation: particle 6s infinite linear;
}

/* Filter Button Styles */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::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;
}

.filter-btn:hover::before {
    left: 100%;
}

/* Work Item Hover Effects */
.work-item:hover .latest-image {
    transform: scale(1.1);
}

.work-item:hover {
    transform: translateY(-10px);
}

/* Platform-specific styling */
.work-item[data-platform="facebook"] .latest-card {
    border-left: 4px solid #1877f2;
}

.work-item[data-platform="instagram"] .latest-card {
    border-left: 4px solid #e4405f;
}

.work-item[data-platform="youtube"] .latest-card {
    border-left: 4px solid #ff0000;
}

.work-item[data-platform="tiktok"] .latest-card {
    border-left: 4px solid #000000;
}

/* Social Media Icons Animation */
.fab {
    transition: transform 0.3s ease;
}

.fab:hover {
    transform: scale(1.2);
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Load More Button Animation */
.load-more-btn {
    position: relative;
    overflow: hidden;
}

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

.load-more-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Text Shimmer Effect */
.text-shimmer {
    background: linear-gradient(90deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Card Glow Animation */
.animate-card-glow {
    animation: cardGlow 2s ease-in-out infinite alternate;
}

@keyframes cardGlow {
    from {
        box-shadow: 0 0 20px rgba(255,255,255,0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(255,255,255,0.6);
    }
}

/* Status Pulse Animation */
.animate-status-pulse {
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Grid Adjustments */
@media (min-width: 1280px) {
    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Latest Post Page Styles */
.latest-post-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.latest-post-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.4) 100%);
    min-height: 100vh;
}

.content-panel {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 80vh;
    overflow-y: auto;
}

.text-shadow-strong {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.text-shadow-medium {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
