/* ========================================
   TipForDreams Brand Colors & Base Styles
   ======================================== */

:root {
    --blue-primary: #1e40af;
    --blue-dark: #1e3a8a;
    --blue-light: #3b82f6;
    --gold-accent: #f59e0b;
    --gold-hover: #d97706;
    --charcoal: #1F2937;
    --soft-gray: #F3F4F6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Navigation Styles
   ======================================== */

.navbar-custom {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-custom .navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-custom .nav-link {
    color: white !important;
    opacity: 0.9;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.navbar-custom .nav-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Profile Image in Nav */
.navbar .profile-img {
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.navbar .profile-img:hover {
    transform: scale(1.1);
}

/* ========================================
   Button Styles
   ======================================== */

.btn-coral {
    background: var(--gold-accent);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-coral:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    color: white;
}

/* Override Bootstrap primary */
.btn-primary {
    background: var(--blue-primary) !important;
    border-color: var(--blue-primary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--blue-dark) !important;
    border-color: var(--blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

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

/* ========================================
   Trust Bar
   ======================================== */

.trust-bar {
    background: linear-gradient(to bottom, #ffffff 0%, var(--soft-gray) 100%);
    border-bottom: 1px solid #e5e7eb;
}

.trust-item {
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: scale(1.05);
}

/* ========================================
   Dropdown Menu
   ======================================== */

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--soft-gray);
    color: var(--blue-primary);
    padding-left: 2rem;
}

.dropdown-item i {
    width: 20px;
    margin-right: 8px;
}

/* ========================================
   Alert Styles
   ======================================== */

.alert {
    border-radius: 12px;
    border: none;
}

.alert-success {
    background-color: #dbeafe;
    color: var(--blue-dark);
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.alert-warning {
    background-color: #fed7aa;
    color: #9a3412;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* ========================================
   Card Styles
   ======================================== */

.card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

/* ========================================
   Footer Styles
   ======================================== */

.footer-custom {
    background: linear-gradient(to bottom, #f9fafb 0%, #e5e7eb 100%);
    border-top: 3px solid var(--blue-primary);
}

.footer-custom h5,
.footer-custom h6 {
    color: var(--charcoal);
}

.footer-custom a {
    transition: all 0.3s ease;
}

.footer-custom a:hover {
    color: var(--blue-primary) !important;
    padding-left: 5px;
}

/* Social Media Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

.social-btn.facebook {
    background: var(--blue-primary);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.twitter {
    background: var(--blue-primary);
}

/* Trust Badges */
.badge-custom {
    background: white;
    color: var(--charcoal);
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
}

/* ========================================
   Main Content
   ======================================== */

main {
    min-height: calc(100vh - 400px);
}

/* ========================================
   Utility Classes
   ======================================== */

.hover-primary:hover {
    color: var(--blue-primary) !important;
    transition: color 0.3s ease;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}
