/* male.css - Main Styles */
:root {
    /* Colors */
    --primary: #1a365d;
    --primary-dark: #0f2546;
    --primary-light: #2d4a8a;
    --secondary: #d4af37;
    --secondary-dark: #b8941f;
    --accent: #e53e3e;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

.dark-mode {
    --primary: #2d4a8a;
    --primary-dark: #1a365d;
    --primary-light: #3c5b9a;
    --secondary: #d4af37;
    --secondary-dark: #b8941f;
    --accent: #fc8181;
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-card: #2d3748;
    --border: #4a5568;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar > .container > .top-bar-content > .logo {
    order: -1;
    flex-shrink: 0;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.top-bar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.telegram-btn {
    color: #0088cc !important;
    font-size: 1.2rem;
}

.telegram-btn:hover {
    background-color: rgba(0, 136, 204, 0.1);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary);
    background-color: var(--bg-primary);
}

/* Header */
.header {
    position: sticky;
    top: 40px;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background-color: var(--bg-secondary);
}

.nav-link.active {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filters Section */
.filters-section {
    background-color: var(--bg-secondary);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.search-container {
    margin-bottom: 1.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.search-box i {
    color: var(--text-secondary);
    margin: 0 1rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.5rem 0;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.clear-search {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.clear-search:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-label {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.location-filters {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.location-header i {
    color: var(--primary);
}

.location-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* Add to your footer CSS */
.footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 0.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.footer-section:hover .footer-logo {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(138, 43, 226, 0.4));
}

/* If your logo is white/light colored on dark background */
.footer-logo.light-logo {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* If you want to use SVG directly */
.footer-logo-svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    color: #8a2be2;
}