/* Custom CSS for Casa Raiz */

:root {
    --primary-color: #0c4da2;
    --primary-hover: #093a7e;
    --secondary-color: #6c757d;
    --light-gray: #f8f9fa;
    --dark-blue: #032445;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --white: #ffffff;
    --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    background-image: url('../backgrounds/background.jpeg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: #333;
}

.content-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    margin-top: 30px;
    margin-bottom: 30px;
}

.navbar {
    background-color: rgba(3, 36, 69, 0.95) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--white);
}

/* Card Styles */
.casa-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
    background-color: var(--white);
    transition: var(--transition);
}

.casa-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.casa-card .card-header {
    background-color: var(--light-gray);
    border-bottom: 1px solid #eee;
    padding: 18px 22px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-weight: 600;
}

.casa-card .card-body {
    padding: 22px;
}

/* Typography */
.section-title {
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-weight: 700;
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Tables */
.table {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--light-gray);
    font-weight: 600;
    border-top: none;
    border-bottom: 2px solid #dee2e6;
    padding: 14px 10px;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* List Group */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 14px 20px;
    transition: var(--transition);
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:hover {
    background-color: rgba(240, 240, 240, 0.5);
}

/* Badges and Status Indicators */
.badge {
    padding: 6px 10px;
    font-weight: 500;
    border-radius: 6px;
}

/* Form Elements */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
}

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

.form-control {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(12, 77, 162, 0.25);
}

/* Auth Pages */
.auth-container {
    margin-top: 80px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.auth-logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 180px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

/* Info Panels */
.info-panel {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Alerts */
.alert {
    border-radius: 8px;
    font-weight: 500;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 16px;
    transition: var(--transition);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.875rem;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
    color: white;
}

/* Fix for video pages */
.video-background video {
    object-fit: cover !important;
} 