/* DNA Matchmakers Custom Styles */

:root {
    --dm-primary: #1A237E;
    --dm-secondary: #C2185B;
    --dm-accent: #FFD700;
    --dm-dark: #0D1142;
    --dm-light: #F8F9FA;
}

/* Override Bootstrap primary color */
.bg-primary {
    background-color: var(--dm-primary) !important;
}

.text-primary {
    color: var(--dm-primary) !important;
}

.btn-primary {
    background-color: var(--dm-primary);
    border-color: var(--dm-primary);
}

.btn-primary:hover {
    background-color: #0D1142;
    border-color: #0D1142;
}

.border-primary {
    border-color: var(--dm-primary) !important;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/dnamatchmakers/dna-pattern.svg') repeat;
    opacity: 0.1;
    z-index: 0;
}

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

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Pricing Cards */
.card-header {
    font-weight: 600;
}

.display-4 {
    font-weight: 700 !important;
}

/* Buttons */
.btn-lg {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Social Icons */
.social-icons a {
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

/* Testimonial Cards */
.fa-star {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .hero-section {
        min-height: 70vh !important;
    }
}

/* Premium feel enhancements */
.shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

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

/* Form styling for consultation page */
.form-control:focus,
.form-select:focus {
    border-color: var(--dm-primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 35, 126, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dm-dark);
    margin-bottom: 0.5rem;
}

/* Matchmaker profile cards */
.matchmaker-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.matchmaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.matchmaker-card img {
    height: 300px;
    object-fit: cover;
}

/* Process timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--dm-primary);
}

.timeline-item {
    position: relative;
    padding: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dm-primary);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--dm-primary);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item::before {
        left: 30px;
    }
}
