/******************************* FOR THE WELCOME.BLADE.PHP PAGGE ********************************/



/* NAVBAR */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 10px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    background: rgba(255, 255, 255, 0.418);
}

.logo {
    font-weight: 600;
    letter-spacing: 1px;
}

.navbar nav a {
    margin: 0 16px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-links a {
    text-decoration: none;
    font-size: 14px;
    color: #111;
}

.register-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ccc;
}


.nav-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
}

/* HERO */
.hero {
    height: 100vh;
    background-image: url("mountain.png"); /* PUT YOUR IMAGE HERE */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.171);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1, span{
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 16px;
    color: #444;
    margin-bottom: 32px;
}

.hero-buttons button {
    margin: 0 8px;
    padding: 12px 26px;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
}

.primary-btn {
    background: #111;
    color: #fff;
    border: none;
}

.secondary-btn {
    background: #e6e6e6;
    border: none;
}

.subscribe-btn {
    padding: 6px 14px;
    border-radius: 16px;
    border: 1px solid #333;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title span {
    display: block;
}

/* first line */
.hero-title .line-one {
    margin-left: -60px;
    letter-spacing: 0.08em; /* increase this slowly */
}

/* second line – pushed inside */
.hero-title .line-two {
    margin-left: 100px; /* ← THIS is the inward movement */
    letter-spacing: 0.08em; /* increase this slowly */
}

.hero-search {
    margin: 18px 0 28px;
}

.hero-search input {
    width: 360px;
    max-width: 90%;
    padding: 12px 18px;
    border-radius: 24px;
    border: 1px solid #ccc;
    background: rgba(255,255,255,0.85);
    font-size: 14px;
    outline: none;
}

.hero-search input::placeholder {
    color: #777;
}

/******************************* END FOR THE WELCOME.BLADE.PHP PAGGE HERO AND NAV********************************/

/******************************* FOR THE WELCOME.BLADE.PHP PAGGE FEATURES ********************************/

/* FEATURED BLOGS SECTION */
/* SECTION */
.featured-blogs {
    background: #0b0b0b;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
}

/* CONTAINER */
.featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
.featured-header {
    text-align: center;
    margin-bottom: 60px;
}

.featured-header h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 12px;
}

