:root {
    --primary-color: #4a90e2;
    --secondary-color: #f7f5f1;
    --accent-color: #5ba0f5;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --text-gold: #d4a574;
    --border-color: #e8e4df;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --white: #ffffff;
    --cream: #f7f5f1;
    --light-cream: #faf9f6;
    --blue-primary: #4a90e2;
    --blue-secondary: #5ba0f5;
    --gold-accent: #d4a574;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 14px;
}

/* Navigation - Hide default navigation for new hero */
.navbar {
    display: none;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* New Hero Section */
.hero-section-new {
    background-color: var(--cream);
    color: var(--text-dark);
    padding: 2rem 0 6rem 0;
    position: relative;
    min-height: 70vh;
}

.hero-nav {
    margin-top: 1rem;
}

.hero-nav-links {
    display: flex;
    gap: 2rem;
}

.hero-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.hero-nav-link:hover {
    color: var(--blue-primary);
    text-decoration: none;
}

.elegant-script {
    font-family: 'Dancing Script', cursive;
    color: var(--gold-accent);
    font-size: 2rem;
    font-weight: 600;
}

.btn-create-album {
    background-color: transparent;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-create-album:hover {
    background-color: var(--gold-accent);
    color: white;
    text-decoration: none;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--gold-accent);
    font-weight: 400;
}

.hero-features {
    margin: 2rem 0;
}

.feature-text {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
    margin: 0.2rem 0;
    font-weight: 500;
}

.btn-create-main {
    background-color: var(--gold-accent);
    color: white;
    padding: 1rem 3rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-create-main:hover {
    background-color: #c19660;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    text-decoration: none;
    color: white;
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Step Cards */
.step-card {
    position: relative;
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Feature List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Form Styling */
.form-control {
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease;
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

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

/* Photo Gallery */
.photo-img {
    transition: transform 0.3s ease;
}

.photo-img:hover {
    transform: scale(1.05);
}

/* Statistics Cards */
.card.bg-primary,
.card.bg-success,
.card.bg-info,
.card.bg-warning {
    border-radius: 15px;
    overflow: hidden;
}

/* Event Cards */
.card-img-top {
    border-radius: 15px 15px 0 0;
}

/* Admin Dashboard */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Lightbox */
.modal-content.bg-transparent {
    background: rgba(0, 0, 0, 0.9) !important;
}

#lightboxImage {
    max-height: 80vh;
    object-fit: contain;
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--primary-color);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    background-color: rgba(212, 165, 116, 0.1);
    border-color: var(--accent-color);
}

.upload-area.dragover {
    background-color: rgba(212, 165, 116, 0.2);
    border-color: var(--accent-color);
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 60vh !important;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .step-card {
        margin-top: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Animation for loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Print styles for QR codes */
@media print {
    .no-print {
        display: none !important;
    }
    
    .qr-code-print {
        text-align: center;
        page-break-inside: avoid;
    }
}

/* Notification styles */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-info {
    background-color: rgba(212, 165, 116, 0.1);
    color: var(--accent-color);
    border-left: 4px solid var(--primary-color);
}

/* Super admin specific styles */
.super-admin-header {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* File input styling */
.form-control[type="file"] {
    padding: 0.375rem 0.75rem;
}

.form-control[type="file"]:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

/* Table styling */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Custom color picker */
.form-control-color {
    width: 100%;
    height: 38px;
    border-radius: 10px;
}

/* Slideshow styles */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.bg-gradient {
    position: relative;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: inherit;
}

/* Additional Button Styling for Blue Theme */
.btn-primary {
    background-color: var(--blue-primary) !important;
    border-color: var(--blue-primary) !important;
    color: white !important;
    font-weight: 500;
    padding: 0.7rem 2rem;
    border-radius: 25px !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--blue-secondary) !important;
    border-color: var(--blue-secondary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-outline-primary {
    color: var(--blue-primary) !important;
    border-color: var(--blue-primary) !important;
    padding: 0.7rem 2rem;
    border-radius: 25px !important;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--blue-primary) !important;
    border-color: var(--blue-primary) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Mobile responsiveness for hero */
@media (max-width: 768px) {
    .hero-nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-nav {
        justify-content: center;
    }
    
    .hero-auth {
        display: none;
    }
}
