:root {
    --primary: #DC143C;
    --secondary: #131313;
    --wht: #fff;
    --broke: #f1f1f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
}

body {
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    background-color: var(--secondary);
}


/* Topbar */
.topbar {
    background-image: url("assets/header3.jpg");
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sci {
    display: flex;
    gap: 15px;
}

.sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--secondary);
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sci a:hover {
    background: var(--broke);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.sci i {
    font-size: 22px;
    color: var(--wht);
    transition: all 0.3s ease;
}

.sci a:hover i {
    background: none;
    color: var(--primary);
}

/* Navbar */
.navbar {
    display: flex;
    width: 100%;
    background: var(--secondary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 60px;
    align-items: center;
    justify-content: center;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.navbar-nav .nav-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--wht);
    position: relative;
    transition: 0.3s;
}

.navbar-nav .nav-text:hover {
    color: var(--primary);
}

.navbar-nav .nav-text:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s linear;
}

.nav-text:hover::after {
    transform: scaleX(1);
}

/* headline */
.headline {
    width: 80%;
    margin: 50px auto 0;
    background: var(--primary);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.headline-wrapper {
    width: 100%;
    position: relative;
}

.headline img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: brightness(0.8);
}

.headline-caption {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: var(--wht);
    max-width: 70%;
}

.swiper-pagination-bullet {
  background-color: #DC143C !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: #DC143C !important;
  opacity: 1;
}

/* Main Section */
.editor-picks {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.editor-picks h2 {
    text-align: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
}

.pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.pick-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.pick-card:hover {
    transform: translateY(-5px);
}

.pick-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.pick-content {
    padding: 15px;
}

.pick-content h4 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--secondary);
}

.pick-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Album Section */
.content {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 30px;
    max-width: 1500px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.content-card {
    background: var(--wht);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.content-card h3 {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 15px 5px;
    color: var(--secondary);
    line-height: 1.4;
}

.content-card p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 15px 12px;
    color: #666;
}

.content-card .read-more {
    display: inline-block;
    padding: 10px 15px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease;
}

.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.content-card .read-more:hover {
    color: #d62828;
}

.sidebar {
    padding: 10px;
}

.sidebar h4 {
    margin-bottom: 15px;
    font-size: 18px;
    color: var(--primary);
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.sidebar ul {
    list-style: none;
    padding-left: 0;
}

.sidebar li {
    margin-bottom: 12px;
}

.sidebar a {
    font-size: 15px;
    line-height: 1.5;
    color: var(--wht);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.sidebar a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.sidebar img {
    max-width: 300px;
}


/*Hashira */
.content-hashira {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.content-hashira h2 {
    text-align: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
}

.content-grid-hashira {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.content-card-hashira {
    background: var(--wht);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card-hashira img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.content-card-hashira h3 {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 15px 5px;
    color: var(--secondary);
    line-height: 1.4;
}

.content-card-hashira p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 15px 12px;
    color: #666;
}

.content-card-hashira:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.site-footer {
    border-top: 4px solid var(--primary);
    background: var(--broke);
    color: var(--secondary);
    padding: 60px 20px 20px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--secondary);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.footer-logo {
    width: 160px;
    margin-bottom: 15px;
    display: block;
}

.footer-col p {
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 35px;
    text-align: center;
    font-size: 13px;
    color: var(--secondary);
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}