.featured-header p {
    color: #aaa;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* GRID */
.featured-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* CARD */
.blog-card {
    background: #111;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(128, 128, 128, 0.247);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* IMAGE */
.blog-image {
    position: relative;
    height: 300px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:  0.7s ease;
}

.blog-image img:hover {
    transform: scale(1.03); /* small, subtle zoom */
    transition: transform 0.3s ease-in-out; /* smooth */
}


/* CATEGORY TAG */
.blog-image .category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    font-family: 'Inter', sans-serif;
}

/* CONTENT */
.blog-content {
    padding: 24px;
}

.blog-content h3 {
    color: #fff;
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-content p {
    color: #b5b5b5;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}


.meta {
    display: flex;
    gap: 8px;
    font-size: 13px;   /* FORCE IT */
    color: #888;
    line-height: 1.4;
}

.meta {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
}

.meta-item i {
    font-size: 13px; /* icon matches text */
    opacity: 0.8;
}


.meta span {
    font-size: inherit;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}


/* EMPTY */
.empty-state {
    color: #aaa;
    text-align: center;
    grid-column: 1 / -1;
}



/******************************* END THE WELCOME.BLADE.PHP PAGGE FEATURES ********************************/


/******************************* FOR THE WELCOME.BLADE.PHP PAGGE CATEORY ********************************/


/* Section styling */
.categories-section {
    background-color: #000;
    color: #fff;
    padding: 4rem 1rem; /* py-16 */
    /* text-align: center; */
}

/* Heading */
.categories-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .categories-section h2 {
        font-size: 2.5rem;
    }
}

/* Subtext */
.categories-section p {
    color: #a0aec0; /* gray-400 */
    margin-bottom: 3rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid layout */
#categoriesGrid {
    display: grid;
    gap: 2rem;
    /* grid-template-columns: 1fr; mobile default */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


/* @media (min-width: 768px) {
    #categoriesGrid {
        grid-template-columns: repeat(3, 1fr);
    }
} */

/* Card styling */
.category-card {
    background-color: #1a202c; /* gray-900 */
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: block;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    text-align: left;
}

.category-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

/* Icon circle */
.category-card .icon {
    width: 3rem;
    height: 3rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899); /* purple to pink */
    color: #fff;
    font-size: 1.25rem;
}

/* Card headings & texts */
.category-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.875rem;
    color: #cbd5e1; /* lighter gray */
    margin-bottom: 0.5rem;
}

.category-card p.text-xs {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* Bottom link */
.categories-section .mt-8 a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-section .mt-8 a:hover {
    text-decoration: underline;
    color: #ec4899; /* pink accent */
}






/******************************* END THE WELCOME.BLADE.PHP PAGGE CATEGORY ********************************/


/******************************* FOR THE WELCOME.BLADE.PHP PAGGE TRENDING BLOGS ********************************/







.trending-section {
    padding: 2rem;
    background-color: #111; /* dark background like your pic */
    color: #fff;
    
    font-family: 'Playfair Display', serif;
}

.trending-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trending-section p {
    color: #aaa;
    margin-bottom: 1rem;
}

.trending-section .author {
    color: #aaa;
    margin-bottom: .5rem;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trending-card {
    display: flex;
    border: 1px solid rgba(128, 128, 128, 0.247);
    border-radius: 12px;
    overflow: hidden;
    align-items: flex-start;
    padding: 0.8rem 0.5rem 0.5rem 1.1rem;
    position: relative;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.trending-card:hover {
    transform: translateY(-5px);
}

.rank-badge {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: rgba(87, 57, 3, 0.445);
    color: rgb(253, 199, 0);
    padding: 0.5rem;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    align-self: flex-start;
}

.trending-card img {
    width: 100px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
}

.hot-badge {
    position: absolute;
    top: 23px;
    right: 235px;
    background-color: #f05526;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.tag {
    
    border: 1px solid rgba(128, 128, 128, 0.247);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
}

.content h3 {
    font-size: 1rem;
    margin: 0.25rem 0;
}

.author {
    font-size: 0.8rem;
    color: #aaa;
}

.meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #ccc;
    margin-top: auto;
}




















/* ===== Carousel Container ===== */

/* SECTION */
.carousel {
    padding: 80px 0;
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
}

/* CONTAINER */
.carousel-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.carousel-header {
    text-align: center;
    margin-bottom: 60px;
}

.carousel-header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.carousel-icon {
    background: rgba(255, 193, 7, 0.2);
    padding: 10px;
    border-radius: 8px;
    color: #ffc107;
}

.carousel-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.carousel-header p {
    color: #777;
}

/* WRAPPER */
.carousel-wrapper {
    position: relative;
}

/* BOX */
.carousel-box {
    position: relative;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
}

/* SLIDE */
.carousel-slide {
    position: absolute;
    inset: 0;
    transition: 0.7s ease;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s ease;
}

/* OVERLAY */
.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.9) 0%,
        rgba(0
        ,0,0.75) 35%,
        rgba(0,0,0,0.4) 65%,
        rgba(0,0,0,0.1) 100%
    );
    
    transition: 0.7s ease;
}

/* CONTENT */
.carousel-content {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    max-width: 650px;
    color: #fff;
}

.carousel-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.carousel-content h3 {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.carousel-excerpt {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 25px;
}

.carousel-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* NAVIGATION */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    transition: 0.7s ease;
}

.carousel-nav:hover {
    background: rgba(255,255,255,0.3);
}

.carousel-nav-left {
    left: 20px;
}

.carousel-nav-right {
    right: 20px;
}

/* DOTS */
.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    transition: 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #fff;
}