/*
Theme Name: Mehndi Theme
Theme URI: https://mehndidesigns.art
Author: mehndidesigns.art
Description: designed by mehndidesigns.art
Version: 1.0
License: GPL-2.0+
Text Domain: mehndidesigns
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

:root {
  /* Primary colors */
  --color-primary: #6b3e26;
  /* Deep henna brown */
  --color-secondary: #a37f4a;
  /* Muted terra cotta */

  /* Accent & highlights */
  --color-accent: #cba135;
  /* Antique gold */
  --color-highlight: #8a9a5b;
  /* Olive green */

  /* Backgrounds & surfaces */
  --color-bg: #fdeedc;
  /* Soft cream */
  --color-surface: #fff8f0;
  /* Very light ivory */

  /* Text */
  --color-text: #422a18;
  /* Dark chocolate */
  --color-muted: #7a5a3a;
  /* Warm taupe */
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

header,
.dropdown-menu.show {
  background-color: var(--color-primary);
}
.navbar-nav .dropdown-menu{
	min-width: 300px;
}
#primaryNav.show {
  border-top: 1px solid #fff;
  margin-top: 10px;
}

.h1,
h1 {
  color: var(--color-primary) !important;
}

.h2,
h2 {
  font-size: calc(1rem + 0.9vw) !important;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.h2:after,
h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

button {
  background-color: var(--color-secondary);
  color: var(--color-surface);
}

#loveToast,
.home-section section:nth-child(even) {
  background-color: var(--color-surface);
}

.single-content article img {
  vertical-align: baseline;
}
#gallery .gallery-item:hover{
	cursor:pointer;
}
#gallery .gallery-item .card {
  position: relative;
  width: 100%;
  /* 4:3 ratio = 75% */
  padding-bottom: 75%;
  background: #f0f0f0;
}

#gallery .gallery-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
#article-content img:hover {
  cursor: pointer;
  scale: 1.01;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 2rem;
  margin: 1rem 0;
}

.social-icons a {
  color: var(--color-text);
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.like-button {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #ff6fb1;
  color: var(--color-text);
  border: none;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.like-button:hover {
  background: #e73370;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  max-width: 100%;
  margin: auto;
}

.social-icons a[aria-label="Facebook"] i {
  color: #1877F2;
  /* Facebook Blue */
}

.social-icons a[aria-label="Pinterest"] i {
  color: #E60023;
  /* Pinterest Red */
}

.social-icons a[aria-label="YouTube"] i {
  color: #FF0000;
  /* YouTube Red */
}

.social-icons a[aria-label="Instagram"] i {
  /* Instagram gradient lồng vào bằng background-clip */
  background: radial-gradient(circle at 30% 107%, #fdf497 0%,
      #fdf497 5%, #fd5949 45%, #d6249f 60%,
      #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-icons a[aria-label="DeviantArt"] i {
  color: #05CC47;
}

.social-icons a[aria-label="TikTok"] i {
  color: #000000;
}

.social-icons a:hover i {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

@media (min-width: 768px) {
  #article-content img {
    max-width: 300px;
  }
}

#lightboxCarousel img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

#lightboxCarousel img {
  transition: transform .3s ease;
}

.zoom-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100%;
  overflow: scroll;
}


.zoom-container img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}


.zoom-container img {
  transition: transform .3s ease;
  transform-origin: center center;
}
