/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ROOT VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --text-color: #333;
    --background-color: #fff;
    --border-color: #ddd;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-secondary: Georgia, serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Layout */
    --max-width: 1200px;
    --border-radius: 4px;
}

/* ===== BASE STYLES ===== */
html {
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: url('/Images/1617539426clover-pattern-st-patrick.svg');
    background-repeat: repeat;
    background-size: 200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    text-decoration: underline;
}

.nabla-title {
  font-family: "Nabla", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #1f7403;
  font-variation-settings:
    "EDPT" 100,
    "EHLT" 12;
}

.rubik-distressed-regular {
  font-family: "Rubik Distressed", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: larger;
  text-align: center;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.footer-image {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.menagerie-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.zoo-container {
    display: table-row;
}

.zoo-table {
    border-image: url('/Images/border.png') 100 fill round;
    border-width: 30px;
    border-style: solid;
    display: table;
}

.zoo-image {
    display: table-cell;
    width: 70%;
}

.zoo-label {
    display: table-cell;
    vertical-align: top;
    background-color: #fff;
    padding: 20px;
    border-left: 2px solid black;
}

.footer-placeholder {
    height: 250px;
}

/* ===== NAVIGATION ===== */
nav {
    padding: var(--spacing-sm) 0;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* ===== CARDS ===== */
.card {
    padding: var(--spacing-md);
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}
