/* ===================================================================
   RESET
   =================================================================== */
*, 
*::before,
*::after {
  box-sizing: border-box ;
  margin: 0 ;
  padding: 0 ;
}

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

:root {
  --primary: #F4B4C3; /* New Accent */
  --font-order: 'Special Elite', cursive;
  --bg-pink-light: #FEE5ED; /* Custom light pink background */
  --primary-dark: #E89EAF; /* Darker new accent */
  --primary-light-80: rgba(230, 156, 180, 0.8); /* Lighter new accent */
  --secondary: #4A5568; /* New Black Text */
  --accent: #F4B4C3; /* New Accent */
  --bg-main: #F6F2FF; /* New White */
  --bg-alt: #F6F2FF; /* New White */
  --text-color: #4A5568; /* New Black Text */
  --text-light: #66666B; /* New Muted Text */
  --text-muted-color: #66666B; /* New Muted Text */
  --white: #F6F2FF; /* New White */
  --gray-light: #e9ecef; /* Keeping this for now */
  --danger: #dc3545; /* Keeping this for now */
  --sparkle-color: #FADAE4; /* Lighter new accent */
  --star-color: #C6E2FF; /* Keeping this for now */
  --heart-inner-color: #F4B4C3; /* New Accent */
  --form-border-color: #D1C7D9; /* New light gray */
  --radius: 4px;
  --shadow-strong: 0 12px 35px rgba(230, 156, 180, 0.25);
  --shadow-soft: 0 6px 15px rgba(64, 50, 60, 0.15);
  --transition: 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

main {
  flex-grow: 1;
}

body {
    font-family: var(--font-body) ;
    color: var(--text-color) ;
    background-color: var(--bg-main) ;
    font-weight: 400 ;
    line-height: 1.7 ;
    -webkit-font-smoothing: antialiased ;
    -moz-osx-font-smoothing: grayscale ;
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
    /* transform: rotate(-3deg) scale(1.1); */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display) ;
    font-weight: 800 ;
    color: var(--secondary) ; /* Ink color */
}

a {
  color: var(--primary) !important; /* Default link color */
  text-decoration: none !important; /* Remove underline */
  transition: color 0.3s ease; /* Smooth transition for hover */
}

a:hover {
  color: var(--primary-dark) !important; /* Darker shade on hover */
}

/* Washi Tape Button Styles */
.washi-button {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: #4A5568;
    background-color: #FEE5ED;
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 95% 75%, 100% 80%, 100% 100%, 0% 100%, 5% 95%, 0% 90%, 0% 30%);
    background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 1px, transparent 1px, transparent 5px);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Washi Tape Edge Variations (using clip-path) */
.washi-edge-2 {
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 98% 85%, 100% 90%, 100% 100%, 0% 100%, 2% 95%, 0% 90%, 0% 20%);
}

.washi-edge-3 {
    clip-path: polygon(0% 0%, 100% 0%, 100% 60%, 90% 65%, 100% 70%, 100% 100%, 0% 100%, 10% 95%, 0% 90%, 0% 40%);
}
/* 
.washi-edge-4 {
    clip-path: polygon(5% 0%, 95% 0%, 100% 25%, 95% 100%, 5% 100%, 0% 75%);
}

.washi-edge-5 {
    clip-path: polygon(0% 15%, 100% 0%, 100% 85%, 0% 100%);
}
*/
/* Washi Tape Pattern Variations (using repeating gradients) */
.washi-pattern-2 { /* Subtle dots */
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 8px 8px;
}

.washi-pattern-3 { /* Diagonal lines */
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 1px, transparent 1px, transparent 7px);
}

.washi-pattern-4 { /* Grid pattern */
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 10px 10px;
}

.washi-pattern-5 { /* Wide diagonal stripes */
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 5px, transparent 5px, transparent 15px);
}

/* Washi Tape Tone/Color Variations */
.washi-tone-2 { /* Slightly Darker Pink */
    background-color: var(--bg-pink-light);
    color: var(--secondary);
}


