/* RedSky Soft - Custom Styles */

/* Demo Notice Bar */
.demo-notice {
    background: linear-gradient(90deg, #FF3B30, #FF5B4F);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.demo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.demo-badge {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.demo-text {
    color: #ffffff;
    font-size: 0.875rem;
}

.demo-btn {
    background: #ffffff;
    color: #FF3B30;
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    background: #1A1A1A;
    color: #ffffff;
    transform: translateX(4px);
}

/* Logo - Text based with glows */
.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 
        0 0 5px rgba(0, 0, 0, 1),
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 59, 48, 1),
        0 0 40px rgba(255, 59, 48, 0.9),
        0 0 80px rgba(255, 59, 48, 0.7),
        0 0 140px rgba(255, 59, 48, 0.5),
        0 0 200px rgba(255, 59, 48, 0.3);
    display: inline-block;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    top: 40px;
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation Links */
.nav-link {
    position: relative;
    color: #9CA3AF;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #FF3B30;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF3B30;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    z-index: -2;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-circle.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #FF3B30, #FF5B4F);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-circle.circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #FF3B30, #FF5B4F);
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.floating-circle.circle-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #FF3B30, #FF5B4F);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E5E7EB;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #FF3B30;
}

.service-card .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
    background: #FF3B30;
    color: white;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #FF3B30, #D63026);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: white;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.feature-card:hover {
    border-color: #FF3B30;
    transform: translateY(-4px);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1A1A1A, #2D2D2D);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #FF3B30;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #9CA3AF;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #FF3B30, #D63026);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #FF3B30;
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
}

.form-input::placeholder {
    color: #9CA3AF;
}

/* Page Hero (for internal pages) */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1A1A1A, #2D2D2D);
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: #9CA3AF;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 20px;
        opacity: 0.3;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Portfolio Card */
.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-card .card-image {
    height: 250px;
    background: linear-gradient(135deg, #1A1A1A, #2D2D2D);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

/* Contact Page Specific */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.contact-info-card:hover {
    border-color: #FF3B30;
    transform: translateY(-4px);
}

.contact-info-card .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF3B30;
    font-size: 1.25rem;
    flex-shrink: 0;
}