/* CHANGING DEFAULT STYLING OF ELEMENTS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
}

html {
    background-color: #f5f5f5;

}

body {
    background-image: url('/imgs/gold-marble.webp'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; 
    margin: 0; 
    background-attachment: fixed;
    width: 100%;
}

html,
body {
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center; /* Centers both horizontally and vertically */
}

footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    line-height: 120%;
    background: black;
    text-align: center;
    width: 100%;
    color: #eeeeee;
    padding: 20px 0;
}

h1 {
    font-size: 180%;
    font-family: 'FlowerFont', sans-serif;
}

h2 {
    font-size: 130%;
}

p:not(.no-m) {
    margin-top: 0.5em;
}

p {
    display: inline-block;
    color: #555555;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
    color: #3050ee;
    font-weight: bold;
    text-decoration: none;
}


/* CSS CLASSES */

.ctr {
    display: inlock-block;
    width: 100%;
    text-align: center;
}

.etsy-button {
    background: linear-gradient(180deg, #FFDF00 0%, #E6C200 30%, #D89000 70%, #8B5E00 100%);
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 6px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3), 
                inset 2px 2px 4px rgba(255, 255, 255, 0.4), 
                inset -2px -2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* Glossy Highlight */
.etsy-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.3) 100%);
    opacity: 0.5;
    pointer-events: none;
}

/* Hover Effect */
.etsy-button:hover {
    background: linear-gradient(180deg, #FFEA00 0%, #FFD700 30%, #E6C200 70%, #A87500 100%);
    transform: scale(1.05);
    box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.4), 
                inset 3px 3px 5px rgba(255, 255, 255, 0.5), 
                inset -3px -3px 5px rgba(0, 0, 0, 0.5);
}

.from-bot {
    position: absolute;
    bottom: -14px;
    left: 0;
    display: inline-block;
    width: 100%;
}

.hike-easy {
    color: darkgreen;
}

.hike-hard {
    color: darkred;
}

.hike-int {
    color: darkorange;
}

.image-rotator {
    position: relative;
    height: 100%; /* Adjust based on your layout */
    height: 100%;
}

.image-rotator img {
    width: 100%; /* Each image takes up 90% of its container */
    height: 200px; /* Set a fixed height to standardize image sizes */
    object-fit: cover; /* Crops images to fit the box */
    position: absolute;
    top: 0;
    left: 0;
}

.image-rotator img:nth-child(2) {
    animation: fade 25s infinite;
    box-shadow: none;
}

.mt-1 {
    margin-top: 1em;
}

.mt-2 {
    margin-top: 2em;
}

.r-15p {
    position: relative;
    left: 15%;
}

.ptr {
    cursor: pointer;
}

.sbs {
    position: relative;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sbs li {
    flex: 1; /* Equal width for all items */
    text-align: center; /* Optional: Align text */
    padding: 10px;
    font-weight: bold;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.sbs-img {
    width: 100%; /* Each image takes up 90% of its container */
    height: 200px; /* Set a fixed height to standardize image sizes */
    object-fit: cover; /* Crops images to fit the box */
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-style: italic;
    color: #555555;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
}

.tour-tbl {
    margin-right: auto;
    margin-left: auto;
    width:70%;
    border-collapse: collapse;
}

.tour-tbl th,
.tour-tbl td {
    border: black solid 1px;
}

.tour-tbl th {
    background-color: darkgreen;
    font-weight: bold;
    color: white;
}

.tour-tbl tr:nth-child(even) {
    background: #d0d0d0;
}

.tour-tbl tr:nth-child(odd) {
    background: #e0e0e0;
}

.tour-tbl-level {
    font-style: italic;
}

.tour-tbl-name {
    color: darkgreen;
}

.w-100 {
    display: block;
    width: 100%;
}

.wrapper {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 960px;
    height: 746px; /* Adjust height */
    background: #eeeeee; /* Just for visibility */
    padding: 10px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
    border: black solid 1px;
}

/* FONTS */

@font-face {
    font-family: 'FlowerFont';
    src: url('/fonts/flower-font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@keyframes fade {
    0% { opacity: 0; }
    35% { opacity: 0; }
    50% {opacity: 1; }
    85% { opacity: 1; } 
    100% {opacity: 0; }
}
