/* Modern Home Page Styles for Gor Banjara */

:root {
    --primary-color: #dc4545;
    --primary-hover: #c0392b;
    --secondary-color: #ff9d3d;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    background-color: #f4f4f4;
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
}

/* Hero Section */
.modern-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 20px;
    border-radius: 8px;
  
    text-align: center;
}

.modern-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.modern-hero p {
    font-size: 1.7rem;
    
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Steps Section */
.steps-container {

}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    margin-bottom: 20px;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.step-card img.digit {
    width: 60px;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.step-card a:hover {
    text-decoration: underline;
}

/* Search Box Enhancements */
.search-panel-modern {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: var(--shadow) !important;
    overflow: hidden;
}

.search-panel-modern .panel-heading {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 15px;
}

.search-panel-modern .panel-body {
    padding: 25px;
}

.search-panel-modern .form-control {
    border-radius: 5px;
    height: 40px;
}

.search-panel-modern .btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    padding: 10px 25px;
    font-weight: 600;
    width: 100%;
}

/* Content Section */
.main-content-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.whatsapp-links {
    list-style: none;
    padding: 0;
}

.whatsapp-links li {
    margin-bottom: 15px;
    padding: 10px;
    background: #e9f7ef;
    border-left: 4px solid #27ae60;
    border-radius: 4px;
}

.whatsapp-links a {
    color: #27ae60;
    font-weight: 600;
}

/* Navbar Enhancements */
.navbar-brand-modern {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px 20px;
    color: #f5b26e !important;
    text-transform: uppercase;
    display: inline-block;
}

.navbar-brand-modern span {
    color: var(--white);
}

.navbar-default {
    background-color: transparent !important;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    color: #000000 !important;
}

.navbar-default .navbar-nav > li > a {
    font-weight: 600;
    padding: 20px 15px;
    transition: var(--transition);
}



/* Login Form & Right Nav Enhancements */
#loginForm {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-right: 0;
}

#loginForm .form-control {
    height: 32px;
    padding: 5px 10px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
}

#loginForm .btn-default {
    height: 32px;
    padding: 0 15px;
    font-weight: 600;
    color: var(--primary-color);
    border: none;
    transition: var(--transition);
}

#loginForm .btn-default:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.navbar-right {
    margin-right: 0 !important;
    display: flex;
    align-items: center;
    height: 60px; /* Match navbar height */
}

