/* Pattern Swap Spot - Custom Styles */

/* Color Variables */
:root {
    --primary-blue: #5dade2;
    --light-blue: #aed6f1;
    --dark-blue: #3498db;
    --accent-brown: #8b6f47;
    --text-dark: #2c3e50;
    --bg-light: #f8f9fa;
    --light-pink: #ff85b3;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: white;
}

/* Navigation - using Style Script for logo */
.navbar-brand {
    font-family: 'Style Script', cursive;
    font-weight: 400;
    font-size: 2.5rem;
    color: var(--primary-blue) !important;
}

.navbar {
    background-color: white !important;
    position: relative;
    padding-bottom: 16px;
}

/* Inset dashed "stitching" line */
.navbar::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    border-bottom: 3px dashed var(--primary-blue);
}

/* Outer edge shadow */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    box-shadow: 0 3px 0 0 rgba(0,0,0,0.15), 0 4px 6px rgba(0,0,0,0.05);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    padding: 1rem 0 3rem 0;
    background-color: white;
}

.hero-section h1 {
    font-family: 'Sacramento', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.hero-section .lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
button[type="submit"].btn-primary,
input[type="submit"].btn-primary {
    background-color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
    position: relative;
}

.btn-primary::before,
button[type="submit"].btn-primary::before,
input[type="submit"].btn-primary::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed white;
    border-radius: 3px;
    pointer-events: none;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-primary {
    border: 3px solid var(--primary-blue);
    color: var(--primary-blue);
    background-color: white;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
    position: relative;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed var(--primary-blue);
    border-radius: 3px;
    pointer-events: none;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* All other button variants with dashed styling */
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark {
    border-width: 3px;
    border-style: solid;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 500;
    position: relative;
}

/* Small button adjustments */
.btn-sm {
    padding: 8px 20px !important;
}

.btn-lg {
    padding: 16px 40px !important;
}

/* Inner dashed border for all buttons */
.btn-secondary::before,
.btn-success::before,
.btn-danger::before,
.btn-warning::before,
.btn-info::before,
.btn-light::before,
.btn-dark::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed white;
    border-radius: 3px;
    pointer-events: none;
}

.btn-outline-secondary::before,
.btn-outline-success::before,
.btn-outline-danger::before,
.btn-outline-warning::before,
.btn-outline-info::before,
.btn-outline-dark::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed currentColor;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0.5;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed #6c757d;
    border-radius: 3px;
    pointer-events: none;
}

/* Cards */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card-img-top {
    object-fit: cover;
    height: 250px;
}

/* Badge Styles */
.badge {
    border-radius: 6px;
    padding: 6px 12px;
    font-weight: 500;
}

.bg-secondary {
    background-color: #95a5a6 !important;
}

.bg-info {
    background-color: var(--light-blue) !important;
    color: var(--text-dark) !important;
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.stats-section .display-4 {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #b8d8f0;
    color: #2c3e50;
    margin-top: 4rem;
    padding: 3rem 0 2rem 0;
    position: relative;
}

/* Inset dashed "stitching" line for footer */
footer::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 20px;
    right: 20px;
    border-top: 3px dashed white;
}

footer a {
    color: rgba(44, 62, 80, 0.7);
    text-decoration: none;
}

footer a:hover {
    color: #2c3e50;
}

footer h5 {
    color: white;
    font-weight: 600;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
}

/* Star icons - pale yellow */
.bi-star-fill {
    color: #f9e79f !important; /* Pale yellow instead of saturated orange */
}

.bi-star {
    color: #d4d4d4 !important; /* Light gray for unfilled star */
}

/* Messaging system - use site's light blue */
.list-group-item.active {
    background-color: var(--light-blue) !important;
    border-color: var(--light-blue) !important;
    color: var(--text-dark) !important;
}

/* Message count badge - light blue background */
.message-count-badge {
    background-color: var(--light-blue) !important;
    color: var(--text-dark) !important;
    font-size: 0.75rem;
    padding: 0.25em 0.5em;
    border-radius: 10px;
    margin-left: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 2rem;
    }
}