/* Updated Card Styles */
.card {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow-soft);
  background-color: #fff;
  background-image: repeating-linear-gradient(to bottom, #eee 0, #eee 1px, #fff 1px, #fff 20px);
  background-size: 100% 20px;
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.navbar {
  padding: 1rem 0;
  transition: background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}

#mainNavbar {
  background-color: rgba(248, 248, 248, 0.3);
  backdrop-filter: blur(10px);
  --webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.navbar-brand img {
    max-height: 45px;
}

.nav-link {
  font-weight: 600;
  color: #F8F8F8;
  margin: 0 0.75rem;
  position: relative;
  transition: color var(--transition);
  padding-bottom: 0.5rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.btn-login {
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: background-color var(--transition), color var(--transition);
}

.btn-login i {
    margin-right: 0.5rem;
}

.btn-login:hover,
.btn-login.active {
    background-color: var(--primary-dark);
    color: var(--white) !important;
}


/* Updated Footer Styles */
.footer {
  background-color: var(--bg-pink-light);
  color: var(--secondary);
  padding: 1.5rem 0;
}

.footer a {
  color: var(--primary-dark);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: none;
}

i {
  color: var(--text-color) !important; /* Default icon color */
}

/* Updated Section Title */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* Updated Form Styles */
.form-control, .form-select {
  border-radius: var(--radius);
  padding: 12px 20px;
  border: 1px solid var(--form-border-color);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(244, 180, 195, 0.5);
}

/* Reveal on scroll */
.reveal-on-scroll {
    opacity: 0 ;
    transform: translateY(30px) ;
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition) ;
}

.reveal-on-scroll.is-visible {
    opacity: 1 ;
    transform: translateY(0) ;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none ;
    transition: none ;
  }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem ; }
    .navbar {
        padding: 1rem 0 ;
    }
}

/* ===================================================================
   DASHBOARD STYLES
   =================================================================== */

.dashboard-page {
    background-color: var(--bg-main) ;
}

.dashboard-page .navbar,
.dashboard-page .footer {
    display: none ;
}

#sidebar {
    background-color: var(--secondary) ;
    color: var(--white) ;
    height: 100vh ;
    position: fixed ;
    top: 0 ;
    left: 0 ;
    width: 250px ;
    padding-top: 1.5rem ;
    z-index: 100 ;
}

#sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8) ;
    font-weight: 500 ;
    padding: 0.75rem 1.5rem ;
    display: flex ;
    align-items: center ;
    border-left: 3px solid transparent ;
}

#sidebar .nav-link i {
    width: 20px ;
    margin-right: 0.75rem ;
}

#sidebar .nav-link.active,
#sidebar .nav-link:hover {
    color: var(--white) ;
    background-color: rgba(255, 255, 255, 0.1) ;
    border-left-color: var(--primary) ;
}

.main-content {
    margin-left: 250px ;
    padding: 2rem ;
    width: calc(100% - 250px) ;
}

@media (max-width: 768px) {
    #sidebar {
        width: 100% ;
        height: auto ;
        position: relative ;
        z-index: 1 ;
    }
    .main-content {
        margin-left: 0 ;
        width: 100% ;
    }
}

/* Hero Section Styles */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--bg-main); /* Fallback color */
  overflow: hidden; /* Keep content from spilling */
}

.hero-wavy-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/placeholder.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.8;
  filter: blur(2px);
  z-index: -1;
  clip-path: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f8f8' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,224C384,235,480,245,576,250.7C672,256,768,256,864,240C960,224,1056,192,1152,170.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
}

.hero h1,
.hero p {
  text-align: center !important;
  color: var(--secondary) !important;
  z-index: 1;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  opacity: 0;
  animation: float 6s ease-in-out infinite;
}

.floating-element.sparkle {
  width: 15px;
  height: 15px;
  background-color: var(--sparkle-color); /* Lighter pink for sparkle */
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.floating-element.star {
  width: 20px;
  height: 20px;
  background-color: var(--star-color); /* Light blue for star */
  clip-path: polygon(50% 0%, 61.8% 35.3%, 98.2% 35.3%, 72.4% 57.7%, 82.5% 91.3%, 50% 70.7%, 17.5% 91.3%, 27.6% 57.7%, 1.8% 35.3%, 38.2% 35.3%);
}

.floating-element.heart {
  width: 25px;
  height: 25px;
  background-color: var(--accent); /* Thistle for heart */
  position: relative;
}

.floating-element.heart::before,
.floating-element.heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--heart-inner-color);
  border-radius: 50%;
}


