/*
Theme Name: Imperium Europa
Theme URI: https://imperiumeuropa.eu
Author: Imperium Europa
Author URI: https://imperiumeuropa.eu
Description: Custom theme for Imperium Europa - political, cultural, and spiritual unity of European peoples.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imperium-europa
*/

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  color: #444;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

/* HEADER */
.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 #eee;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: auto;
  width: 231px;
}

/* NAVIGATION */
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 18.62px;
}

.main-nav > ul > li > a {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 8px 0;
  transition: color 0.3s;
  white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: #C9A227;
}

/* DROPDOWNS */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: block !important;
  flex-direction: column;
  gap: 0;
  padding: 0;
  list-style: none;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 11.5px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
}

.dropdown li a:hover {
  background: #f5f5f5;
  color: #C9A227;
}

/* MOBILE MENU */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  background: #444;
  border-radius: 2px;
  transition: all 0.3s;
}

.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(5px, -5px);
}

/* HERO SLIDER */
.hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide:nth-child(1) img,
.slide:nth-child(2) img {
  object-position: center 25%;
}

.slide:nth-child(1) img {
  transform: rotate(1deg);
}

.slide:nth-child(2) img {
  object-position: center 25%;
}

.slide:nth-child(3) img {
  object-position: center 50%;
}

.slide:nth-child(4) img {
  object-position: center 45%;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 50px;
  background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  color: #fff;
  z-index: 2;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slide-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active,
.dot:hover {
  background: #fff;
}

/* ABOUT HERO */
.about-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.about-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-slide.active {
  opacity: 1;
  z-index: 1;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-slide:nth-child(2) img {
  object-position: 40% 25%;
  transform: scale(1.25);
}

.about-slide:nth-child(3) img {
  object-position: center 10%;
}

.about-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 50px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 80%);
  color: #fff;
  z-index: 2;
}

.about-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-hero-content h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.about-hero-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 700px;
}

.about-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.about-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.about-dot.active,
.about-dot:hover {
  background: #fff;
}

/* SECTIONS */
.section {
  padding: 70px 0;
}

/* AGENDA */
.agenda-section {
  background: #fff;
}

.agenda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.agenda-text h2,
.member-text h2,
.newsletter-text h2,
.forum-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.agenda-text p,
.member-text p,
.newsletter-text p,
.forum-text p {
  font-size: 15px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 25px;
  font-weight: 400;
}

.agenda-text .vision-quote {
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
}

.agenda-text .vision-attribution {
  font-weight: 400;
}

.agenda-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  font-family: 'Open Sans', sans-serif;
}

.btn-dark {
  background: #444;
  color: #fff;
  border-color: #444;
}

.btn-dark:hover {
  background: #C9A227;
  border-color: #C9A227;
}

.btn-outline {
  background: transparent;
  color: #444;
  border-color: #444;
}

.btn-outline:hover {
  background: #C9A227;
  border-color: #C9A227;
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-white:hover {
  background: #C9A227;
  border-color: #C9A227;
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* MEMBER SECTION */
.member-section {
  background: #3a3a3a;
  padding: 60px 0;
}

.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.member-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}

.member-text h2 {
  color: #fff;
}

.member-text p {
  color: #ccc;
}

/* NEWSLETTER */
.newsletter-section {
  background: #fff;
  padding: 60px 0;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.newsletter-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 2px;
}

/* FORUM */
.forum-section {
  background: #fff;
  padding: 60px 0;
}

.forum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.forum-image {
  overflow: hidden;
  border-radius: 2px;
}

.forum-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 2px;
}

.forum-text h2 {
  color: #333;
}

.forum-text p {
  color: #666;
}

