/* ===== IMPORT GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@400;600;700&display=swap');

/* ===== BODY & GENERAL ===== */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
}



/* Pleasant and modern gradient */
.custom-navbar {
    background: linear-gradient(
        rgba(63, 42, 30, 0.95),
        rgba(63, 42, 30, 0.95)
    );
    padding: 6px 0; /* REDUCED */
}

/* Navbar brand styling */
.custom-navbar .navbar-brand {
    font-size: 1.45rem;   /* was too big */
    letter-spacing: 0.6px;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
}


/* Nav links */
.custom-navbar .nav-link {
    color: #f2f6ff !important;
    transition: 0.3s;
}

.custom-navbar .nav-link:hover {
    color: #ffffff !important;
    text-shadow: 0px 0px 8px rgba(255,255,255,0.8);
}
.custom-navbar .nav-links .nav-link {
    font-size: 0.95rem;   /* PERFECT at 100% */
    padding: 6px 0;
}
.custom-navbar .navbar-nav {
    gap: 1.25rem; /* reduced from gap-4 */
}


/* Active link */
.custom-navbar .nav-link.active {
    color: #ffffff !important;
    border-bottom: 2px solid #fff;
}



/* Toggler icon color fix */
.navbar-dark .navbar-toggler-icon {
    filter: brightness(100%);
}



/* ===== HERO SECTION ===== */
.hero-section {
    height: 30vh;
   background: url('../images/h1.jpg') center/cover no-repeat;
   
    color: #222;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 15px;
    margin: 5px;
    margin-top: 75px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;  
}

@media (max-width: 768px) {
    .hero-section {
        height: 18vh;        /* keeps it rectangular */
        min-height: 160px;   /* prevents too small */
        margin-top: 67px;
        border-radius: 12px;
    }}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* darkness level */
    z-index: 1;
}
.hero-section > * {
    position: relative;
    z-index: 2;
}


.hero-section h1 {
    font-family: 'Playfair Display', serif;
    margin-top: -3%;
    font-size: 2.6rem;
    font-weight: 500;
    color: #e6c36a;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.35);
    letter-spacing: 1px;
}



.hero-section p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 10px;
}

.hero-section h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #7fc007;
}

@media (max-width: 768px) {

    .hero-section {
        justify-content: flex-start;   /* stop perfect vertical centering */
        padding-top: 20px;             /* move content up */
    }
    .hero-section .container {
        margin-top: -1.6rem; /* ≈ Bootstrap mt-4 */
    }

    .hero-section h1 {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
       padding-top: 1px;
        line-height: 1.2;
        
    }

    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .hero-section h5 {
        font-size: 0.8rem;
        font-weight: 500;
    }
}



/* ===== QUOTE CARDS ===== */


.quote-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    
}
.quote-divider {
    border: 1.5px solid #000;
}


.quote-text {
    margin-top: 5px;
     margin-bottom: 10px;
    line-height: 1.35;
    margin-left: 5px;
    font-size: 0.95rem;
    font-style: italic;
    color: #3a2828;
}

.quote-author {
    margin-bottom: 4px;
    font-size: 0.75rem;
    opacity: 0.9;
    color: #3a2828;
}

