/* Enhanced Premium Design System */
:root {
  --primary-dark: #0F172A;
  --secondary: #1E293B;
  --accent-gold: #F7E7B4;
  --accent-blue: #3B82F6;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --success: #10B981;
  --error: #EF4444;
  --glass-bg: rgba(30, 41, 59, 0.2);
  --glass-border: rgba(248, 250, 252, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-premium: 0 32px 64px rgba(0, 0, 0, 0.4);
  --gradient-gold: linear-gradient(135deg, #F7E7B4 0%, #FFD700 100%);
  --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Enhanced Header with Animation */
.header {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(247, 231, 180, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

/* Enhanced Layout */
.main-container {
  padding: 2rem;
  max-width: 1800px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Premium Map Container */
.map-section {
  min-height: 75vh;
}

.map-container {
  height: 75vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--glass-border);
  position: relative;
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, transparent, rgba(247, 231, 180, 0.05));
  pointer-events: none;
  z-index: 1000;
}

/* Enhanced Sidebar */
.sidebar {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  height: fit-content;
  box-shadow: var(--shadow-lg);
}

.sidebar h3 {
  color: var(--accent-gold);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Enhanced Search Box */
.search-box {
  position: relative;
  margin-bottom: 2rem;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--secondary);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(30, 41, 59, 0.8);
  box-shadow: 0 0 0 4px rgba(247, 231, 180, 0.2);
}

.search-box input::placeholder {
  color: var(--text-secondary);
}

/* Enhanced Team Items */
.teams-container {
  max-height: 55vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) transparent;
}

.teams-container::-webkit-scrollbar {
  width: 6px;
}

.teams-container::-webkit-scrollbar-track {
  background: transparent;
}

.teams-container::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 3px;
}

.team-item {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--secondary);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.team-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}

.team-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
}

.team-item:hover::before {
  left: 0;
  opacity: 0.1;
}

.team-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.team-theme {
  color: var(--accent-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.team-location {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Enhanced Analytics Section */
.analytics-section {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.analytics-section h3 {
  color: var(--accent-gold);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

/* Enhanced Project Popup */
.project-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-content {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  max-width: 900px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-premium);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(40px) scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--secondary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: var(--error);
  color: white;
  transform: rotate(90deg);
}

.popup-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 3rem;
}

.project-image {
  background: var(--secondary);
  border-radius: 16px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}

.project-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.project-theme {
  background: var(--gradient-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  font-size: 0.85rem;
}

.project-description, .project-outcome {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.project-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Enhanced Like Button */
.like-btn {
  background: var(--gradient-blue);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 44px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.like-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.like-btn:active {
  transform: translateY(0);
}

.heart {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.like-btn:hover .heart {
  animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  
  .popup-body {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 1rem;
  }
  
  .map-container {
    height: 60vh;
    border-radius: 16px;
  }
  
  .header {
    padding: 2rem 1rem;
  }
  
  .title {
    font-size: 2.5rem;
  }
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247, 231, 180, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Custom Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #FFD700;
}

.project-contact .contact-item {
    margin-bottom: 0.5rem;
}

.contact-email {
    color: var(--accent-blue);
    text-decoration: none;
} 


/* Premium Footer Styling */
.premium-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0F1419 100%);
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-gold);
    opacity: 0.6;
}

.footer-content {
    max-width: 1800px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.designer-info h4 {
    color: var(--accent-gold);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.designer-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.designer-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
    background: rgba(247, 231, 180, 0.1);
    box-shadow: 0 8px 25px rgba(247, 231, 180, 0.2);
}

.link-icon {
    font-size: 1.1rem;
}

.company-info {
    text-align: right;
}

.company-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.company-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon {
    background: var(--gradient-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-tagline {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tech-badge {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .company-info {
        text-align: center;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}



/* Premium Partners Section */
.partners-section {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin: 4rem 2rem 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-header h2 {
    color: var(--accent-gold);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partners-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    gap: 2.5rem;
}

.partner-tier h3 {
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    background: var(--secondary);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    min-width: 140px;
}

.partner-logo:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    background: rgba(247, 231, 180, 0.1);
    box-shadow: 0 8px 25px rgba(247, 231, 180, 0.2);
}

.tier-primary .partner-logo:hover {
    border-color: var(--accent-gold);
}

.tier-innovation .partner-logo:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.tier-community .partner-logo:hover {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

@media (max-width: 768px) {
    .partners-section {
        margin: 2rem 1rem;
        padding: 2rem;
    }
    
    .partner-logos {
        flex-direction: column;
        align-items: stretch;
    }
    
    .partner-logo {
        min-width: auto;
    }
}

.view-toggle {
    display: flex;
    background: var(--secondary);
    border-radius: 8px;
    padding: 2px;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--accent-blue);
    color: white;
}

.teams-container.list-view .team-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.teams-container.list-view .team-name {
    flex: 1;
}