/* ==========================
   [REWORK] Commission Details
   ========================== */

/* Collapsed / expanded behavior */
.commission-details.collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out;
  opacity: 0;
  transform: translateY(20px);
  padding: 0 !important;
  margin: 0 !important;
}
.commission-details.expanded {
  max-height: 2400px; /* plenty to show content */
  transition: max-height 420ms ease-in-out, opacity 350ms ease-in-out, transform 350ms ease-in-out;
  opacity: 1;
  transform: translateY(0);
  padding: 2rem 0 !important;
  margin: 2rem 0 !important;
}

.commission-details .carousel .carousel-inner {
  border-radius: var(--radius);
  background-color: var(--bg-alt);
}

.commission-details .carousel .carousel-item img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.commission-details-content {
  background-color: var(--bg-alt);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.pricing-list .list-group-item {
  background-color: transparent;
  border-color: rgba(0,0,0,0.05);
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 991px) {
  .commission-details-content {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .commission-details.expanded {
    padding: 1rem 0 !important;
    margin: 1rem 0 !important;
  }
  .commission-details-content {
    padding: 1.5rem;
  }
}

/* Notebook and Polaroid Styles */
.notebook-card {
  display: flex;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 2rem;
  gap: 2rem;
}

.notebook-content {
  flex: 1;
  background-image: repeating-linear-gradient(to bottom, #eee 0, #eee 1px, #fff 1px, #fff 20px);
  background-size: 100% 20px;
  padding: 2rem 2rem 2rem 4rem;
  position: relative;
}

.notebook-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    bottom: 0;
    width: 1px;
    background-color: #f8d7da;
}

.notebook-polaroid {
  flex-basis: 50%;
  transform: rotate(3deg);
  transition: transform 0.3s ease;
  margin-bottom: 1.5rem; /* Added for separation */
}

.notebook-polaroid:hover {
  transform: rotate(0deg) scale(1.05);
}

.notebook-polaroid .carousel {
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.notebook-polaroid .carousel-inner {
  border-radius: 5px;
}

@media (max-width: 991px) {
  .notebook-card {
    flex-direction: column;
  }
  .notebook-polaroid {
    transform: rotate(0deg);
  }
}

.floating-element.heart::before {
  left: 50%;
  transform: translateX(-50%);
}

.floating-element.heart::after {
  top: 50%;
  transform: translateY(-50%);
}

.floating-element.heart {
  transform: rotate(-45deg);
}

@keyframes float {
  0% { transform: translateY(0px); opacity: 0.7; } 
  50% { transform: translateY(-20px); opacity: 1; } 
  100% { transform: translateY(0px); opacity: 0.7; }
}



/* Looking for Something Section */
.looking-for-something {
    margin-top: -150px; /* Pulls the section up to overlap with the wave */
    position: relative;
    z-index: 2;
    background-color: transparent; /* Make background transparent */
    padding: 4rem 0;
}

.looking-for-something .card {
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.looking-for-something .card:hover {
    background-color: var(--primary);
    color: var(--white);
}

.looking-for-something .card:hover i,
.looking-for-something .card:hover h5,
.looking-for-something .card:hover p {
    color: var(--white) !important;
}

/* Tool Pills for Skills Section */
.tool-pill {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-pill i {
    margin-right: 8px;
}

.tool-pill:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.main-content-padding {
    padding-top: 20px; /* Adjust based on your navbar height */
}

.subheader-banner {
    position: relative;
    background-color: var(--bg-pink-light);
    border-radius: var(--radius);
    overflow: hidden; /* Ensures pseudo-element stays within bounds */
}

.subheader-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/banner.webp');
    background-size: cover;
    background-position: center center;
    opacity: 0.3; /* Adjust for desired transparency */
    filter: blur(1px); /* Adjust for desired blur */
}

.subheader-banner > * {
    position: relative;
    z-index: 1; /* Ensures content appears above the blurred background */
}

.subheader-banner .section-title {
    color: var(--secondary); /* Ink color */
}

/* Chart Canvas Sizing */
.card-body canvas {
    max-height: 300px; /* Adjust as needed */
    width: 100% !important; /* Ensure it takes full width of parent */
    height: auto !important; /* Maintain aspect ratio based on width */
    display: block; /* Ensure it behaves like a block element */
}
/* Enhanced Card Styles for Dashboard */
.card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Stronger shadow */
    transition: all 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25); /* Even stronger shadow on hover */
}

/* Style for icons in cards */
.card-body .fas {
    color: var(--primary); /* Use primary color for icons */
}

/* Commission card description clamp */
.card-desc {
  color: var(--text-muted-color);
  display: -webkit-box;
  /* two-line clamp for card descriptions */
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.5rem;
}

/* Category cards carousel: ensure slides align and thumbnails are slightly bigger */
.carousel .card {
  min-width: 260px;
  max-width: 340px;
}
.carousel .d-flex.justify-content-center > .col-12 {
  display: inline-block;
  vertical-align: top;
}
.carousel .card img {
  max-width: 190px; /* increased thumbnail size to 190px */
  width: auto;
  height: auto;
}

@media (max-width: 767px) {
  .carousel .card { min-width: 80%; max-width: 100%; }
}

/*
===================================================================
[REBUILD] Commission Cards & Swiper
===================================================================
*/

.commisions-swiper {
    width: 100%;
    padding-top: 120px; /* Increased padding */
    padding-bottom: 180px; /* Increased padding for washi tape button */
    padding-left: 70px; /* Added padding */
    padding-right: 70px; /* Added padding */
    overflow: visible; /* Allow tilted cards to extend beyond bounds */
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
    background: rgba(244, 180, 195, 0.5); /* Muted pink for inactive bullets */
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary); /* Pink for active bullet */
}

.commisions-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 400px; /* Adjusted width for card */
    height: 550px; /* Adjusted height for card */
    padding: 20px; /* Added padding to prevent clipping */
    transition: transform 0.3s ease-in-out; /* Keep transform transition */
}

