/* ============================
   Combined Styles: subp + saltp
   ============================ */

/* =============== index, site, and iframe core styles
============================ */

/* ============================
   Reset and Base Styles
============================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* From saltp (overriding subp where different) */
body {
    font-family: 'Jura', sans-serif;
    background: #131f1c;
    color: #f5f5f5;
    line-height: 1.6;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    overflow: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ============================
   Header and Titles
============================ */
header {
    text-align: center;
    margin-bottom: 1rem;
}

/* From saltp (overriding subp size) */
h1 {
    font-size: 2.6rem;
    font-family: 'Playfair Display SC', sans-serif;
    font-weight: 900;
    letter-spacing: 0.09rem;
    color: #00e6ff;
    text-shadow: 0 0 15px #00e6ff, 0 0 30px #00e6ff;
    margin-bottom: 0.5rem;
}

h2 {
    font-family: 'Major Mono Display', serif;
    font-size: 1.5rem;
    color: #c0ffcc;
    margin-top: 1rem;
}

h3 {
    font-size: 1.3rem;
    color: #34495e;
    margin-top: 0.75rem;
}

/* From saltp (overriding subp opacity) */
sup, sub {
    opacity: 0.12;
}
header h1 sup {
    opacity: 0.387;
}

/* ============================
   Section Styling
   (taken from saltp, overrides subp)
============================ */
section {
    background: #003c002f;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    border-left: 2px solid #16a085;
    border-right: 2px solid #16a085;
    transition: background-color 0.3s;
    width: 100%;
}
section:nth-child(odd) {
    border-left: 2px solid #1685a0;
    border-right: 2px solid #16a085;
    border-bottom: 1px dotted #303c3033;
    border-top: 1px dotted #30303c33;
}
section:nth-child(even) {
    background: #00003c2f;
    border-right: 2px solid #1685a0;
    border-left: 2px solid #16a085;
    border-bottom: 1px dotted #303c3033;
    border-top: 1px dotted #30303c33;
}

/* ============================
   List Styles
   (taken from saltp, overrides subp)
============================ */
ul {
    list-style: none;
    padding: 1.5rem;
    width: 100%;
}
li {
    padding: 1rem;
    border-left: 2px solid #16a085;
    border-right: 2px solid #1685a0;
    border-top: 1px dotted #303c3033;
    border-bottom: 1px dotted #30303c33;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s;
}
li:nth-child(odd) {
    background-color: rgba(22, 160, 133, 0.15); /* Former hover color */
    border-left: 2px solid #1685a0;
    border-right: 2px solid #16a085;
    border-bottom: 1px dotted #303c3033;
    border-top: 1px dotted #30303c33;
}
li:nth-child(even) {
    background-color: rgba(44, 62, 80, 0.2); /* Former normal bg */
}

/* ============================
   Links and Buttons
   (taken from saltp, overrides subp)
============================ */
a {
    color: #ee5928;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
}

button, .btn {
    font-family: 'Jura', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.05rem;
    line-height: 1.333;
    color:  #ee5928;
    background: radial-gradient(circle at center,
    #00f00055 0%,
    #2adc9c 25%,
    #36f0c5 50%,
    #1abc9c 75%,
    #00f00033 100%
  );
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px -1px 1px #000000, -1px 1px 1px #333333,
                 1px 1px 1px #000000, -1px -1px 1px #333333,
                 1px -1px 1px #000000, -1px 1px 1px #333333,
                 -1px -1px 1px #000000, 1px 1px 1px #333333;
}
button:hover,
.btn:hover {
    background: radial-gradient(circle at center,
    #30707095 0%,
    #2adc9c 25%,
    #95f595 50%,
    #1abc9c 75%,
    #309070ff 100%
  );
    transform: scale(1.05);
    box-shadow: 6px -6px 9px #dddddd4f, -6px 6px 9px #dddddd4f,
                6px 6px 9px #dddddd4f, -6px -6px 9px #dddddd4f,
                0px 8px 16px rgba(153, 100, 100, 0.521);
    text-shadow: 1px -1px 1px #000000, -1px 1px 1px #333333,
                 1px 1px 1px #000000, -1px -1px 1px #333333,
                 1px -1px 1px #000000, -1px 1px 1px #333333,
                 -1px -1px 1px #000000, 1px 1px 1px #333333;
    border-radius: 12px;
    border: 1px solid #000000;
    min-width: 160px;
    text-decoration: none;
}

/* ============================
   Special Containers
============================ */
/* From saltp (overrides subp where different) */
.bahx {
    border-radius: 12px;
    width: 90vw;
    max-width: 1200px;
    min-height: 348px;
    border: none;
    background: #00000000;
    text-align: center;
    margin: 1rem auto;
    color: #b0b0b0;
    padding: 0.69rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* subp’s .select (saltp doesn’t have it) */
.select {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.33rem;
}

/* subp’s iframe-container styles (saltp doesn’t have these) */
.iframe-container {
    flex: 1;
    border-radius: 12px;
    padding: 0;
    font-family: 'Jura', sans-serif;
    width: 100%;
    height: 100vh;
    margin-top: 1rem;
    background: #00000000;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.iframe-container iframe {
    width: 100%;
    height: 100vh;
    border: none;
    display: none;
    transition: opacity 0.5s ease;
    background: #00000000;
    border-radius: 12px;
    overflow: auto;
}
.iframe-container iframe.visible {
    display: block;
    opacity: 1;
    border: solid 1px #000000;
    border-radius: 12px;
}

/* subp’s #topp2 (unique) */
#topp2 {
    font-family: Jura, sans-serif;
    font-size: 0.87rem;
    font-weight: bold;
    letter-spacing: 0.005rem;
    line-height: 1.033;
    color: #ee5928;
    margin-top: 0.333rem;
}

/* subp’s dropdown and #topp (unique) */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #90905050;
    border-radius: 12px;
    border: 1px solid #000000;
    min-width: 222px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    font-family: 'Jura', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.05rem;
    line-height: 1.333;
    color: #ee5928;
    background: radial-gradient(circle at center,
    #00f00055 0%,
    #2adc9c 25%,
    #36f0c5 50%,
    #1abc9c 75%,
    #00f00033 100%
  );
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    text-shadow: 1px -1px 1px #000000, -1px 1px 1px #333333,
                 1px 1px 1px #000000, -1px -1px 1px #333333,
                 1px -1px 1px #000000, -1px 1px 1px #333333,
                 -1px -1px 1px #000000, 1px 1px 1px #333333;
    text-decoration: none;
    display: inline-flex;
}
.dropdown-content a:hover {
    background: radial-gradient(circle at center,
    #30707095 0%,
    #2adc9c 25%,
   #95f595 50%,
    #1abc9c 75%,
    #309070ff 100%
  );
    display: inline-flex;
    transform: scale(1.05);
    box-shadow: 6px -6px 9px #dddddd4f, -6px 6px 9px #dddddd4f,
                6px 6px 9px #dddddd4f, -6px -6px 9px #dddddd4f;
    text-shadow: 1px -1px 1px #000000, -1px 1px 1px #333333,
                 1px 1px 1px #000000, -1px -1px 1px #333333,
                 1px -1px 1px #000000, -1px 1px 1px #333333,
                 -1px -1px 1px #000000, 1px 1px 1px #333333;
    border-radius: 12px;
    border: 1px solid #000000;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(153, 100, 100, 0.521);
    text-decoration: none;
}
.dropdown-content.show {
    display: block;
}

