/* Pofino - Modular Institutional Composition */

:root {
  --primary: #003153;
  --secondary: #BDBDBD;
  --accent-gold: #C1A051;
  --accent-teal: #488A99;
  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-light: #666666;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Lato', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1 {
  font-family: 'Merriweather Sans', 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
}

h2 {
  font-family: 'Merriweather Sans', 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: var(--primary);
}

h3 {
  font-family: 'Merriweather Sans', 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: var(--accent-teal);
  text-decoration: underline;
}

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

/* Header */
header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 49, 83, 0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--white);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  text-decoration: none;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h3 {
  color: var(--accent-gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(189, 189, 189, 0.3);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--secondary);
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #004d7a 100%);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="var(--primary)"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-image {
  width: 100%;
  height: 400px;
  background-color: rgba(189, 189, 189, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

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

/* Section */
section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 49, 83, 0.1);
}

section.accent-teal {
  background-color: var(--accent-teal);
  color: var(--white);
}

section.accent-teal h2,
section.accent-teal h3 {
  color: var(--white);
}

section.accent-teal p {
  color: rgba(255, 255, 255, 0.95);
}

section.accent-gold {
  background-color: var(--accent-gold);
  color: var(--white);
}

section.accent-gold h2,
section.accent-gold h3 {
  color: var(--white);
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Cards */
.card {
  background-color: var(--white);
  border: 1px solid rgba(0, 49, 83, 0.1);
  padding: 2rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 49, 83, 0.15);
  border-color: var(--accent-teal);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn:hover {
  background-color: var(--accent-gold);
  color: var(--white);
  text-decoration: none;
}

.btn-teal {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.btn-teal:hover {
  background-color: var(--accent-teal);
  color: var(--white);
}

.btn-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-light:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column-image {
  width: 100%;
  height: 500px;
  background-color: var(--secondary);
  border-radius: 4px;
  overflow: hidden;
}

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

/* Image Container */
.image-container {
  width: 100%;
  background-color: var(--secondary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

/* Spacing */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-light);
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 1.5rem auto;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero .container,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  footer .container {
    grid-template-columns: 1fr;
  }

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

  .hero-image,
  .two-column-image {
    height: 300px;
  }
}
