/* ===================================
   bobari.online - Custom CSS Styles
   Luxury Modern Design System
   =================================== */

/* ===== CSS Variables ===== */
:root {
    --primary-purple: #a855f7;
    --primary-pink: #ec4899;
    --dark-bg: #020617;
    --dark-card: #0f172a;
    --dark-border: #1e293b;
    --light-text: #f1f5f9;
    --muted-text: #94a3b8;
    --gradient-1: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #fb7185 100%);
    --gradient-3: linear-gradient(135deg, #fb7185 0%, #fb923c 100%);
    --gradient-4: linear-gradient(135deg, #fb923c 0%, #a855f7 100%);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== Navigation ===== */
.glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-purple);
}

.brand-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
    color: var(--muted-text);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-purple);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-smooth);
}

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

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

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.gradient-blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-purple);
    top: 20%;
    left: -10%;
}

.gradient-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-pink);
    bottom: 20%;
    right: -10%;
    animation-delay: -5s;
}

.gradient-blob-3 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

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

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50px;
    color: #c084fc;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--muted-text);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn-gradient {
    background: var(--gradient-1);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.5);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--dark-border);
    color: var(--light-text);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.05);
    color: var(--light-text);
    transform: translateY(-3px);
}

.icon-sm {
    width: 18px;
    height: 18px;
}

/* ===== Stats Grid ===== */
.stats-grid {
    padding-top: 3rem;
}

.stat-card {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1.5rem;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-text);
}

/* ===== Section Styles ===== */
.section-padding {
    padding: 120px 0;
}

.bg-dark-alt {
    background: rgba(15, 23, 42, 0.3);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-text);
    line-height: 1.7;
}

/* ===== Service Cards ===== */
.service-card {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.service-card[data-gradient="purple-pink"]::before {
    background: var(--gradient-1);
}

.service-card[data-gradient="pink-rose"]::before {
    background: var(--gradient-2);
}

.service-card[data-gradient="rose-orange"]::before {
    background: var(--gradient-3);
}

.service-card[data-gradient="orange-purple"]::before {
    background: var(--gradient-4);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(168, 85, 247, 0.3);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.gradient-bg-purple-pink {
    background: var(--gradient-1);
}

.gradient-bg-pink-rose {
    background: var(--gradient-2);
}

.gradient-bg-rose-orange {
    background: var(--gradient-3);
}

.gradient-bg-orange-purple {
    background: var(--gradient-4);
}

.service-icon i {
    width: 32px;
    height: 32px;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-title {
    color: var(--primary-purple);
}

.service-description {
    color: var(--muted-text);
    line-height: 1.7;
    margin: 0;
}

/* ===== Portfolio Cards ===== */
.portfolio-card {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 2rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(168, 85, 247, 0.2), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50px;
    color: #c084fc;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-title {
    color: var(--primary-purple);
}

.portfolio-description {
    color: var(--muted-text);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== Case Study ===== */
.case-study-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50px;
    color: #c084fc;
    font-size: 0.875rem;
    font-weight: 500;
}

.case-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-check {
    width: 24px;
    height: 24px;
    color: var(--primary-purple);
    flex-shrink: 0;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-right: 0.75rem;
}

.metric-label {
    color: var(--muted-text);
}

.case-study-image {
    position: relative;
}

.case-study-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 2rem;
    filter: blur(60px);
    z-index: -1;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 3rem;
    border-left: 2px solid rgba(168, 85, 247, 0.2);
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--gradient-1);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--dark-bg);
}

.timeline-content {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.timeline-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    line-height: 1;
}

.timeline-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 1rem 0;
}

.timeline-description {
    color: var(--muted-text);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50px;
    color: #c084fc;
    font-size: 0.875rem;
}

/* ===== Testimonials ===== */
.testimonial-card {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 2rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: rgba(168, 85, 247, 0.3);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.3);
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--muted-text);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.rating-star {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-1);
}

/* ===== Contact Section ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 0.75rem;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--muted-text);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
}

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

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-3px) scale(1.1);
}

.social-link i {
    width: 20px;
    height: 20px;
    color: var(--light-text);
}

/* ===== Contact Form ===== */
.contact-form {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 2rem;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 2rem;
    filter: blur(60px);
    z-index: -1;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.custom-input {
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid var(--dark-border);
    color: var(--light-text);
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    transition: var(--transition-smooth);
}

.custom-input:focus {
    background: rgba(2, 6, 23, 0.7);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
    color: var(--light-text);
    outline: none;
}

.custom-input::placeholder {
    color: var(--muted-text);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--muted-text);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--muted-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-purple);
    padding-left: 0.5rem;
}

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

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-3px);
}

.footer-social-link i {
    width: 18px;
    height: 18px;
    color: var(--light-text);
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--muted-text);
    font-size: 0.875rem;
}

.footer-link {
    color: var(--muted-text);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--primary-purple);
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.95);
        padding: 1.5rem;
        border-radius: 1rem;
        margin-top: 1rem;
        border: 1px solid rgba(148, 163, 184, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .case-metrics {
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ===== Utility Classes ===== */
.rounded-4 {
    border-radius: 1.5rem !important;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
}
