/* Modern layout styles inspired by sazyg.com */

/* Color Variables */
:root {
    --primary-color: #b9282e;
    --primary-dark: #344b6e;
    --secondary-color: #39a72d;
    --accent-color: #5470c6;
    --background-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-primary: #303133;
    --text-secondary: #606266;
    --border-color: #dcdfe6;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    --hover-color: #f5f7fa;
    --link-color: #409eff;
    --link-hover: #3a7bd5;
    --success-color: #67c23a;
    --warning-color: #e6a23c;
    --danger-color: #f56c6c;
    --info-color: #909399;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    transition: background-color 0.3s ease;
}

/* Link styles */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover);
    text-decoration: none;
}

/* Header styles */
.header {
    background: var(--surface-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 3px;
}

.navbar {
    min-height: 120px;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    background-color: var(--surface-color);
}

.navbar-full-width {
    padding-left: 20px;
    padding-right: 20px;
}

.navbar-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.navbar-full-width .container {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav > li > a {
    padding: 20px 15px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
    color: var(--primary-color);
    background-color: transparent;
}

.navbar-nav > li.active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--primary-color);
}

.navbar-toggle {
    margin-top: 13px;
    border: none;
}

.navbar-toggle:hover {
    background-color: transparent;
    border: none;
}

.navbar-toggle .icon-bar {
    background-color: var(--text-primary);
}

/* Main content */
.main-content {
    min-height: calc(100vh);
}

/* Footer styles */
.footer {
    background: linear-gradient(to right, #a41b1c, #9E1F36);
    color: #d3dce6;
    padding: 40px 0 20px;
}

.footer a {
    color: #d3dce6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.footer-links li {
    display: inline-block;
}

.copyright {
    flex: 1;
    text-align: center;
    color: #a3a6ad;
    font-size: 14px;
}

.el-input__inner{
    padding-left: 30px;
    padding-right: 80px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .copyright {
        order: 1;
    }
    
    .footer-logo {
        order: 2;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-nav {
        margin: 0;
    }
    
    .navbar-nav > li > a {
        padding: 10px 15px;
    }
    
    .navbar-full-width {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Modern button styles */
.btn {
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;

}

.btn-primary {
    color: #b9282e;
}


/* Card-like containers */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Form styles */
.form-control {
    display: block;
    width: 100%;
    height: 36px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: var(--text-secondary);
    background-color: var(--surface-color);
    background-image: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.form-control:focus {
    outline: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

/* Navigation toggle for mobile */
.sidebar-toggle {
    cursor: pointer;
}

/* Float button styles */
.float-button-container {
    position: fixed;
    right: 20px;
    bottom: 120px;
    z-index: 999;
}

.float-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ccc;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.float-button:hover {
    color: #666;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.float-button i {
    font-size: 20px;
    line-height: 50px;
}

.float-button em {
    font-size: 10px;
    line-height: 12px;
    font-style: normal;
}

/* Search form */
.form-search {
    position: relative;
}

.form-search .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--info-color);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--hover-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Carousel controls centered with thinner arrows */
.carousel-control {
    width: 60px;
    height: 60px;
    top: 50%;
    margin-top: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-control.left {
    left: -50px;
    background: none;
}

.carousel-control.right {
    right: -50px;
    background: none;
}

.carousel-control .fa-chevron-left,
.carousel-control .fa-chevron-right {
    font-size: 40px;
    font-weight: normal;
    border: none;
    width: auto;
    height: auto;
    color: #333;
    line-height: 1;
}

.carousel-control .icon-prev,
.carousel-control .icon-next {
    position: static !important;
    top: auto !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    font-size: 40px;
    color: #333;
    font-weight: normal;
    text-shadow: none;
    line-height: 1 !important;
    margin: 0 !important;
    vertical-align: middle;
}

