Files
shahrzadzandi09/public/assets/css/custom.css
T

179 lines
4.4 KiB
CSS

/* =========================================================
تایپوگرافی و تنظیمات پایه (یکپارچه)
========================================================= */
body, html {
font-family: 'Tahoma', 'Arial', sans-serif !important;
/*font-size: 13px !important; !* متن اصلی خواناتر *!*/
line-height: 1.8 !important;
color: #374151 !important;
/*background: #f5f7fa;*/
}
h1, h2, h3, h4, h5 {
font-family: 'Tahoma', sans-serif !important;
color: #1f2937 !important;
}
/* اصلاح فرم‌ها */
.form-control, input, select, textarea {
font-size: 12px !important;
padding: 10px 14px !important;
}
/* =========================================================
استایل‌های کارت‌ها (مشترک بین همه صفحات)
========================================================= */
.travel-card, .flight-card, .tour-card, .tour-details-card {
background: #fff;
border-radius: 16px;
border: 1px solid #eef0f5;
transition: all .3s ease;
}
.travel-card:hover, .flight-card:hover, .tour-details-card:hover {
box-shadow: 0 10px 25px rgba(20, 50, 90, .10);
}
/* دکمه‌های اصلی */
.travel-btn {
display: inline-block;
background: #1687d9;
color: #fff !important;
font-size: 12px;
font-weight: 400;
padding: 10px 20px;
border-radius: 8px;
text-decoration: none;
}
.travel-btn:hover { background: #0e6bb0; }
/* دکمه علاقه‌مندی */
.travel-favorite-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: transparent;
border: 1px solid #e0245e;
color: #e0245e;
border-radius: 25px;
padding: 8px 20px;
font-size: 12px;
cursor: pointer;
transition: all .2s ease;
}
.travel-favorite-btn:hover, .travel-favorite-btn.active {
background: #e0245e;
color: #fff;
}
/* =========================================================
بخش اختصاصی جزئیات تور (tour-details-page)
========================================================= */
.tour-details-page { padding: 30px 0; }
.tour-details-card { padding: 30px; margin-bottom: 30px; }
.tour-details-image {
width: 100%;
height: 350px;
overflow: hidden;
border-radius: 12px;
margin-bottom: 20px;
}
.tour-details-image img { width: 100%; height: 100%; object-fit: cover; }
.tour-details-info {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 15px;
margin: 25px 0;
}
.tour-info-box {
background: #f8fafc;
padding: 15px;
border-radius: 10px;
text-align: center;
border: 1px solid #eef0f5;
}
.tour-info-label {
display: block;
font-size: 12px;
color: #8a93a3;
margin-bottom: 5px;
}
.tour-info-box strong {
font-size: 13px;
color: #1f2937;
display: block;
}
.tour-flights .flight-item {
background: #f8fafc;
padding: 15px;
border-radius: 10px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
}
/* =========================================================
عنوان بخش‌ها (Global Header Style)
========================================================= */
h2 {
font-size: 15px !important;
font-weight: 500 !important;
padding-right: 15px;
position: relative;
margin-bottom: 20px !important;
}
h2::before {
content: "";
position: absolute;
right: 0;
top: 2px;
width: 5px;
height: 24px;
/*background: #1687d9;*/
border-radius: 4px;
}
/* =========================================================
حفظ رنگ سفید در هیرو (travel-hero)
این قانون باید بعد از قانون سراسری h1 قرار بگیرد
========================================================= */
.travel-hero-content h1,
.travel-hero-content h1 span {
color: #ffffff !important;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
/* متن‌های دیگر هیرو هم سفید و خوانا */
.travel-hero-label,
.travel-hero-content p {
color: #ffffff !important;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.travel-card {
display: flex;
flex-direction: column;
border-radius: 8px;
overflow: hidden;
background: #fff;
transition: transform 0.3s ease;
}
.travel-card-image img {
width: 100%;
height: 200px;
object-fit: cover;
}
.travel-card-body {
padding: 15px;
flex-grow: 1;
}