/* Colour Palette. Go down list from pale, through bold, to dark - or the other way around */
:root {
    --color-H1andhighlights: #004E00; /* H1 titles and some highlights */
    --color-H2andlinks: #FFFFFF; /* H2 titles, links, and some highlights */
    --color-textcolour: #B7FFFF; /* most p text*/
    --color-H3andhighlights: #001D34; /* H3 titles and some highlights. */
    --color-H4andhighlights: #004E00; /* H4 titles and some highlights */
    --color-H5andp: #FFFFFF; /* H5 and some accent text */
    --color-H6andhighlights: #001D34; /* H6 and could be used for highlights */
    --color-bgcolour: #009828; /* Main BG colour */
}


/* Base Styles */
body {
  margin: 0;
  background-color: hsl(0, 0%, 100%);
  color: hsl(0, 0%, 10%);
  line-height: 1.5;

    font-family: 'Delicious Handrawn', Verdana, Arial, 'Times New Roman', Georgia, Tahoma;
    /* If you're using a neato web font, don't forget to change the link on the .php page! */
}

/* You might also want to apply it to headings */
h1, h2, h3, h4, h5 {
    font-family: 'Delicious Handrawn', Verdana, Arial, 'Times New Roman', Georgia, Tahoma;
}


h6, p {
    font-family: Verdana, Georgia, Tahoma, Arial, 'Times New Roman'; /* use font */
}

/* Specs of incidental boxes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Tahoma, Verdana, Arial, 'Times New Roman';
}

body {
    background-color: var(--color-bgcolour);
    color: var(--color-textcolour);
    line-height: 1.6;
    overflow-x: hidden;
    /* Main body background */
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(90, 46, 138, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(33, 118, 174, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 40% 80%, rgba(42, 157, 143, 0.1) 0%, transparent 20%);
    background-attachment: fixed;
}

a {
    color: var(--color-H5andp);
    text-decoration: none;
    transition: color 0.3s;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation bar. To tinker with linear gradient, look at RGBA page of W3schools */
header {
    background: linear-gradient(to bottom, rgba(110, 12, 26, 0.25), rgba(110, 120, 26, 0.25));
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-H4andhighlights);
    padding: 15px 0;
}

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

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    font-size: 1.8rem;
    color: var(--color-H1andhighlights);
}

.logo-placeholder i {
    font-size: 2.2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-size: 1.1rem;
    padding: 8px 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-H2andlinks);
    transition: width 0.3s;
}

nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-textcolour);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 500px;
    background: 
        linear-gradient(to right, rgba(11, 12, 26, 0.85), rgba(90, 46, 138, 0.4)),
        url('Header_Rainforest.png') 
        no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-H2andlinks);
    text-shadow: 0 0 15px rgba(233, 196, 106, 0.5);
}

.hero p {
    font-size: 1.3rem;
    color: var(--color-H5andp);
    margin-bottom: 30px; /* space between paragraphs */
}

/* Headings Demonstration */
.headings-demo {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-H5andp);
    margin-bottom: 40px; /* between paragraphs */
    /* Background pattern for headings section */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(90, 46, 138, 0.08) 0%, transparent 50%),
        linear-gradient(to right, transparent 95%, rgba(233, 196, 106, 0.05) 100%);
    background-size: 200px 200px, 100% 100%;
    border-radius: 10px;
    padding: 40px 30px;
}