.commisions-swiper .swiper-slide-active {
    transform: scale(1.1); /* Scale up the active slide */
}

.commisions-swiper .swiper-slide:not(.swiper-slide-active) {
    /* Removed filter for non-active slides */
    filter: none;
}

.commission-note-card {
    width: 100%;
    height: 100%;
    background-color: var(--white); /* White background for the note */
    background-image: repeating-linear-gradient(to bottom, #eee 0, #eee 1px, #fff 1px, #fff 20px);
    background-size: 100% 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 2rem 2rem 2rem 4rem; /* Adjusted padding for card content */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

.commission-note-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    bottom: 0;
    width: 1px;
    background-color: #f8d7da;
}

.commission-note-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-strong);
}

.note-thumbnail-icon {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-thumbnail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title-order {
    font-family: var(--font-order);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.card-text-order {
    font-family: var(--font-order);
    font-size: 0.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.commission-description {
    font-size: 1.1rem;
    color: var(--text-muted-color);
}



/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .commisions-swiper .swiper-slide {
        width: 300px;
        height: 450px;
    }
    .commission-note-card {
        padding: 1.5rem 1.5rem;
    }
    .card-title-order {
        font-size: 1.8rem;
    }
    .card-text-order {
        font-size: 1.1rem;
    }
    .card-desc-order {
        font-size: 0.9rem;
    }
}

/* Responsive adjustments for larger screens */
@media (min-width: 1024px) {
    .commisions-swiper .swiper-slide {
        width: 380px;
        height: 530px;
    }
    .commission-note-card {
        padding: 2.5rem 2.5rem;
    }
    .card-title-order {
        font-size: 2.2rem;
    }
    .card-text-order {
        font-size: 1.3rem;
    }
    .card-desc-order {
        font-size: 1.1rem;
    }
}

.commisions-swiper .swiper-button-prev,
.commisions-swiper .swiper-button-next {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(64,50,60,0.12);
  color: var(--primary-dark);
  border: 2px solid rgba(244,180,195,0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  z-index: 60;
}
.commisions-swiper .swiper-button-prev:hover,
.commisions-swiper .swiper-button-next:hover,
.commisions-swiper .swiper-button-prev:focus,
.commisions-swiper .swiper-button-next:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230,156,180,0.18);
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary-dark);
}
/* Position nav buttons vertically centered and outside the slides */
.commisions-swiper .swiper-button-prev { left: 8px; }
.commisions-swiper .swiper-button-next { right: 8px; }
/* Ensure arrow icons inherit color */
.commisions-swiper .swiper-button-prev::after,
.commisions-swiper .swiper-button-next::after {
  font-size: 20px;
  color: currentColor;
}

