/* ========================================
   MICE Croatia - Static Website Styles
   Converted from Tailwind CSS
   ======================================== */

/* CSS Custom Properties (Colors) */
:root {
  /* Slate palette */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Accent */
  --amber-500: #f59e0b;

  /* Spacing */
  --max-width: 80rem;
  --section-padding: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  color: var(--slate-900);
  background: white;
}

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

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

ul {
  list-style: none;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

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

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
}

.logo-subtitle {
  display: none;
  font-size: 0.875rem;
  color: var(--slate-600);
  border-left: 1px solid var(--slate-300);
  padding-left: 0.75rem;
  margin-left: 0.75rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--slate-900);
}

.menu-btn {
  background: none;
  border: none;
  color: var(--slate-700);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

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

@media (min-width: 768px) {
  .logo-subtitle {
    display: block;
  }

  .nav-links {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('images/Istria.jpeg');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(15, 23, 42, 0.6),
      rgba(15, 23, 42, 0.5),
      rgba(15, 23, 42, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  color: white;
}

.hero-subtitle {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-200);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--slate-200);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: var(--slate-900);
}

.btn-primary:hover {
  background: var(--slate-100);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--slate-900);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator-dot {
  width: 0.25rem;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .hero-description {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
  padding: var(--section-padding) 0;
}

.section-dark {
  background: var(--slate-900);
  color: white;
}

.section-light {
  background: var(--slate-50);
}

.section-darkest {
  background: var(--slate-950);
  color: white;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-600);
  margin-bottom: 1rem;
}

.section-dark .section-label {
  color: var(--slate-400);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--slate-600);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-description {
  color: var(--slate-300);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   FEATURE CARDS (Why Istria)
   ======================================== */
.feature-card {
  padding: 2rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: background 0.3s;
}

.feature-card:hover {
  background: var(--slate-100);
}

.feature-icon {
  margin-bottom: 1rem;
  color: var(--slate-700);
  transition: color 0.3s;
}

.feature-card:hover .feature-icon {
  color: var(--slate-900);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--slate-600);
  line-height: 1.7;
}

/* ========================================
   HOTEL CARDS
   ======================================== */
.hotel-card {
  background: white;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.hotel-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hotel-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hotel-card:hover .hotel-image img {
  transform: scale(1.1);
}

.hotel-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hotel-rating svg {
  width: 14px;
  height: 14px;
  fill: var(--amber-500);
  color: var(--amber-500);
}

.hotel-content {
  padding: 1.5rem;
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
}

.hotel-location svg {
  width: 16px;
  height: 16px;
}

.hotel-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.hotel-description {
  color: var(--slate-600);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hotel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hotel-feature {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--slate-100);
  color: var(--slate-700);
}

/* ========================================
   SERVICE CARDS (MICE Services)
   ======================================== */
.service-card {
  padding: 1.5rem;
  background: var(--slate-50);
  transition: all 0.3s;
  cursor: pointer;
}

.service-card:hover {
  background: var(--slate-900);
  color: white;
}

.service-icon {
  margin-bottom: 1rem;
  color: var(--slate-700);
  transition: color 0.3s;
}

.service-card:hover .service-icon {
  color: white;
}

.service-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.5;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: white;
}

.service-description {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
  transition: color 0.3s;
}

.service-card:hover .service-description {
  color: var(--slate-300);
}

/* ========================================
   EXPERIENCE CARDS
   ======================================== */
.experience-card {
  position: relative;
  overflow: hidden;
  background: var(--slate-800);
  transition: transform 0.3s;
}

.experience-card:hover {
  transform: scale(1.05);
}

.experience-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.experience-card:hover .experience-image img {
  transform: scale(1.1);
}

.experience-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      var(--slate-900),
      rgba(15, 23, 42, 0.5),
      transparent);
}

.experience-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.experience-icon {
  margin-bottom: 0.5rem;
}

.experience-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

.experience-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  margin-bottom: 0.25rem;
}

.experience-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.experience-content {
  padding: 1.5rem;
}

.experience-description {
  font-size: 0.875rem;
  color: var(--slate-300);
  line-height: 1.7;
}

/* ========================================
   GASTRONOMY SECTION
   ======================================== */
.gastronomy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .gastronomy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gastronomy-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gastronomy-item {
  display: flex;
  gap: 1rem;
}

.gastronomy-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
}

.gastronomy-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.gastronomy-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.gastronomy-description {
  color: var(--slate-600);
  line-height: 1.7;
}

.gastronomy-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gastronomy-images-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gastronomy-images-col:last-child {
  padding-top: 2rem;
}

.gastronomy-images img {
  width: 100%;
  object-fit: cover;
}

.gastronomy-images img:nth-child(1) {
  height: 16rem;
}

.gastronomy-images img:nth-child(2) {
  height: 20rem;
}

/* ========================================
   SUNSET GALLERY
   ======================================== */
.sunset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .sunset-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sunset-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.sunset-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.sunset-item:hover img {
  transform: scale(1.1);
}

.sunset-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  transition: background 0.3s;
}

.sunset-item:hover::after {
  background: rgba(15, 23, 42, 0.2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
}

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

/* ========================================
   EDUCATION SECTION
   ======================================== */
.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .education-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.education-image {
  order: 2;
}

@media (min-width: 1024px) {
  .education-image {
    order: 1;
  }

  .education-content {
    order: 2;
  }
}

.education-image img {
  width: 100%;
  height: 37.5rem;
  object-fit: cover;
}

.education-programs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--slate-50);
  transition: background 0.2s;
}

.education-item:hover {
  background: var(--slate-100);
}

.education-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
}

.education-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.education-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}

.education-description {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ========================================
   DESTINATION SECTION
   ======================================== */
.destination-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .destination-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.destination-text p {
  color: var(--slate-300);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.destination-text p:first-of-type {
  font-size: 1.125rem;
}

.destination-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.destination-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.destination-stat-label {
  font-size: 0.875rem;
  color: var(--slate-400);
}

.destination-image {
  position: relative;
  height: 37.5rem;
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--slate-900), transparent);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--slate-950);
  color: white;
  padding: 4rem 0;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--slate-400);
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--slate-400);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--slate-400);
  width: 20px;
  height: 20px;
}

.footer-contact a,
.footer-contact span {
  color: var(--slate-400);
  transition: color 0.2s;
}

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

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social-links a {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social-links a:hover {
  background: var(--slate-700);
}

.footer-social-links svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--slate-400);
  font-size: 0.875rem;
}

/* ========================================
   PAGE HEADER (for inner pages)
   ======================================== */
.page-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--slate-900);
  color: white;
  text-align: center;
}

.page-header .section-label {
  color: var(--slate-400);
}

.page-header .section-title {
  color: white;
}

.page-header .section-description {
  color: var(--slate-300);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-900);
}

.contact-value a {
  color: var(--slate-900);
  transition: color 0.2s;
}

.contact-value a:hover {
  color: var(--slate-700);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-lg {
  font-size: 1.125rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.leading-relaxed {
  line-height: 1.7;
}