/* Popular Quotes Gradient */
.premium-card {
    background: linear-gradient(135deg, #f9d423, #ff4e50);
}

/* Trending Quotes Gradient */
.trending-card {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

/* Author Text */


/* ===== SECTION TITLES ===== */
.section-title {
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: #ff4e50;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ff6a00, #ee0979);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

/* ===== CATEGORY TAGS ===== */
.category-tag {
    padding: 6px 14px;              /* ⬅ reduced */
    border-radius: 999px;
    background: #f58c6fcb;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;             /* ⬅ smaller text */
    font-weight: 500;               /* ⬅ lighter */
    border: 1.5px solid #6b4f3b;       /* ⬅ thinner border */
    color: #2b1f1f;
    transition: all 0.25s ease;
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.5),
        0 1px 3px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .category-tag {
        padding: 4px 10px;
        font-size: 0.7rem;
        white-space: nowrap;  /* ⬅ prevents text breaking */
    }
}





.category-tag:hover {
    background: #f7bd2a;
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.7),
        0 5px 10px rgba(0,0,0,0.3);
}
.category-tag.active {
    background: #4a3222;
    color: #f3efe7;
    border-color: #2b1f1f;
}

/* ===== CTA SECTION ===== */
.cta {
    background-image: url('../images/have 1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    
    border-radius: 15px;
    margin: 20px 0;
    padding: 40px 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    font-family: 'Playfair Display', serif;
}


.cta h2 {
    font-size: 2.5rem;
    color: #1b0101;
}

.cta p {
    font-size: 1.3rem;
    color: #cd07ff;
}

/* CTA BUTTON */
.cta .btn {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    background: #ff4e50;
    border: none;
    color: #fff;
    transition: all 0.3s;
}

.cta .btn:hover {
    background: #ee0979;
    transform: scale(1.05);
}

/* ===== FOOTER ===== */
footer {
    background: #222;
    padding: 20px;
    text-align: center;
    color: white;
}
/* ===== QUOTE CARD BACKGROUNDS ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    color: #222;
}

.bg-gradient-popular {
    background: linear-gradient(135deg, #f9d423, #ff4e50);
    color: #fff;
}

.bg-gradient-trending {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
}

/* ===== QUOTE CARD ===== */
.quote-card {
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Playfair Display', serif;
    
}

.quote-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}



.author {
    font-size: 1.6rem;
    opacity: 0.85;
}

/* ===== BUTTON STYLING ===== */
.btn-like, .btn-share, .btn-save {
    font-weight: 200;
    border-radius: 20px;
    padding: 5px 15px;
    transition: all 0.3s;
}

.btn-like {
    border: 1px solid #ff4e50;
    color: #ff4e50;
    background: rgba(255,78,80,0.1);
}

.btn-like:hover {
    background: #ff4e50;
    color: #fff;
}

.btn-share {
    border: 1px solid #007bff;
    color: #007bff;
    background: rgba(0,123,255,0.1);
}

.btn-share:hover {
    background: #007bff;
    color: #fff;
}

.btn-save {
    border: 1px solid #28a745;
    color: #28a745;
    background: rgba(40,167,69,0.1);
}

.btn-save:hover {
    background: #28a745;
    color: #fff;
}
/* AUTH AREA FIX */
.auth-area {
  width: 100%;
}

/* Avatar */
.user-avatar {
  width: 36px;
  height: 36px;
  border: 2px solid white;
  object-fit: cover;
}

/* MOBILE FIX */
@media (max-width: 991px) {
  .auth-area {
    margin-top: 1rem;
  }

  .dropdown-menu {
    width: 100%;
    text-align: center;
    
  }

  .user-avatar {
    width: 38px;
    height: 38px;
  }
}
.like-btn {
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
  user-select: none;
  transition: color 0.2s ease, transform 0.1s ease;
}

.like-btn.liked {
  color: #e0245e; /* Instagram red */
}

.like-btn.liked:hover {
  transform: scale(1.1);
}
.save-btn {
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease, transform 0.2s ease;
}

.save-btn.saved {
  color: #f5b301; /* GOLD/YELLOW */
  transform: scale(1.1);
}

.signup-btn {
    padding: 6px 18px;
    font-size: 0.9rem;
    border-radius: 999px;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #2c2c2c;
}
.brand-logo i {
    margin-right: 6px;
    color: #c89b3c; /* gold tone */
}
.navbar-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    transform: scale(1.1);
    scale: 1.1;
}
@media (max-width: 768px) {
    .navbar-logo {
        height: 34px;
    }
}
.navbar-brand:hover .navbar-logo {
    opacity: 0.9;
    transform: scale(1.30);
    transition: all 0.3s ease;
}


