/* ========================================
   VISUAL ENHANCEMENTS - ADD MORE LIFE!
   Load this AFTER styles.css
   ======================================== */

/* Hero Layout with Image */
.hero-layout {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
    margin-bottom: 4rem !important;
}

.hero-content {
    max-width: 650px !important;
    text-align: left !important;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.card-1 {
    top: 10%;
    left: -20%;
    animation: floatCard 6s ease-in-out infinite;
}

.card-2 {
    bottom: 15%;
    right: -15%;
    animation: floatCard 6s ease-in-out infinite 2s;
}

.card-3 {
    top: 60%;
    left: -15%;
    animation: floatCard 6s ease-in-out infinite 4s;
}

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

.card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-text strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.card-text span {
    color: #64748b;
    font-size: 0.8rem;
}

/* Grid Pattern Background */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

/* Better Stats */
.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

.stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Trust Badges with Icons */
.trust-badge {
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0.625rem 1.25rem !important;
    transition: all 0.3s ease !important;
}

.trust-badge:hover {
    border-color: #06b6d4 !important;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%) !important;
    color: #06b6d4 !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   NEW MODERN FOOTER
   ======================================== */
.footer {
    background: #0f172a !important;
    color: white !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    color: white;
}

.footer-main {
    padding: 6rem 0 3rem;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #06b6d4;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-heading {
    color: white !important;
    font-size: 1.05rem !important;
    margin-bottom: 1.25rem !important;
    font-weight: 600 !important;
}

.footer-list {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.footer-list a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.footer-list a:hover,
.footer-contact a:hover {
    color: #06b6d4 !important;
    transform: translateX(3px);
}

.footer-contact {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.footer-contact li {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
}

.footer-contact svg {
    flex-shrink: 0;
    color: #06b6d4;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem !important;
}

.footer-copyright strong {
    color: white;
}

.heart {
    color: #ef4444;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-bottom-links a:hover {
    color: #06b6d4 !important;
}

/* ========================================
   ADD IMAGES TO PORTFOLIO
   ======================================== */
.portfolio-card,
.portfolio-item-full {
    overflow: hidden;
}

.portfolio-placeholder,
.portfolio-placeholder-full {
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder::after,
.portfolio-placeholder-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

/* ========================================
   BETTER BUTTONS
   ======================================== */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

/* ========================================
   ADD MORE SPACING & BREATHING ROOM
   ======================================== */
section {
    padding: 7rem 0 !important;
}

.section-header {
    margin-bottom: 5rem !important;
}

.service-card,
.portfolio-card,
.testimonial-card {
    padding: 3rem !important;
}

/* ========================================
   RESPONSIVE FIXES FOR VISUALS
   ======================================== */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr !important;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 3rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-main {
        grid-template-columns: 1fr !important;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .hero-cta {
        justify-content: center !important;
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr !important;
    }
    
    .stat {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   IMPROVE SHADOWS FOR DEPTH
   ======================================== */
.service-card:hover,
.portfolio-card:hover,
.testimonial-card:hover,
.blog-card:hover {
    box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.25) !important;
}

/* ========================================
   GLASSMORPHISM EFFECTS
   ======================================== */
.hero-badge,
.floating-card,
.social-link {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* ========================================
   FORM STATUS MESSAGES
   ======================================== */
.form-status {
    margin-top: 1.5rem;
}

.form-success,
.form-error {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: slideDown 0.3s ease;
}

.form-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.form-error a {
    color: #991b1b;
    font-weight: 600;
    text-decoration: underline;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn.loading span {
    opacity: 0.5;
}
