/*
Theme Name: Profile
Theme URI: https://google.com
Author: anonymous
Author URI: 
Version: 1.0.0
Text Domain: profile
*/
/* ================= BASE ================= */

/* ================= TOP NAV ================= */
.top-nav {
  background:#fff;
  border-bottom:1px solid #ddd;
}
.logo span {
  color:#ff2d7a;
  font-weight:700;
}
.search-bar {
  max-width:520px;
  width:100%;
}
.search-bar input {
  border-radius:20px;
  padding-left:16px;
}

/* ================= SECOND NAV ================= */
.sub-nav {
  background:#222;
}
.sub-nav .nav-link {
  color:#ccc;
  font-size:13px;
  padding:8px 12px;
}
.sub-nav .nav-link:hover {
  color:#fff;
}

/* ================= GRID ================= */
/* Masonry column widths */
/* mobile */
.grid-sizer,
.grid-item {
  width: 50%;
}

/* tablet */
@media (min-width: 576px) {
  .grid-sizer,
  .grid-item {
    width: 25%;
  }
}

/* desktop (6 items per row) */
@media (min-width: 992px) {
  .grid-sizer,
  .grid-item {
    width: 16.666%;
  }
}


/* spacing */
.grid-item {
  padding: 6px;
}


.grid-item a {
  display: block;
  aspect-ratio: 2 / 3; /* change this */
  overflow: hidden;
  border-radius: 6px;
}


.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Label */
.label {
  position:absolute;
  top:6px;
  left:6px;
  background:rgba(0,0,0,.7);
  color:#fff;
  font-size:11px;
  padding:2px 6px;
  border-radius:4px;
}

/* Card wrapper */
.card-wrap {
  position:relative;
}

/* Global Styles */
:root {
    --primary-color: #ff6b35;
    --dark-bg: #2c3e50;
    --darker-bg: #1a252f;
    --text-light: #ecf0f1;
    --text-muted: #95a5a6;
    --border-color: #34495e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Navigation Styles */
.bg-dark-custom {
    background-color: var(--dark-bg) !important;
}

.navbar {
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.brand-text {
    color: white;
}

.brand-highlight {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

/* Sub Navigation */
.sub-nav {
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
}

.sub-nav .social-icons a {
    font-size: 1rem;
    transition: color 0.3s ease;
}

.sub-nav .social-icons a:hover {
    color: var(--primary-color) !important;
}

/* Sidebar Styles */
.sidebar {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-section {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-title {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-list {
    max-height: 300px;
    overflow-y: auto;
}

.sidebar-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.sidebar-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.sidebar-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sidebar-list li {
    margin-bottom: 0.5rem;
}

.sidebar-list li a {
    color: #555;
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.sidebar-list li a:hover {
    color: var(--primary-color);
}

.sidebar-list .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-info h6 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.gallery-info small {
    color: #ddd;
    font-size: 0.75rem;
}

/* Pagination */
.pagination {
    gap: 0.25rem;
}

.page-link {
    color: #333;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Banner Ad */
.banner-ad {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.banner-ad:hover {
    transform: translateY(-3px);
}

.banner-ad img {
    width: 100%;
    height: auto;
    display: block;
}

/* Alert Banner */
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    border-radius: 8px;
}

/* Footer */
footer {
    border-top: 3px solid var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
    .col-xl-2 {
        flex: 0 0 auto;
        width: 20%;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .sub-nav .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }
    
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .sidebar-section {
        margin-bottom: 1.5rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .page-item {
        margin-bottom: 0.5rem;
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary-custom:hover {
    background-color: #ff5520;
    border-color: #ff5520;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Input Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}