/* Material Design Black & White Theme */

/* Typography */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #212121;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    color: #000000;
}

/* Material Cards */
.material-card {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12);
    transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.material-card:hover {
    box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
}

.material-card .card-content {
    padding: 16px;
    flex-grow: 1;
}

.material-card .card-actions {
    padding: 8px;
    border-top: 1px solid #e0e0e0;
}

/* Material Buttons */
.btn-material {
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    border-radius: 4px;
    transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-material-primary {
    background-color: #000000;
    color: #ffffff !important;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

.btn-material-primary:hover {
    background-color: #333333;
    color: #ffffff;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
}

.btn-material-outline {
    background-color: transparent;
    color: #000000 !important;
    border: 1px solid #000000;
}

.btn-material-outline:hover {
    background-color: rgba(0,0,0,0.04);
}

/* Navbar */
.header_area.shadow {
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 500;
    text-transform: capitalize;
    font-size: 15px;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #666666 !important;
}

.footer_box {
    display: block;
    background-color: #212121;
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 60px;
}

.footer_box a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer_box a:hover {
    color: #cccccc;
}

.footer_box h6 {
    color: #ffffff;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    font-size: 18px;
}

.footer-text {
    color: #cccccc;
    line-height: 1.8;
}

.social-media-icon {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer_box .social-media-icon i {
    color: #212121;
    background-color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer_box .social-media-icon a:hover i {
    background-color: #cccccc;
    transform: translateY(-2px);
}

/* Form Controls */
.form-control {
    border-radius: 4px;
    border: 1px solid #bdbdbd;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #000000;
    box-shadow: inset 0 0 0 1px #000000;
    outline: none;
}

/* General Layout Adjustments */
.section-title {
    text-align: center;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #000000;
}

/* Contest Item Image Container */
.item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #eeeeee;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contest Card Specific */
.contest-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 500;
}

.contest-date {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 16px;
}
