/* ===========================
   IMPORT GOOGLE FONTS
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ===========================
   VARIABLES CSS
=========================== */
:root {
  --primary: #1a3a5c;
  --secondary: #e8522a;
  --accent: #f5c842;
  --light: #f4f6fa;
  --dark: #0d1f33;
  --text: #2c3e50;
  --text-light: #6b7a8d;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #1a3a5c 0%, #2e6fa3 100%);
  --shadow: 0 8px 32px rgba(26,58,92,0.12);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 700; }

/* ===========================
   HEADER & NAV
=========================== */
header {
  background: var(--gradient);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* NAV */
nav ul {
  display: flex;
  gap: 0.25rem;
}

nav ul li a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  border: none;
  transition: var(--transition);
}

.burger:hover { background: rgba(255,255,255,0.2); }

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO SECTION
=========================== */
.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.06) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(232,82,42,0.15) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease both;
}

.hero h1 { color: var(--white); margin-bottom: 1rem; }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,82,42,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(232,82,42,0); }
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232,82,42,0.35);
}

.btn-primary:hover {
  background: #c94020;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232,82,42,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}

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

/* ===========================
   MAIN CONTENT
=========================== */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 2rem;
}

/* ===========================
   SECTIONS
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0.75rem auto 0;
}

/* ===========================
   GRID LAYOUTS
=========================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

/* ===========================
   CARDS
=========================== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(26,58,92,0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,58,92,0.18);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* ===========================
   PAGE HEADER (inner pages)
=========================== */
.page-header {
  background: var(--gradient);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.8); margin-top: 0.75rem; font-size: 1.05rem; }

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-subtitle { color: rgba(255,255,255,0.5); }
.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

.footer-col ul li a:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75) !important;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

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

.animate-fade-up {
  animation: fadeInUp 0.7s ease both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===========================
   UTILITY
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }

.tag {
  display: inline-block;
  background: rgba(26,58,92,0.08);
  color: var(--primary);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag.orange { background: rgba(232,82,42,0.1); color: var(--secondary); }
.tag.gold { background: rgba(245,200,66,0.15); color: #b8890a; }

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  border: none;
  margin: 3rem 0;
  opacity: 0.3;
}

/* ===========================
   FORMS
=========================== */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid rgba(26,58,92,0.12);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,58,92,0.08);
}

textarea { resize: vertical; min-height: 140px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ===========================
   SLIDESHOW / DIAPORAMA
=========================== */
.slideshow {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slide {
  display: none;
  position: relative;
}

.slide.active { display: block; }

.slide-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.slide-placeholder {
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
}

.slide-caption h3 { color: var(--white); }
.slide-caption p { font-size: 0.9rem; opacity: 0.85; margin-top: 0.25rem; }

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slide-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn:hover { background: var(--secondary); transform: scale(1.1); }

.slide-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(26,58,92,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover { background: var(--secondary); }

/* ===========================
   MAP
=========================== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(26,58,92,0.08);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* ===========================
   INFO BOX
=========================== */
.info-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
}

.info-box h3 { margin-bottom: 1rem; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(26,58,92,0.06);
  font-size: 0.95rem;
}

.info-row:last-child { border-bottom: none; }

.info-row .icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-row strong { color: var(--primary); margin-right: 0.5rem; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .burger { display: flex; }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
    border-bottom: 3px solid var(--secondary);
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  nav ul li a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
  }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  main { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0.8rem 1.25rem; }
  .logo-text { display: none; }
}
