/* Custom Styles for ElevateOS */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Body styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation styles */
#navbar {
    background-color: transparent;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background-color: #0b0b0b;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary: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);
}

/* Feature cards animation */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(245, 189, 188, 0.2), 0 10px 10px -5px rgba(245, 189, 188, 0.1);
}

/* Pricing cards */
.pricing-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Stats animation */
.stat-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(253, 250, 250, 0.06) !important;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(to right, #E37C7C, #E37C7C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
    background: #E37C7C;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E37C7C;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-wrapper {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: none;
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
textarea {
    transition: all 0.2s ease;
}

/* Hero section background effect */
#home {
    background-image: url('../img/header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0.85) 0%, rgba(11, 11, 11, 0.9) 100%);
    pointer-events: none;
}

#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245, 189, 188, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Section spacing */
section {
    position: relative;
}

/* Mobile menu transition */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Card hover effects */
.bg-gray-900:hover {
    background-color: rgba(45, 55, 72, 0.8);
}

/* Link hover effects */
.nav-link {
    position: relative;
}

/* Gradient background utilities */
.gradient-bg-pink {
    background: linear-gradient(135deg, #E37C7C 0%, #E37C7C 100%);
}

/* Text shadow for better readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Image placeholder styles */
.placeholder-gradient {
    background: linear-gradient(135deg, #E37C7C 0%, #E37C7C 100%);
    position: relative;
    overflow: hidden;
}

.placeholder-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Contact form styles */
.contact-input {
    background-color: rgba(253, 250, 250, 0.03) !important;
}

.contact-input:focus {
    background-color: rgba(253, 250, 250, 0.05) !important;
    border-color: #E37C7C !important;
}

.contact-input::placeholder {
    color: rgba(253, 250, 250, 0.5);
}

/* Select dropdown styling */
select.contact-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fdfafa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.contact-input option {
    background-color: #0b0b0b;
    color: #fdfafa;
}

/* File input styling */
input[type="file"].contact-input {
    padding: 0.5rem;
}

input[type="file"].contact-input::-webkit-file-upload-button {
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: #E37C7C;
    color: #0b0b0b;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="file"].contact-input::-webkit-file-upload-button:hover {
    background-color: #d16a6a;
}

input[type="file"].contact-input::file-selector-button {
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: #E37C7C;
    color: #0b0b0b;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="file"].contact-input::file-selector-button:hover {
    background-color: #d16a6a;
}

/* Form feedback messages */
.feedback-message {
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
    word-wrap: break-word;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form button loading state */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    nav,
    footer,
    .btn-primary,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

