/* Custom CSS for Bootstrap Version */

:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --accent-color: #00d4ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --card-bg: rgba(0, 123, 255, 0.1);
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: rgba(0, 123, 255, 0.3);
    --shadow: 0 8px 32px rgba(0, 123, 255, 0.2);
    --glass-bg: rgba(0, 123, 255, 0.05);
    --gradient-bg: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #001122 50%, #002244 75%, #003366 100%);
    --blue-gradient: linear-gradient(45deg, #007bff, #0056b3);
    --blue-glow: 0 0 20px rgba(0, 123, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-item span {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-item small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Relationship Counter Special Styling */
.relationship-counter {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(255, 107, 107, 0.1)) !important;
    border: 1px solid rgba(220, 53, 69, 0.4) !important;
    animation: heartbeat 2s ease-in-out infinite;
}

.relationship-counter:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.3), rgba(255, 107, 107, 0.2)) !important;
    border-color: rgba(220, 53, 69, 0.6) !important;
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.3) !important;
}

.relationship-counter i {
    color: #dc3545 !important;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.relationship-counter span {
    color: #dc3545 !important;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

/* Floating Hearts */
.floating-hearts {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-hearts i {
    position: absolute;
    color: var(--primary-color);
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.heart-1 { animation-delay: 0s; }
.heart-2 { animation-delay: 0.6s; }
.heart-3 { animation-delay: 1.2s; }
.heart-4 { animation-delay: 1.8s; }
.heart-5 { animation-delay: 2.4s; }

/* Music Player Card */
.music-player-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    animation: fadeInUp 1s ease 0.6s both;
}

.player-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.player-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.song-info h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.song-info p {
    color: var(--text-muted);
    margin: 0;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 3rem;
}

.filter-btn {
    margin: 0 0.5rem;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--blue-glow);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--blue-glow);
}

/* Song Cards */
.song-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.song-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.song-card:hover::before {
    transform: scaleX(1);
}

.song-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.song-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 123, 255, 0.2);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.song-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.song-info h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.song-info p {
    color: var(--text-muted);
    margin: 0;
}

.song-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--blue-glow);
}

.action-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--blue-glow);
}

.song-note {
    background: rgba(0, 123, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-light);
    border-left: 3px solid var(--primary-color);
}

.song-added-by {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Photos Section */
.photos-section {
    background: var(--glass-bg);
    border-radius: 20px;
    margin: 2rem 0;
}

.photo-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 0;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.photo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.photo-card:hover::before {
    transform: scaleX(1);
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.photo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: all 0.3s ease;
}

.photo-card:hover .photo-image {
    transform: scale(1.02);
}

.photo-clickable {
    cursor: pointer;
}

.photo-content {
    padding: 1.5rem;
}


.photo-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.photo-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.photo-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.photo-added-by {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.photo-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 10;
}

.photo-card:hover .photo-actions {
    opacity: 1;
}

.photo-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 16px;
    cursor: pointer;
    z-index: 11;
    pointer-events: auto;
}

.photo-action-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.photo-action-btn:first-child {
    background: rgba(0, 123, 255, 0.9);
}

.photo-action-btn:first-child:hover {
    background: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Photo Preview */
.photo-preview-container {
    text-align: center;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* Photo Details Modal */
.photo-details-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.photo-details-content {
    padding: 1rem 0;
}

.photo-details-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.photo-details-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.photo-details-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.photo-meta-item {
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.photo-meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.photo-meta-value {
    font-weight: 500;
    color: var(--text-light);
}

/* Photo Grid Layout */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Photo Loading Animation */
.photo-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.photo-loading i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

/* Empty Photos State */
.photos-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.photos-empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.photos-empty-state h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Messages Section */
.messages-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.message {
    background: rgba(0, 123, 255, 0.05);
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-color);
    animation: slideInRight 0.5s ease;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.message-author {
    font-weight: 600;
    color: var(--primary-color);
}

.message-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.message-text {
    color: var(--text-light);
    margin: 0;
}

.add-message-form .input-group {
    background: var(--glass-bg);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.add-message-form .form-control,
.add-message-form .form-select {
    background: transparent;
    border: none;
    color: var(--text-light);
}

.add-message-form .form-control::placeholder {
    color: var(--text-muted);
}

.add-message-form .form-control:focus,
.add-message-form .form-select:focus {
    box-shadow: none;
    background: transparent;
}

/* Memories Section */
.memory-timeline {
    position: relative;
    padding-left: 2rem;
}

.memory-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--blue-gradient);
}

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

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--darker-bg);
    box-shadow: var(--blue-glow);
}

.timeline-content {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.timeline-content h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.love-counter {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.counter-item {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.counter-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--primary-color);
}

.counter-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.counter-item p {
    color: var(--text-muted);
    margin: 0;
}

/* Modal Styling */
.modal-content {
    background: var(--gradient-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

.form-control,
.form-select {
    background: rgba(0, 123, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.form-control:focus,
.form-select:focus {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats .stat-item {
        width: 100%;
    }
    
    .love-counter {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        margin: 0;
        flex: 1;
        min-width: 120px;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.empty-state h3 {
    margin-bottom: 1rem;
}

/* Toast Notifications */
.toast {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.toast-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.toast-body {
    color: var(--text-light);
} 