.profile-img {
    max-width: 400px; /* Or your desired maximum width */
    max-height: 400px; /* Or your desired maximum height */
    width: 100%; /* Ensures it scales down */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Ensures proper centering if needed */
    margin: 0 auto; /* Centers the image if it's smaller than its container */
}

#navbarNav {
    justify-content: flex-end;
}

.text-muted {
  color: var(--text-muted-color) !important;
}

    .bottom-section {
        background: var(--bg-pink-light);
        color: white;
        padding: 4rem 0;
        text-align: center;
        position: relative;
    }

    .bottom-section h2 {
        font-size: 2.5rem;
        font-weight: 600;
        margin-bottom: 2rem;
    }

    .bottom-section p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        opacity: 0.9;
    }

    .feature-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .feature-card {
        /* background: rgba(255, 255, 255, 0.1); */
        /* backdrop-filter: blur(10px); */
        border-radius: 20px;
        padding: 3rem 2rem;
        text-align: center;
        /* transition: transform 0.3s ease; */
        min-height: 350px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .feature-card .icon-space {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        color: white;
    }

    .feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .feature-card p {
        margin-bottom: 1.5rem;
        opacity: 0.8;
        flex-grow: 1;
    }

    .feature-card .btn {
        background: white;
        color: var(--primary) !important;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .feature-card .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    @media (max-width: 992px) {
        .floating-image {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }

        .hero-subtitle {
            font-size: 1rem;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: center;
        }

        .star, .bunny {
            transform: scale(0.8);
        }

        .bottom-section h2 {
            font-size: 2rem;
        }

        .feature-cards {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .feature-card {
            min-height: 300px;
            padding: 2rem 1.5rem;
        }
    }

    @media (max-width: 576px) {
        .hero-title {
            font-size: 2rem;
        }
    }

.bg-pink-light {
    background-color: var(--bg-pink-light);
}

.commission-note-card {
    /* ... existing styles ... */
    overflow: hidden; /* Ensure stickers don't spill out */
}

.sticker-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through to the card */
    z-index: 10; /* Ensure stickers are on top of card content */
}

.sticker-container img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    position: absolute;
    /* These will be set by JS */
    /* top: var(--sticker-top, 10px); */
    /* left: var(--sticker-left, 10px); */
    transform: rotate(var(--sticker-rot, 15deg));
    pointer-events: auto; /* Make stickers clickable if needed, though not in this case */
}

.details-nav-prev, .details-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.details-nav-prev {
    left: -50px;
}

.details-nav-next {
    right: -50px;
}

.details-nav-prev button, .details-nav-next button {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.details-nav-prev button:hover, .details-nav-next button:hover {
    background-color: var(--primary);
    color: var(--white);
}

.image-caption-blockquote {
    font-family: var(--font-order);
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--primary); /* Using accent color */
    border-left: none; /* Remove default blockquote border */
    padding: 0; /* Remove default blockquote padding */
}

.pin-icon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 40px;
    height: 40px;
    z-index: 1;
}
/* New styles for Portfolio Filter Pills */
.portfolio-filter-pill {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-pink-light); /* Changed from --primary */
    color: var(--accent); /* Changed from --white */
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-body); /* Added Poppins font */
    transition: all 0.3s ease;
    cursor: pointer;
    border: none; /* Ensure no outline */
    outline: none; /* Ensure no outline */
}

