/* Custom Styles for ShubhVivah Matrimony */

/* Variables */
:root {
    --maroon: #800000;
    --light-maroon: #a52a2a;
    --gold: #ffd700;
    --light-gold: #fffacd;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Text Colors */
.text-maroon {
    color: var(--maroon) !important;
}

.bg-maroon {
    background-color: var(--maroon) !important;
}

.btn-maroon {
    background-color: var(--maroon);
    border-color: var(--maroon);
    color: white;
}

.btn-maroon:hover,
.btn-maroon:focus {
    background-color: var(--light-maroon);
    border-color: var(--light-maroon);
    color: white;
}

.btn-outline-maroon {
    color: var(--maroon);
    border-color: var(--maroon);
}

.btn-outline-maroon:hover {
    background-color: var(--maroon);
    color: white;
}

/* Cards */
.profile-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.highlight-card {
    border: 3px solid var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 215, 0, 0.1) 50%,
        transparent 70%
    );
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.premium-badge .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Highlight Ribbon */
.highlight-ribbon {
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--gold);
    color: #000;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* Feature Icons */
.feature-icon {
    color: var(--maroon);
    margin-bottom: 1rem;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 0.25rem rgba(128, 0, 0, 0.25);
}

/* Dashboard Cards */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
}

footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--gold);
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
}

/* Table Styles */
.table th {
    font-weight: 600;
    color: var(--maroon);
    border-top: none;
}

/* Animation for Interest Button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-heart {
    animation: pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--maroon);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-maroon);
}