/* Modern CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables for consistent theming */
:root {
  --primary-color: #000000;
  --secondary-color: #6b6b6b;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  overflow-x: hidden;
  position: relative;
  background-color: var(--white);
  background: url("../images/background.webp") no-repeat center center fixed;
  background-size: cover;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.back-content {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(10px);
}

/* Popup Modal */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
}

.popup-content {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  position: relative;
  max-width: 400px;
  box-shadow: var(--shadow-hover);
  animation: slideUp 0.3s ease-out;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--white);
}

.popup-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.popup-content p {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.popup-content a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
}

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

/* Top Bar */
.topbar {
  color: var(--white);
  padding: 2px 0;
  font-size: 14px;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info a {
  color: var(--white);
  text-decoration: none;
  margin-right: 25px;
  transition: var(--transition);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--white);
}

.social-links a {
  color: var(--white);
  margin: 0 8px;
  font-size: 18px;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-2px);
  color: var(--white);
}

/* Header */
.header {
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: var(--white);
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  gap: 50px;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--secondary-color);
}

.nav {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 15px;
  position: relative;
  transition: var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--primary-color);
}

.nav a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
  position: absolute;
  top: 12px;
  right: 11px;
  background: transparent;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0.95;
}
.hero-content span {
    font-weight: 900;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  margin: 8px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  color: var(--white);
  box-shadow: var(--shadow);
  border: 2px solid var(--white);
}

.btn-secondary {
  color: var(--white);
  border: 2px solid var(--white);
}

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

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  padding: 50px;
  background: #ffffffe5;
  border-radius: 20px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-color);
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* About Section */
.about {
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.product-card {
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: #ffffffe5;
  text-decoration: none;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

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

.product-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
}

.product-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Events Section */
.events {
}

.events-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  margin-top: 60px;
}

.event-slide {
  display: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.event-slide.active {
  display: flex;
  animation: fadeIn 0.5s ease-in-out;
}

.event-slide img {
  width: 50%;
  height: 368px;
  object-fit: cover;
}

.event-content {
  padding: 50px;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000000e5;
}

.event-content h3 {
  color: var(--white);
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 700;
}

.event-content ul {
  list-style: none;
}

.event-content li {
  margin: 15px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
  font-weight: 500;
}

.event-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}

/* Slider Controls */
.slider-controls {
  text-align: center;
  margin-top: 30px;
}

.slider-btn {
  color: var(--white);
  padding: 12px 24px;
  margin: 0 8px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--white);
  background: transparent;
}

.slider-btn:hover {
  transform: translateY(-2px);
}

/* Cities Section */
.cities {
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cities::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 60px;
}

.city-card {
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--white);
  display: block;
  cursor: pointer;
  font-weight: 600;
  border: 2px solid var(--white);
  background: transparent;
}

.city-card:hover {
  transform: translateY(-5px);
}

.city-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

/* Footer */
.footer {
  color: var(--white);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-contact {
  margin-bottom: 30px;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  margin: 0 20px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-social a {
  color: var(--white);
  font-size: 24px;
  margin: 0 12px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-social a:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.footer-text a {
    text-decoration: none;
    color: var(--white);
}
/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-overlay.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes dotMove {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-10px) translateY(-10px);
  }
  50% {
    transform: translateX(10px) translateY(-5px);
  }
  75% {
    transform: translateX(-5px) translateY(10px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 10px 15px;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    background: white;
    gap: 20px;
  }

  .nav.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  .mobile-menu {
    display: block;
  }

  .topbar-content {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info a {
    margin-right: 15px;
    font-size: 13px;
  }

  .event-slide {
    flex-direction: column;
  }

  .event-slide img,
  .event-content {
    width: 100%;
  }

  .event-slide img {
    height: 250px;
  }

  .event-content {
    padding: 30px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .hero-content p {
  font-size: 1rem;
  }
  .social-links {
    display:none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card,
  .city-card {
    padding: 25px 20px;
  }
  .hero-content p {
  font-size: 0.8rem;
  }
  .social-links {
    display:none;
  }
  
  .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact a {
    margin: 0;
  }
}

.map-url {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.map-url:hover {
  box-shadow: var(--shadow-hover);
}
.map-url:focus {
  outline: none;
}
.map-url:active {
  transform: scale(0.98);
}
.map-url:focus-visible {
  outline: 2px solid var(--primary-color);
}
.map-url:focus-visible:hover {
  box-shadow: var(--shadow-hover);
}