/* Modern Professional Styles for Serel Metal */

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

/* CSS Variables for consistent theming */
:root {
  --primary-color: #1a365d;
  --secondary-color: #2d4a7b;
  --accent-color: #3182ce;
  --gold-accent: #d69e2e;
  --success-color: #38a169;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2d4a7b 100%);
  --gradient-accent: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
  --gradient-gold: linear-gradient(135deg, #d69e2e 0%, #f6e05e 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --header-height: 80px;
}

/* Global improvements */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
}

/* Typography Standardization */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

/* Enhanced Header */
header {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1000;
  height: var(--header-height);
  padding: 0;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 2;
}

header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(to bottom, rgba(26, 54, 93, 0.1), transparent);
  z-index: 1;
}

.navbar_ {
  background: transparent;
  border: none;
  margin: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.navbar_ .container {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand_ {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: 35px;
}

.brand_ img {
  height: 55px;
  width: auto;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: var(--transition);
}

.brand_ img:hover {
  transform: scale(1.05);
  filter: brightness(1.2) drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Modern Navigation */
.nav-collapse_ {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-collapse_ .nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 5px;
}

.nav-collapse_ .nav > li {
  margin: 0;
  padding: 0;
}

.nav-collapse_ .nav > li > a {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  min-width: auto;
}

.nav-collapse_ .nav > li > a:hover,
.nav-collapse_ .nav > li.active > a {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.nav-collapse_ .nav > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gold-accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-collapse_ .nav > li:hover > a::before,
.nav-collapse_ .nav > li.active > a::before {
  width: 80%;
}

/* New Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  margin: 4px auto;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* New Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

.mobile-menu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.mobile-menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-content li {
  margin: 30px 0;
}

.mobile-menu-content a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  display: block;
  padding: 15px 30px;
  border-radius: 10px;
}

.mobile-menu-content a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .navbar_ .container {
    justify-content: flex-start;
  }
  
  .nav-collapse_ {
    display: none;
  }
  
  .brand_ {
    margin-right: 0;
  }
  
  .nav-collapse_ .nav {
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }
  
  .nav-collapse_ .nav > li {
    width: 100%;
  }
  
  .nav-collapse_ .nav > li > a {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .nav-collapse_ .nav > li > a:hover,
  .nav-collapse_ .nav > li.active > a {
    background: rgba(255, 255, 255, 0.15);
    transform: none;
  }
}

/* Enhanced Content Area */
.bg-content {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 30px;
}

.bg-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--gradient-primary);
  opacity: 0.03;
  z-index: 1;
}

.bg-content .container {
  position: relative;
  z-index: 2;
}

/* Original Slider - No Custom Styles */

/* Enhanced Typography */
.block-slogan {
  text-align: center;
  padding: 50px 30px;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.block-slogan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
}

.block-slogan h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 15px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.block-slogan p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
}

/* Content Articles */
article {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

article:hover::before {
  transform: scaleX(1);
}

article h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 600;
}

/* About Section Improvements */
.about-content {
  padding: 0;
}

.about-text {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  margin: 20px 0;
}

.about-text h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  background: var(--bg-white);
  padding: 25px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--success-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-item h5 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Enhanced Photo Gallery */
.list-photo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-photo li {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--bg-light);
}

.list-photo li:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.list-photo li img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: var(--transition);
}

.list-photo li:hover img {
  transform: scale(1.15);
}

.list-photo li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.list-photo li:hover::before {
  opacity: 0.2;
}

.list-photo li .magnifier::after {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
  font-weight: bold;
  background: rgba(0,0,0,0.7);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.list-photo li:hover .magnifier::after {
  opacity: 1;
}

/* Enhanced Footer */
footer {
  background: var(--gradient-primary);
  padding: 40px 0 20px;
  margin-top: 60px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-copyright .copyright-icon {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Vector Social Media Icons */
.list-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.list-social li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  border-radius: 50%;
  transform: scale(0);
  transition: var(--transition);
}

.list-social li a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.list-social li a:hover::before {
  transform: scale(1);
}

/* Vector Social Icons */
.social-icon {
  width: 24px;
  height: 24px;
  fill: white;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.list-social li a:hover .social-icon {
  transform: scale(1.1);
}

/* Contact Page Enhancements */
.address-1 {
  background: var(--bg-light);
  padding: 25px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  margin: 20px 0;
  transition: var(--transition);
}

.address-1:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.address-1 strong {
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.address-1 span {
  color: var(--accent-color);
  font-weight: 500;
  margin-right: 8px;
}

/* Map Container */
.map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 20px 0;
  position: relative;
}

.map iframe {
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.map:hover iframe {
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  
  .block-slogan {
    padding: 40px 20px;
  }
  
  .block-slogan h2 {
    font-size: 1.8rem;
  }
  
  article {
    padding: 25px;
  }
  
  .list-photo {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }
  
  .list-photo li img {
    height: 120px;
  }
  
  .list-social {
    gap: 12px;
  }
  
  .list-social li a {
    width: 45px;
    height: 45px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  
  .block-slogan {
    padding: 30px 15px;
  }
  
  .block-slogan h2 {
    font-size: 1.6rem;
  }
  
  article {
    padding: 20px;
  }
  
  .list-photo {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }
  
  .list-photo li img {
    height: 100px;
  }
}

/* Loading Animation */
.spinner {
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner::after {
  content: '';
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.bg-primary { background: var(--primary-color); }
.bg-accent { background: var(--accent-color); }
.rounded { border-radius: var(--border-radius); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }