@import url(fontawesome-all.min.css);
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Smooth Background Rotation */
#bg {
    transition: opacity 2s ease-in-out;
    height: 100%;
    left: 0;
    opacity: 0.375;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

#bg div {
    transition: opacity 3s ease;
    background-size: cover;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    width: 150%;
}

#bg div.visible {
    animation: bg 45s linear infinite;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

#bg div.visible.top {
    z-index: 2;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: #000000;
}

/* Sticky Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 1em 2em;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    z-index: 1000;
}

#header h1 {
    font: 2.5em 'Oswald', sans-serif;
    margin: 0;
}

#header p {
    font-size: 1em;
    font-style: italic;
    opacity: 0.8;
    margin: 0 0 0.25em 1em;
}

#bright {
    color: rgba(255, 255, 255, 1) !important;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
    transition: border-bottom 0.2s ease, color 0.2s ease;
}

a:hover {
    color: #1cb495 !important;
    border-bottom: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #ffffff;
}

h1 {
    font-size: 2.5em;
    line-height: 1.5;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* 🛒 Rotated "Shop" Title */
#shop-title {
    position: fixed;
    right: 35px;
    top: 50%;
    transform: translate(50%, -50%) rotate(90deg);
    font-size: 5em;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.5;
    white-space: nowrap;
    z-index: 3;
    user-select: none;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 🛒 Shop Gallery Section */
#shop-gallery {
    width: 100vw;
    padding: 150px 10px 50px 0;
    text-align: center;
}

/* 🎨 Responsive Gallery Grid */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 🖼️ Individual Listing Item */
.listing-item {
    flex: 1 1 300px; /* Responsive size, takes full width on mobile */
    max-width: 350px; /* Prevents excessive stretching on larger screens */
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.listing-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 🖼️ Ensure images fit properly */
.listing-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center top;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* 📌 Listing Titles */
.listing-item h3 {
    font-size: 1.1em;
    margin: 10px;
    color: #333;
}

.listing-item p {
    color: #333;
}

.listing-item p:hover {
    color: #1cb495 !important;
}

/* 🎨 Large Logo Section */
#logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 0 50px 0;
    text-align: center;
}

/* 🖼️ Logo Styling */
#logo-section img {
    max-width: 80%;  /* Takes up to 80% of the viewport width */
    max-height: 600px; /* Limits excessive stretching */
    height: auto;
    object-fit: contain;
    opacity: 0.5; /* Slight transparency for smooth blending */
}

/* Icon */
.icon {
    text-decoration: none;
    border-bottom: none;
    position: relative; }
    .icon:before {
      -moz-osx-font-smoothing: grayscale;
      -webkit-font-smoothing: antialiased;
      display: inline-block;
      font-style: normal;
      font-variant: normal;
      text-rendering: auto;
      line-height: 1;
      text-transform: none !important;
      font-family: 'Font Awesome 5 Free';
      font-weight: 400; }
    .icon > .label {
      display: none; }
    .icon:before {
      line-height: inherit; }
    .icon.solid:before {
      font-weight: 900; }
    .icon.brands:before {
      font-family: 'Font Awesome 5 Brands'; }
  
  /* List */
  ol {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding-left: 1.25em; }
    ol li {
      padding-left: 0.25em; }
  
  ul {
    list-style: disc;
    margin: 0 0 2em 0;
    padding-left: 1em; }
    ul li {
      padding-left: 0.5em; }
  
  /* Icons */
  ul.icons {
    cursor: default;
    list-style: none;
    padding-left: 0; }
    ul.icons li {
      display: inline-block;
      padding: 0 1em 0 0; }
      ul.icons li:last-child {
        padding-right: 0; }
      ul.icons li .icon:before {
        font-size: 1.25em; }
      ul.icons li a {
        color: inherit; }

/* Form */
form {
    margin: 0 0 2em 0; }
    form .message {
      text-decoration: none;
      -moz-transition: opacity 0.2s ease-in-out, -moz-transform 0.2s ease-in-out;
      -webkit-transition: opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
      -ms-transition: opacity 0.2s ease-in-out, -ms-transform 0.2s ease-in-out;
      transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
      -moz-transform: scale(1.05);
      -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
      transform: scale(1.05);
      height: 2.75em;
      line-height: 2.75em;
      opacity: 0; }
      form .message:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        text-transform: none !important;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900; }
      form .message:before {
        margin-right: 0.5em; }
      form .message.visible {
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1; }
      form .message.success {
        color: #1cb495; }
        form .message.success:before {
          content: '\f00c'; }
      form .message.failure {
        color: #ff2361; }
        form .message.failure:before {
          content: '\f119'; }

label {
    color: #fff;
    display: block;
    font-size: 0.9em;
    font-weight: 700;
    margin: 0 0 1em 0;
}

/* Sticky Footer */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark opaque background */
    backdrop-filter: blur(5px);
    padding: 1em 2em 0 2em;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
    z-index: 1000;
}

/* Adjust copyright and icons */
#footer .icons {
    margin-bottom: 0.5em;
}

#footer .copyright {
    font-size: 0.8em;
    list-style: none;
    padding: 0;
    text-align: left;
}

#footer .copyright li {
    border-left: solid 1px rgba(255, 255, 255, 0.25);
    display: inline-block;
    line-height: 1em;
    margin: 0 0 0 0.75em;
    padding: 0 0 0 0.75em;
}

#footer .copyright li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

#footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

#footer a:hover {
    color: #1cb495 !important;
}

/* Scrollbar for web-kit browsers */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

/* Scrollbar handle */
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease-in-out;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Horizontal Scrollbar */
::-webkit-scrollbar-thumb:horizontal {
    background: rgba(255, 255, 255, 0.3);
}

/* 🔹 Firefox Scrollbar (Limited Support) */
* {
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.5);
}

@keyframes bg {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); }
}

@media (max-width: 768px) {
    .gallery-grid {
        flex-direction: column; /* Stack items vertically on mobile */
    }

    .listing-item {
        flex: 1 1 340px;
        width: 90%; /* Make items take up more width on smaller screens */
        max-width: 400px;
        margin: 0 auto; /* Center items */
    }

    #footer {
        padding: 1em 0 0 0;
        text-align: center;
    }

    #footer .copyright {
        text-align: center;
    }

    #logo-section img {
        max-width: 90%; /* Slightly bigger on mobile */
        max-height: 400px; /* Prevents overwhelming the screen */
    }
}
