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

:root {
  --color-primary: #0F172A; /* Deep Blue / Slate */
  --color-secondary: #334155; /* Slate Gray */
  --color-accent: #0284C7; /* Bright Blue */
  --color-accent-hover: #0369A1;
  --bg-color: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #1E293B;
  --text-light: #64748B;
  --border-color: #E2E8F0;
  
  --font-main: 'Inter', sans-serif;
  
  --max-width: 1200px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: var(--color-accent);
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.top-header {
  background-color: var(--bg-card);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.logo img {
  height: auto;
  max-height: 80px;
  max-width: 100%;
  margin: 0 auto;
}

.lang-switch img {
  height: 16px;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.lang-switch img:hover {
  transform: scale(1.1);
}

/* Nav */
.main-nav {
  background-color: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav .container {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 50px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  position: absolute;
  left: 20px;
  top: 15px;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.nav-list a:hover {
  background-color: var(--color-accent);
  color: #fff;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('../images/main_03.jpg') no-repeat center center / cover;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
  color: #CBD5E1;
}

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

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

/* Main Content Grid */
.content-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  padding: 40px 0;
}
.content-wrapper > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }
  .top-header .container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* Sidebar Photos */
.sidebar-gallery {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.sidebar-gallery h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  display: inline-block;
}

.gallery-viewer {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity 0.5s ease;
  box-shadow: var(--shadow-sm);
}

/* Sections */
.section {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 24px;
  background-color: var(--color-accent);
  margin-right: 10px;
  border-radius: 2px;
}

.intro-text {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.image-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 350px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 50px;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list a {
    text-align: left;
    padding: 15px 20px;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* Marquee / Slider */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  background: var(--bg-card);
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-block;
  margin: 0 15px;
  transition: transform 0.3s ease;
}

.marquee-item:hover {
  transform: translateY(-5px);
}

.marquee-item img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: #fff;
  padding: 5px;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Presentation (Prezi) */
.presentation-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}
.presentation-container iframe {
  width: 100%;
  max-width: 550px;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: #CBD5E1;
  text-align: center;
  padding: 30px 0;
  margin-top: 40px;
}

.site-footer p {
  font-size: 0.9rem;
}