.portfolio-filter-pill:hover {
    background-color: var(--primary-dark); /* Keep hover effect for inactive pills */
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.portfolio-filter-pill.active {
    background-color: var(--accent); /* Changed from --primary-dark */
    color: var(--white); /* Changed from default text color */
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px); /* Keep the lift effect for active state */
    border: none; /* Ensure no outline */
    outline: none; /* Ensure no outline */
}

/* Adjust hover for active state if needed, or remove if active state overrides hover */
.portfolio-filter-pill.active:hover {
    background-color: var(--accent); /* Keep active color on hover */
    transform: translateY(-2px); /* Maintain lift */
    box-shadow: var(--shadow-soft);
}
/* Portfolio Grid Styling */
#portfolio-grid {
    column-count: 3; /* Default 3 columns for masonry effect */
    column-gap: 1.5rem; /* Spacing between columns */
    column-fill: balance; /* Distribute content evenly */
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: none; /* Keep no border */
    break-inside: avoid; /* For masonry */
    page-break-inside: avoid; /* For masonry */
}

.portfolio-item:hover {
    transform: translateY(-5px); /* Re-add translateY effect */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Re-add box-shadow on hover */
}

.portfolio-item-inner {
    position: relative;
    width: 100%;
    height: 100%; /* Ensure inner div takes full height */
}

.portfolio-image {
    width: 100%;
    height: auto; /* Allow natural height for masonry */
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(240, 238, 244, 0.9);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-title {
    font-size: 1.1em;
    margin-bottom: 5px;
}

.portfolio-category {
    font-size: 0.8em;
    background-color: var(--primary);
    padding: 3px 8px;
    border-radius: 5px;
}

/* Lightbox Styling */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top - Increased z-index */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* Optional: blur background */
}

.lightbox.show {
    display: flex; /* Show when 'show' class is added */
}

.lightbox-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh; /* Limit image height */
    object-fit: contain;
    display: block;
    margin-bottom: 15px;
}

.lightbox-details {
    text-align: center;
    color: #333;
}

.lightbox-details h3 {
    margin-top: 0;
    color: var(--secondary);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive adjustments for lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        flex-direction: column;
        padding: 10px;
    }
    .lightbox-content img {
        max-height: 60vh;
    }
    .close-button {
        font-size: 25px;
        top: 10px;
        right: 15px;
    }
}

/* Lessen space between header and filtering pills */
#portfolio-filters {
    margin-top: 1rem !important;
}

@media (max-width: 767px) {
    #portfolio-grid {
        column-count: 1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #portfolio-grid {
        column-count: 2;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #portfolio-grid {
        column-count: 2; /* Changed from 3 to 2 for larger images */
    }
}

@media (min-width: 1200px) {
    #portfolio-grid {
        column-count: 3; /* Changed from 4 to 3 for larger images */
    }
}

.header-logo {
    height: 100%; /* Revert to original size */
    filter: brightness(0) saturate(100%) invert(86%) sepia(10%) saturate(1945%) hue-rotate(296deg) brightness(101%) contrast(91%);
}


.sidebar-logo img {
    filter: brightness(0) invert(1); /* This will make the SVG white */
}

/* Fanart Gallery adjustments */
#fanart-grid {
    column-count: 4; /* Default 4 columns for masonry effect */
    column-gap: 1.5rem; /* Spacing between columns */
}

.fanart-grid-item {
    break-inside: avoid; /* Prevent items from breaking across columns */
    page-break-inside: avoid; /* For printing */
    margin-bottom: 1.5rem; /* Spacing between items */
}

.fanart-grid-item .card {
    width: 100%; /* Ensure card takes full width of its column */
    height: auto; /* Allow card to adapt to content height */
}

.fanart-grid-item .card-img-top {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

/* Responsive adjustments for fanart grid */
@media (max-width: 1200px) {
    #fanart-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    #fanart-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    #fanart-grid {
        column-count: 1;
    }
}
.menu-item-name {
    color: var(--primary);
    font-size: 0.9rem;
}

.text-accent {
    color: var(--primary) !important;
}