/* SHOP PAGE */
.shop-hero {
  background: #3a3a3a;
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.shop-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.shop-hero p {
  font-size: 16px;
  font-weight: 300;
  color: #ccc;
}

.shop-section {
  padding: 60px 0;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.shop-item {
  text-align: center;
}

.shop-item-img {
  background: #f9f9f9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.shop-item-img:hover {
  opacity: 0.85;
}

.shop-item-img img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 20px;
}

.shop-item:nth-child(1) .shop-item-img img {
  transform: scale(1.7);
}

.shop-item:nth-child(4) .shop-item-img img {
  transform: scale(1.4);
}

.shop-item:nth-child(5) .shop-item-img img {
  transform: scale(1.5);
}

.shop-item:nth-child(8) .shop-item-img img {
  transform: scale(1.2);
}

.shop-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.shop-price {
  font-size: 20px;
  font-weight: 600;
  color: #C9A227;
  margin-bottom: 16px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #C9A227;
}

.lightbox-inner {
  display: flex;
  gap: 0;
  max-width: 1100px;
  width: 95%;
  min-height: 550px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0,0,0,0.4);
}

.lightbox-img {
  flex: 1;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
}

.lightbox-img img {
  max-width: 100%;
  max-height: 700px;
  object-fit: contain;
}

.lightbox-img img.zoom-in {
  transform: scale(2.07);
}

.lightbox-img img.zoom-in-slight {
  transform: scale(1.32);
}

.lightbox-img img.zoom-in-mug {
  transform: scale(1.4);
}

.lightbox-img img.zoom-in-mousemat {
  transform: scale(1.35);
}

.lightbox-img img.zoom-in-wineglass {
  transform: scale(1.2);
}

.lightbox-info {
  flex: 1;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lightbox-info .btn {
  align-self: flex-start;
}

.lightbox-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 14px;
}

.lightbox-info p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lightbox-info input {
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.2s;
}

.lightbox-info input:focus {
  outline: none;
  border-color: #C9A227;
}

.lightbox-info .shop-price {
  font-size: 22px;
  color: #C9A227;
  margin-bottom: 24px;
}

/* PRESS RELEASE */
.press-section {
  padding: 80px 0;
}

.press-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.press-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #888;
  margin-bottom: 30px;
}

.press-body p {
  font-size: 15px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 25px;
  font-weight: 400;
}

.press-date {
  font-size: 15px;
  color: #999;
  font-style: italic;
  font-weight: 400;
  margin-top: 30px;
}

/* FOOTER */
.footer {
  background: #333;
  color: #999;
  text-align: center;
  padding: 28px 20px;
  font-size: 13px;
  letter-spacing: 0.3px;
}

/* MODALS */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 35px 40px;
  border-radius: 6px;
  max-width: 450px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #999;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #333;
}

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 22px;
  color: #333;
  text-align: center;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.2s;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
  outline: none;
  border-color: #C9A227;
}

.modal-content textarea {
  resize: vertical;
}

.modal-content .btn {
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .header-inner {
    padding: 12px 20px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav > ul > li > a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    padding-left: 15px;
    box-shadow: none;
    min-width: auto;
  }

  .dropdown li a {
    padding: 8px 15px;
    font-size: 11px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .agenda-grid,
  .member-grid,
  .newsletter-grid,
  .forum-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .lightbox-inner {
    flex-direction: column;
    gap: 0;
    max-height: 90vh;
    overflow-y: auto;
  }

  .lightbox-img img {
    max-height: 300px;
  }

  .lightbox-info {
    padding: 25px 20px;
  }

  .slide-content h1 {
    font-size: 26px;
  }

  .slide-content p {
    font-size: 15px;
  }

  .slide-content {
    padding: 40px 25px 35px;
  }

  .hero {
    height: 380px;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 600px) {
  .logo-text {
    font-size: 13px;
  }

  .slide-content h1 {
    font-size: 22px;
  }

  .slide-content p {
    font-size: 14px;
  }

  .hero {
    height: 320px;
  }

  .agenda-text h2,
  .member-text h2,
  .newsletter-text h2,
  .forum-text h2 {
    font-size: 24px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .shop-item-img img {
    height: 220px;
  }
}