.navbar-right .nav {
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar-right .nav > li {
    display: flex;
    align-items: center;
}

.navbar-right .nav > li > a {
    color: var(--white) !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 0 10px !important;
    height: 60px; /* Match navbar height for perfect centering */
}

.loginButton, .registerButton {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 34px !important; /* Fixed height for both buttons */
    padding: 0 15px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: var(--transition);
    border: none !important;
    color: var(--white) !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.loginButton {
    background-color: #27ae60 !important;
    margin-right: 5px;
}

.loginButton:hover {
    background-color: #219150 !important;
}

.registerButton {
    background-color: var(--secondary-color) !important;
    margin-left: 5px !important;
    font-weight: 700 !important;
}

.registerButton:hover {
    background-color: #e67e22 !important;
}

/* User Listing Modern Styles */
.user-grid {
    display: grid;
    gap: 15px;
    padding: 20px 0;
    grid-auto-flow: column;
}

.user-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.user-card-img {
    width: 100%;
    height: 160px; /* Reduced height */
    object-fit: contain; /* Show full image without cropping */
    background: #f8f8f8;
    display: block;
    padding: 5px;
}

.user-card-no-img {
    width: 100%;
    height: 160px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 4rem; /* Larger icon */
}

.user-card-body {
    padding: 10px;
    flex-grow: 1;
}

.user-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gothras Page */
.user-card-meta {
    font-size: 1.5rem !important; /* Increased from 1.3rem */
    color: #1e1d1d !important;
    margin-bottom: 6px !important;
}

.user-card-footer {
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fafafa;
    font-size: 1.2rem; /* Increased from 1.1rem */
    text-align: center;
}

.user-card-footer a {
    font-weight: 600;
}

.search-horizontal {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.search-horizontal label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Form & Panel Modern Styles */
.form-container {
    max-width: 500px;
    margin: 40px auto;
}

.panel-modern {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: none;
    overflow: hidden;
}

.panel-modern .panel-heading {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 20px;
    text-align: center;
    border: none;
}

.panel-modern .panel-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.panel-modern .panel-body {
    padding: 30px;
}

.form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-control-modern {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: none;
    transition: var(--transition);
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 69, 69, 0.1);
}

.btn-modern {
    height: 45px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary-modern {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary-modern:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 10px;
}

/* Responsive Video */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
    margin-top: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modern-hero h1 {
        font-size: 2rem;
    }
    
    .modern-hero p {
        font-size: 1rem;
    }
    
    .col-md-4, .col-md-8 {
        margin-bottom: 20px;
    }
}

/* Modern Redesign Styles for Gorbanjara */

:root {
    --primary-color: #e54646;
    --primary-hover: #a9213a;
    --secondary-color: #035383;
    --background-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    background-color: var(--background-color) !important;
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
    color: var(--text-main);
    font-size: 16px !important; 
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased;
}

/* Heading Sizes */
h1, .h1 { font-size: 2.25rem !important; font-weight: 700 !important; }
h2, .h2 { font-size: 1.875rem !important; font-weight: 700 !important; }
h3, .h3 { font-size: 1.5rem !important; font-weight: 600 !important; }
h4, .h4 { font-size: 1.25rem !important; font-weight: 600 !important; }

/* Sidebar */
.sidebar {
    background-color: #ffffff !important; /* White sidebar background */
    box-shadow: var(--shadow);
    border-right: 1px solid #d97706 !important;
    font-size: 16px !important;
}

.sidebar header {
    background-color: #d97706 !important;
    padding: 20px !important;
    border-bottom: 2px solid #b45309 !important;
}

.sidebar .list-group-item {
    background: #ad0228 !important; /* Keep brick red buttons */
    margin: 4px 12px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    border: none !important;
}

.sidebar .list-group-item a {
    color: #ffffff !important; /* Force white text */
    font-weight: 500;
    padding: 14px 18px !important;
    display: flex;
    align-items: center;
    text-decoration: none !important; /* Ensure no blue link styling */
    transition: all 0.2s;
}

.sidebar .list-group-item a i {
    margin-right: 12px; /* Space between icon and text */
    width: 20px;
    text-align: center;
}

.sidebar .list-group-item a:hover, 
.sidebar .list-group-item.active a {
    color: #ffffff !important;
    background: #be123c !important; /* Darker brick red for hover */
    border-radius: 8px !important;
}

/* Specific fix for Logout item */
.sidebar .list-group-item:last-child {
    margin-top: 4px !important; 
    background: #ad0228 !important;
    border: none !important;
}

.sidebar .list-group-item:last-child a {
    color: #fca5a5 !important; /* Soft red for logout text */
}

/* Card/Panel */
.panel-primary > .panel-heading {
    padding: 18px 24px !important;
}

.panel-title {
    font-size: 1.35rem !important; /* Increased further */
    font-weight: 700 !important;
}

.panel-body {
    padding: 24px !important;
}

/* Data Display */
.form-group label:not(.label) {
    font-size: 16px !important;
    color: var(--text-main) !important;
    font-weight: 500 !important;
}

.label {
    font-weight: 700 !important; /* Bolder */
    color: var(--text-muted) !important;
    text-transform: uppercase;
    font-size: 0.9rem !important; /* Increased to ~14.4px */
    margin-bottom: 8px !important;
    letter-spacing: 0.05em;
}

/* Tables */
.table th {
    font-size: 0.95rem !important; /* Increased to ~15.2px */
    padding: 16px 14px !important;
}

.table td {
    padding: 16px 14px !important;
    font-size: 16px !important; /* Increased to 16px */
}

/* Buttons & Inputs */
.btn {
    font-size: 14px !important;
    padding: 8px 16px !important;
}

.btn-sm {
    font-size: 13px !important;
    padding: 5px 10px !important;
}

.form-control {
    font-size: 16px !important;
    padding: 12px 16px !important;
    height: auto !important; /* Ensure enough height for larger font */
}

/* Legacy small class fixes */
.small, small, .text-muted.small {
    font-size: 14px !important; /* Minimum 14px for anything "small" */
}

.badge {
    font-size: 13px !important;
    padding: 5px 10px !important;
}

p {
    margin-bottom: 1.25rem !important;
}

/* Profile specific */
.imageBorder {
    border: 4px solid #ffffff !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow) !important;
}

/* Responsive fixes */
@media (max-width: 767px) {
    .content-wrap {
        padding: 10px !important;
    }
    
    .sidebar {
        width: 240px !important;
    }
}
