/* Modern Press Page Styles */
:root {
  --primary: #08ae90;
  --primary-dark: #056953;
  --primary-light: #0bdab4;
  --gradient-primary: linear-gradient(135deg, #08ae90 0%, #0bdab4 100%);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(8, 174, 144, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: "Raleway", sans-serif;
  margin: 0;
  padding: 0;
  color: #f8f4f4;
  background-color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}

/* Modern Hamburger Menu */
.hamburger {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
  background: rgba(8, 174, 144, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(11, 218, 180, 0.2);
  border-radius: 12px;
  padding: 12px;
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(8, 174, 144, 0.2);
  border-color: rgba(11, 218, 180, 0.4);
  transform: scale(1.05);
}

.hamburger div {
  width: 24px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Modern Menu with Glassmorphism */
.menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  min-width: 280px;
  max-width: 400px;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-left: 1px solid rgba(11, 218, 180, 0.1);
  color: white;
  z-index: 999;
  padding: 80px 40px 40px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.menu ul {
  list-style: none;
}

.menu li {
  margin: 20px 0;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 400;
  transition: var(--transition);
  font-family: "Raleway", sans-serif;
  display: block;
  padding: 12px 0;
  border-radius: var(--radius-sm);
  padding-left: 16px;
  margin-left: -16px;
}

.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gradient-primary);
  border-radius: 0 2px 2px 0;
  transition: var(--transition);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.menu a:hover {
  color: var(--primary-light);
  background: rgba(8, 174, 144, 0.1);
  padding-left: 20px;
  margin-left: -20px;
}

.menu a:hover::before {
  height: 60%;
}

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

.menu.active {
  display: block;
}

.hamburger.active div:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Modern Hero Section */
header .hero {
  position: relative;
  min-height: 50vh;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)),
    url(2021/Waiting\ for\ Mr\ Right_\ 127.6X112.4\ cm_\ Acrylic\ and\ Transfers\ on\ canvas.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #0bdab4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

@media (max-width: 768px) {
  header .hero {
    background-attachment: scroll;
    padding: 80px 20px;
  }
}

/* Main Section with Background */
main {
  position: relative;
  background-color: #000000;
  min-height: 100vh;
}

@media (max-width: 768px) {
  main {
    background-attachment: scroll;
  }
}

/* Modern Filters */
.filters {
  padding: 20px 20px 12px;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(8, 97, 71, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.9);
}

.filters-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filters-buttons {
  text-align: center;
}

@media (max-width: 768px) {
  .filters {
    background-attachment: scroll;
  }

  .filters-top {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-buttons {
    text-align: center;
  }
}

.filter-btn {
  padding: 12px 24px;
  margin: 8px;
  font-family: "Raleway", sans-serif;
  border: none;
  background: rgba(8, 145, 101, 0.3);
  color: #fff;
  cursor: pointer;
  border-radius: 25px;
  transition: var(--transition);
  font-weight: 500;
  border: 1px solid rgba(8, 145, 101, 0.3);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Search bar */
.news-search {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 24px;
  background: rgba(24, 24, 24, 0.9);
  border: 1px solid rgba(88, 86, 86, 0.6);
}

.news-search i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.news-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
}

.news-search input::placeholder {
  color: rgba(200, 200, 200, 0.7);
}

/* Modern News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  background-color: #000000;
  min-height: 60vh;
}

@media (max-width: 768px) {
  .news-grid {
    background-attachment: scroll;
  }
}

/* Loading & empty states */
.loading-state,
.empty-state {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 40px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.loading-state .loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--primary-light);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-state i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.news-item {
  background: rgba(46, 45, 45, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(88, 86, 86, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease-out backwards;
}

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

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }

.news-item:hover {
  transform: translateY(-8px);
  border-color: rgba(11, 218, 180, 0.4);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.news-item-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-item-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-item:hover .news-item-image-wrapper img {
  transform: scale(1.05);
}

.news-item h3 {
  margin: 20px;
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 600;
}

.news-item p {
  margin: 0 20px 20px;
  font-size: 1rem;
  color: rgba(171, 170, 170, 0.9);
  line-height: 1.6;
}

/* News item image wrapper */
.news-item-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-item-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* News category badge */
.news-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(8, 174, 144, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  z-index: 2;
}

.news-category-badge i {
  font-size: 0.8rem;
}

/* News date */
.news-date {
  margin: 8px 20px 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-date i {
  font-size: 0.85rem;
}

/* Link text under news item / in modal */
.news-link {
  margin: 0 20px 16px;
  font-size: 0.9rem;
  color: rgba(171, 170, 170, 0.9);
  word-break: break-all;
}

.news-link a {
  color: var(--primary-light, #0BDBB4);
  text-decoration: underline;
}

.news-link a:hover {
  text-decoration: none;
}

.read-more-btn {
  margin: 12px 20px 20px;
  padding: 8px 16px;
  background: rgba(8, 174, 144, 0.2);
  border: 1px solid rgba(11, 218, 180, 0.4);
  border-radius: 20px;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Raleway", sans-serif;
}

.read-more-btn:hover {
  background: rgba(8, 174, 144, 0.3);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* News Modal */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.news-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.news-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(11, 218, 180, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  z-index: 10001;
}

.news-modal.open .news-modal-content {
  transform: scale(1);
}

.news-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 174, 144, 0.2);
  border: 1px solid rgba(11, 218, 180, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10002;
  transition: var(--transition);
}

.news-modal-close:hover {
  background: rgba(8, 174, 144, 0.4);
  border-color: var(--primary-light);
  transform: rotate(90deg);
}

.news-modal-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
}

.news-modal-image-wrapper {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.news-modal-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.news-modal-text {
  padding: 32px;
}

.news-modal-header {
  margin-bottom: 24px;
}

.news-modal-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(8, 174, 144, 0.2);
  border: 1px solid rgba(11, 218, 180, 0.4);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.news-modal-category i {
  font-size: 0.85rem;
}

.news-modal-title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-modal-date {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-modal-date i {
  font-size: 0.9rem;
}

.news-modal-body-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .news-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .news-modal-text {
    padding: 24px 20px;
  }

  .news-modal-title {
    font-size: 1.5rem;
  }

  .news-modal-body-text {
    font-size: 1rem;
  }

  .news-modal-image-wrapper {
    max-height: 250px;
  }
}

/* Modern Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, #0a0a0a 100%);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 60px 20px 30px;
  font-family: 'Raleway', sans-serif;
  border-top: 1px solid rgba(11, 218, 180, 0.1);
  position: relative;
  margin-top: 80px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container > div {
  flex: 1;
  min-width: 250px;
}

.site-footer h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #f4f4f4;
  font-weight: 600;
}

.site-footer p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-about h3,
.site-footer .footer-links h3,
.site-footer .footer-social h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #f4f4f4;
  font-weight: 600;
}

.site-footer .footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 5px 0;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-block;
  padding: 4px 0;
  position: relative;
}

.footer-links ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 8px;
}

.footer-links ul li a:hover::after {
  width: 100%;
}

.footer-social .social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 1.75rem;
}

.footer-social .social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  text-decoration: none;
  transition: var(--transition);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social .social-icons a:hover {
  color: var(--primary-light);
  background: rgba(8, 174, 144, 0.2);
  border-color: rgba(11, 218, 180, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

@media (max-width: 600px) {
  .menu {
    width: 70%;
  }
  .news-grid {
    grid-template-columns: 1fr;
    padding: 20px 15px;
  }
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-container > div {
    min-width: 100%;
  }
  
  .footer-links ul li a {
    margin-left: 0;
  }
  
  .footer-social .social-icons {
    justify-content: center;
  }
  
  .footer-social .social-icons a {
    margin-left: 0;
  }
}