#topp {
    background: radial-gradient(circle at center,
    #00f00055 0%,
    #2adc9c 25%,
    #36f0c5 50%,
    #1abc9c 75%,
    #00f00033 100%
  );
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    border-left: 2px solid #16a085;
    border-right: 2px solid #16a085;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#topp:hover {
    background: radial-gradient(circle at center,
    #30707095 0%,
    #2adc9c 25%,
    #95f595 50%,
    #1abc9c 75%,
    #309070ff 100%
  );
}
#topp h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 1px -1px 1px #000000, -1px 1px 1px #333333,
                 1px 1px 1px #000000, -1px -1px 1px #333333,
                 1px -1px 1px #000000, -1px 1px 1px #333333,
                 -1px -1px 1px #000000, 1px 1px 1px #333333;
    -webkit-text-stroke: #40100f;
    color:  #ee5928;
}

/* ============================
   Responsive Adjustments
   (saltp’s sizes override subp, but keep .iframe-container)
============================ */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem; /* from saltp */
    }
    h2 {
        font-size: 1.3rem;
    }
    section {
        padding: 0.75rem;
    }
    button, .btn {
        width: 100%;
    }
    .iframe-container {
        height: 100vh; /* from subp, keep it */
    }
}

/* ============================
   Force li and p text left
   =========================== */
li, p {
    text-align: left;
}
/* 1) Make H2/H3 smaller and more readable */
h2, h3 {
  font-family: 'Jura', sans-serif;  /* or 'Jura', if you prefer */
  line-height: 1.4;                   /* tighter but still readable */
  text-align: center;                 /* if you still want them centered */
}

h2 {
  font-size: 1.11rem;                  /* adjust as desired */
}

h3 {
  font-size: 0.99rem;
}

/* 2) Fix the faint “.xyz” in the main heading */
#topp h1 sub,
#topp h1 sub small {
  opacity: 1 !important;   /* override any existing sub/sup opacity */
  color: #95f595;          /* match your base text color, or pick another */
}
/* ===== POEM-SPECIFIC STYLES ===== */
/* Add to p.css */
.poem-container {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: 'Jura', sans-serif;
  background: #faf8f5;
  color: #222;
}

.poem-container h1 {
  font-family: 'Playfair Display SC', serif;
  font-weight: 400;
  font-size: 2.8rem;
  color: #222 !important;
  text-shadow: none !important;
  margin: 2rem 0;
}

.poem-container section {
  margin: 1.5rem 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.poem-container em {
  font-style: italic;
  color: #666;
}

/* Tab system matching original */
.language-tabs {
  margin: 2rem 0;
  border-bottom: 2px solid #ee5928;
  text-align: center;
}

.tab-button {
  background: none;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  font-family: 'Playfair Display SC', serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #222;
}

.tab-button.active {
  border-bottom: 3px solid  #ee5928;
  font-weight: 700;
  color:#ee5928;
}