.headings-demo h1 {
    color: var(--color-H1andhighlights);
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.headings-demo h2 {
    color: var(--color-H2andlinks);
    font-size: 2.2rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.headings-demo h3 {
    color: var(--color-H3andhighlights);
    font-size: 1.8rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.headings-demo h4 {
    color: var(--color-H4andhighlights);
    font-size: 1.5rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

.headings-demo h5 {
    color: var(--color-H5andp);
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 10px;
    font-style: italic;
}

.headings-demo h6 {
    color: var(--color-H6andhighlights);
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: normal;
}

p {
  line-height: 32px;   /* within paragraph */
  margin-bottom: 15px; /* between paragraphs */
  }

li { padding-left: 1em; 
}


/* Main Content with Images and Text */
.content-section {
    padding: 40px 0;
    position: relative;
}

/* Background for main content sections */
.content-section:nth-child(odd) {
    background-image: 
        linear-gradient(to bottom, transparent, rgba(11, 12, 26, 0.7) 10%, rgba(11, 12, 26, 0.7) 90%, transparent),
        url('Background_Wonky_Walnuts.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: multiply;
    border-radius: 15px;
    margin: 30px 0;
    padding: 50px 30px;
}

.content-section:nth-child(even) {
    background-image: 
        linear-gradient(to bottom, transparent, rgba(200, 200, 200, 0.8) 10%, rgba(11, 12, 26, 0.8) 90%, transparent),
        url('Background_Peaceful_Alpine.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: multiply;
    border-radius: 15px;
    margin: 30px 0;
    padding: 50px 30px;
}

.section-title {
    color: var(--color-H2andlinks);
    font-size: 2.5rem;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-H4andhighlights);
    background: linear-gradient(90deg, transparent, rgba(90, 46, 138, 0.2), transparent);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.image-item {
    flex: 1 1 300px;
    background: rgba(11, 12, 26, 0.8);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-H4andhighlights);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
}

.image-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(90, 46, 138, 0.6);
}

.image-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
}

.image-credit {
    padding: 15px;
    font-size: 0.9rem;
    color: var(--color-H4andp);
    background-color: rgba(30, 30, 50, 0.7);
    text-align: center;
}

.image-credit a {
    font-style: italic;
}

.wrapping-text {
    margin: 40px 0;
    background: rgba(11, 12, 26, 0.7);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--color-H3andhighlights);
    margin-bottom: 30px; /* space between paragraphs */
}

.float-image {
    float: left;
    width: 300px;
    height: auto;
    margin: 0 25px 15px 0;
    border-radius: 8px;
    shape-outside: margin-box;
    border: 2px solid var(--color-H3andhighlights);
}

/* Blockquote */
blockquote {
    border-left: 5px solid var(--color-H1andhighlights);
    padding: 25px;
    margin: 40px 0;
    background: linear-gradient(to right, rgba(90, 46, 138, 0.2), transparent);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-textcolour);
    border-radius: 0 10px 10px 0;
    background-image: 
        radial-gradient(circle at 10% 50%, rgba(233, 196, 106, 0.05) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

blockquote:before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 100px;
    color: rgba(233, 196, 106, 0.1);
    z-index: 0;
}

blockquote footer {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--color-H5andp);
    text-align: right;
    position: relative;
    z-index: 1;
}

/* Table */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background-color: rgba(11, 12, 26, 0.9);
    color: var(--color-textcolour);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(90, 46, 138, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(90, 46, 138, 0.3);
}

.styled-table thead {
    background: linear-gradient(to right, var(--color-H6andhighlights), var(--color-H6andhighlights));
}

.styled-table th {
    padding: 18px 15px;
    text-align: left;
    font-size: 1.1rem
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.styled-table tbody tr {
    border-bottom: 1px solid rgba(141, 153, 174, 0.2);
    transition: background-color 0.2s;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: rgba(42, 157, 143, 0.08);
}

.styled-table tbody tr:hover {
    background-color: rgba(233, 196, 106, 0.15);
}

.styled-table td {
    padding: 15px;
}

.status-icon {
    color: var(--color-H2andlinks);
}

.status-icon.warning {
    color: var(--color-H1andhighlights);
}

.status-icon.operational {
    color: var(--color-H3andhighlights);
}

.status-icon.uninhabitable {
    color: var(--color-H5andp);
}

/* Video Section */
.video-container {
    margin: 50px auto;
    max-width: 800px;
    text-align: center;
    background: rgba(11, 12, 26, 0.7);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid var(--color-H2andlinks);
    background-color: var(--color-bgcolour);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Marquee */
.marquee-container {
    background-color: rgba(11, 12, 26, 0.9);
    border-top: 2px solid var(--color-H1andhighlights);
    border-bottom: 2px solid var(--color-H1andhighlights);
    padding: 20px 0;
    margin: 50px 0;
    overflow: hidden;
    white-space: nowrap;
    background-image: 
        linear-gradient(45deg, rgba(233, 196, 106, 0.05) 25%, transparent 25%, transparent 50%, rgba(233, 196, 106, 0.05) 50%, rgba(233, 196, 106, 0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    position: relative;
}

.marquee-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-H1andhighlights), transparent);
}

.marquee-container:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-H1andhighlights), transparent);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
    font-size: 1.3rem;
    color: var(--color-H1andhighlights);
    font-weight: bold;
    letter-spacing: 1px;
}

.marquee-content i {
    margin: 0 20px;
    color: var(--color-H2andlinks);
}

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

/* List Section */
.list-section {
    background: rgba(11, 12, 26, 0.7);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    border: 1px solid rgba(90, 46, 138, 0.3);
    background-image: 
        linear-gradient(to right, rgba(33, 118, 174, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(33, 118, 174, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.list-section ul {
    list-style-type: none;
    padding-left: 0;
}

.list-section li {
    padding: 12px 0 12px 40px;
    position: relative;
    border-bottom: 1px dashed rgba(141, 153, 174, 0.3);
    margin-bottom: 10px;
}

.list-section li:before {
    content: '▶';
    position: absolute;
    left: 10px;
    color: var(--color-H3andhighlights);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: rgba(11, 12, 26, 0.95);
    border-top: 1px solid var(--color-H4andhighlights);
    padding: 40px 0 20px;
    margin-top: 60px;
    text-align: center;
    color: var(--color-H5andp);
    background-image: 
        linear-gradient(to bottom, transparent, rgba(90, 46, 138, 0.1) 100%),
        url('Background_Peaceful_Alpine.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .content-section:nth-child(odd),
    .content-section:nth-child(even) {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(11, 12, 26, 0.95);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--color-H4andhighlights);
        backdrop-filter: blur(10px);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .float-image {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .content-section {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .headings-demo h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .image-item {
        flex: 1 1 100%;
    }
    
    .content-section:nth-child(odd),
    .content-section:nth-child(even) {
        padding: 30px 15px;
        margin: 20px 0;
    }
}

