@charset "UTF-8";

/* Body */
body {
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    background-color: var(--white);
    margin: 0;
}

/* Global Variables */
:root {
    --white: #FFFFFF;
    --dark-gray: #5D5E5D;
    --light-gray-text: #A3A3A3;
    --medium-gray-bg: #B3B3B3;
    --black: #000000;
    --accent-blue: #6DC7D0; /* For button hover */
    --gold: #A77B0E; /* For lbl-toggle */
    --light-gold: #FAE042; /* For lbl-toggle background */
    --dark-gold: #7C5A0B; /* For lbl-toggle hover */
    --footer-bg: #717070; /* From copyright background */
    --border-dark: #353635; /* Header border */
    --thumbnail-bg: #F8F8F8;
    --border-radius: 3px;
}

/* Container */
.container {
    width: 90%;
    margin: 0 auto; /* Shorthand for margin-left: auto; margin-right: auto; */
    background-color: var(--white);
}

/* Header */
header {
    width: 100%;
    height: 8%;
    background-color: var(--dark-gray);
    border-bottom: 1px solid var(--border-dark);
}

.logo {
    color: var(--white);
    font-weight: bold;
    letter-spacing: 4px;
    text-align: center;
    padding-top: 15px;
    line-height: 2em;
    font-size: 22px;
    margin: 0 auto; /* Shorthand for margin-left/right auto */
}

.hero_header {
    color: var(--white);
    text-align: center;
    margin: 0;
    letter-spacing: 4px;
}

/* About Section */
.text_column {
    width: 90%;
    text-align: center;
    font-weight: lighter;
    line-height: 25px;
    float: center;
    /*padding: 0 20px; /* Shorthand for padding-left/right */
    color: var(--light-gray-text);
}

.gallery {
    clear: both;
    display: inline-block;
    width: 100%;
    background-color: var(--white);
    padding-bottom: 35px;
    padding-top: 0;
    margin-top: -5px;
    margin-bottom: 0;
    vertical-align: top;
    height: auto; /* Removed !important unless absolutely necessary */
}

.thumbnail {
    width: 23%;
    text-align: center;
    float: left;
    margin: 35px 1% 0 1%; /* Shorthand: top, right, bottom, left */
    background-color: var(--thumbnail-bg);
    padding: 20px 0; /* Shorthand: top/bottom 20px, left/right 0 */
    border-radius: var(--border-radius);
    border-bottom: 4px solid var(--white);
    height: 375px;
}

.gallery .thumbnail h4 {
    margin: 5px 0; /* Shorthand for margin-top/bottom */
    color: var(--white);
    text-align: left;
    padding: 0 20px; /* Shorthand for padding-left/right */
}

.gallery .thumbnail p {
    margin: 0;
    color: var(--medium-gray-bg);
    text-align: left;
    padding: 0 20px; /* Shorthand for padding-left/right */
}

/* More info */
.intro {
    background-color: var(--white);
    padding-bottom: 35px;
    display: inline-block; /* Combined from two .intro rules */
}

.column {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    float: left;
}

.intro .column h3 {
    color: var(--black);
    text-align: center;
}

/* Combined duplicate .intro .column p rules */
.intro .column p {
    color: var(--black);
    line-height: 25px;
    font-weight: lighter;
    width: 80%;
    margin-top: 4%;
}

.cards {
    background-color: var(--medium-gray-bg);
    height: 200px;
    max-width: 400px;
    max-height: 200px;
    opacity: 0.8;
	object-fit: contain;
}

.button {
    width: 200px;
    margin: 40px auto auto auto; /* Adjusted shorthand */
    padding: 20px 10px; /* Adjusted shorthand */
    text-align: center;
    vertical-align: middle;
    border-radius: 0; /* Shorthand for 0px */
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    border: 3px solid var(--white);
    color: var(--white);
    transition: all 0.3s linear;
}

.button:hover {
    background-color: var(--accent-blue);
    color: var(--white);
    cursor: pointer;
}

.copyright {
    text-align: center;
    padding: 20px 0; /* Shorthand for top/bottom */
    background-color: var(--footer-bg);
    color: var(--white);
    text-transform: uppercase;
    font-weight: lighter;
    letter-spacing: 2px;
    border-top-width: 2px; /* Consider if this needs to be 'border-top: 2px solid color;' */
}

footer {
    background-color: var(--medium-gray-bg);
    padding: 60px 0; /* Shorthand for top/bottom */
}

.profile {
    width: 20%;
    margin-left: 0;
}

.gallery .thumbnail .tag {
    color: var(--dark-gray);
    padding: 4px 20px; /* Shorthand for top/bottom and left/right */
    text-align: left;
}

/* Collapsible Component Styles (Moved outside media queries) */
input[type='checkbox'] {
    display: none;
}

.lbl-toggle {
    display: block;
    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
    color: var(--gold);
    background: var(--light-gold);
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.25s ease-out;
}

.lbl-toggle:hover {
    color: var(--dark-gold);
}

.lbl-toggle::before {
    content: ' ';
    display: inline-block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid currentColor;
    vertical-align: middle;
    margin-right: .7rem;
    transform: translateY(-2px);
    transition: transform .2s ease-out;
}

.collapsible-content {
    max-height: 0px;
    overflow: auto;
    transition: max-height .25s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 100vh;
}

.toggle:checked + .lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}

.toggle:checked + .lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}


/* Media Queries */

/* Common styles for small screens (Mobile to Small Tablets) */
@media (max-width: 767px) {
    .logo {
        margin: 13px auto 0 auto; /* Common margin for small screens */
        width: 100%; /* Common width */
    }

    .text_column {
        width: 100%;
        text-align: justify; /* Or left, depending on desired behavior */
        padding: 0 20px; /* Consistent padding */
    }

    .thumbnail {
        width: 100%; /* Common width */
    }

    .column {
        width: 100%; /* Common width */
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .intro .column p {
        width: 80%; /* Base width for small screens */
        margin-left: 0;
        padding-left: 0;
        text-align: center; /* As found in original for small tablets */
    }

    .profile {
        width: 100%; /* Common width */
    }
}

/* Mobile Specific (max-width: 320px) */
@media (max-width: 320px) {
    .hero_header {
        padding: 0 10px; /* Shorthand */
        line-height: 22px;
    }
    /* text_column and thumbnail are handled by common (max-width: 767px) now, if you want specific overrides, add them here. */
}

/* Small Tablets Specific (min-width: 321px and max-width: 767px) */
@media (min-width: 321px) and (max-width: 767px) {
    /* Most styles are handled by the common (max-width: 767px) now.
       Only add overrides here if they are different from the common or desktop. */
    .intro .column p {
        width: 90%; /* Specific override for this range */
    }
}

/* Small Desktops */
@media (min-width: 768px) and (max-width: 1096px) {
    .text_column {
        width: 90%; /* Original had 100% then 90%, simplified to 90% */
        margin: 0;
        padding: 20px;
    }
    .thumbnail {
        width: 48%;
    }
    .intro .column p {
        width: 80%;
    }
    .list {
        display: none;
        height: auto;
        margin: 0;
        float: left;
    }
}