TIF_NGANJUK_E41220461/public/css/landing-page.css

252 lines
4.3 KiB
CSS

:root {
--primary-color: #0066cc;
--secondary-color: #004d99;
--accent-color: #00a8ff;
--light-color: #f8f9fa;
--dark-color: #343a40;
}
body {
font-family: 'Poppins', sans-serif;
line-height: 1.6;
color: #333;
}
.navbar {
background-color: transparent;
transition: background-color 0.3s ease;
padding: 15px 0;
}
.navbar-scrolled {
background-color: var(--primary-color) !important;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
font-size: 1.5rem;
}
.navbar-nav .nav-link {
font-weight: 500;
margin: 0 10px;
transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
color: var(--accent-color) !important;
}
.hero-section {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding-top: 100px;
padding-bottom: 50px;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.hero-subtitle {
font-size: 1.5rem;
font-weight: 400;
margin-bottom: 1.5rem;
}
.hero-description {
font-size: 1.1rem;
margin-bottom: 2rem;
}
@media (max-width: 768px) {
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background-color: var(--primary-color);
border-radius: 2px;
}
.section-subtitle {
font-size: 1.2rem;
color: #6c757d;
margin-bottom: 3rem;
}
.card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
.icon-box {
color: var(--primary-color);
}
.jurusan-card {
border: none;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.jurusan-icon {
color: var(--primary-color);
}
.jurusan-card .card-title {
color: var(--primary-color);
font-weight: 700;
}
.jurusan-card .card-subtitle {
color: var(--secondary-color);
font-weight: 600;
}
/* Facility Cards */
.facility-card {
border-radius: 10px;
overflow: hidden;
transition: all 0.3s ease;
}
.facility-card img {
transition: transform 0.5s ease;
}
.facility-card:hover img {
transform: scale(1.05);
}
/* Gallery */
.gallery-item {
position: relative;
overflow: hidden;
border-radius: 10px;
cursor: pointer;
}
.gallery-item img {
transition: transform 0.5s ease;
}
.gallery-item:hover img {
transform: scale(1.05);
}
.gallery-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 102, 204, 0.8);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
opacity: 1;
}
.gallery-text {
text-align: center;
color: white;
padding: 20px;
}
/* Footer */
.footer-section {
background-color: var(--dark-color);
}
.social-links a {
color: white;
transition: color 0.3s ease;
}
.social-links a:hover {
color: var(--accent-color);
}
/* Buttons */
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-primary:hover {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
transform: translateY(-2px);
}
.btn-outline-primary {
color: var(--primary-color);
border-color: var(--primary-color);
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-outline-primary:hover {
background-color: var(--primary-color);
border-color: var(--primary-color);
transform: translateY(-2px);
}
.btn-outline-light:hover {
color: var(--primary-color);
}
/* Responsive adjustments */
@media (max-width: 768px) {
.section-title {
font-size: 2rem;
}
.hero-buttons .btn {
display: block;
width: 100%;
margin-bottom: 10px;
}
.ppdb-form {
transform: none;
margin-top: 30px;
}
}