/* Atlantic Gateway Bank - Custom Styles */

/* Variables */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --body-bg: #f8f9fa;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 0.5rem;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: var(--body-bg);
    line-height: 1.6;
}

.container {
    padding: 1.5rem 15px;
}

/* Navbar Styling */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    margin-bottom: 40px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    z-index: 0;
}

.hero-section h1 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.hero-section .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.hero-section img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.5s ease;
}

.hero-section img:hover {
    transform: scale(1.02);
    box-shadow: var(--hover-shadow);
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-section h2 {
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.features-section h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.features-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    height: 100%;
}

.features-section .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.features-section .card-body {
    padding: 2rem;
}

.features-section .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.features-section .card-text {
    color: var(--secondary-color);
}

.features-section i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #f9fbfd;
}

.about-section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
}

.about-section h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.about-section p {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.about-section img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* Dashboard Styles */
.account-card {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.account-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--hover-shadow);
}

.account-card .card-title {
    font-weight: 600;
    color: var(--dark-color);
}

.account-card .card-subtitle {
    font-size: 0.9rem;
}

.account-card .h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Admin Dashboard */
.admin-card {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 25px;
    border: none;
    overflow: hidden;
}

.admin-card .card-header {
    background-color: var(--light-color);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.admin-card .card-body {
    padding: 1.5rem;
}

/* Login Form */
.login-card {
    box-shadow: var(--hover-shadow);
    border-radius: var(--border-radius);
    border: none;
    overflow: hidden;
}

.login-card .card-body {
    padding: 2.5rem;
}

.login-card h2 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.login-card .form-label {
    font-weight: 500;
    color: var(--secondary-color);
}

.login-card .form-control {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
}

.login-card .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.login-card .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* Table Styles */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: var(--light-color);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: var(--dark-color);
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Transaction Status Badges */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
    border-radius: 30px;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-warning {
    background-color: var(--warning-color) !important;
    color: #212529 !important;
}

.badge.bg-danger {
    background-color: var(--danger-color) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-info {
    background-color: var(--info-color) !important;
}

/* Modal Styling */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--hover-shadow);
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: var(--light-color);
}

.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Footer */
footer {
    background-color: var(--light-color);
    border-top: 1px solid #e9ecef;
    padding: 40px 0;
    margin-top: 80px;
}

footer a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 40px;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .about-section img {
        margin-bottom: 30px;
    }
}

/* Print Styles for Reports */
@media print {
    .navbar, .footer, .btn, form {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .card {
        border: none !important;
        box-shadow: none !important;
    }
    
    .card-header {
        background-color: #f8f9fa !important;
        color: #000 !important;
        border-bottom: 2px solid #000 !important;
    }
    
    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }
    
    th, td {
        border: 1px solid #ddd !important;
        padding: 8px !important;
    }
}