/* ----------------------- */
/*       MAIN STYLES       */
/* ----------------------- */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none; /* Prevents text highlight on all elements */
    -webkit-tap-highlight-color: transparent; /* Removes tap highlight on mobile */
}

/* Remove horizontal scrollbar on the whole page */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #F9f9f9;
    background-color: #1A1A1A;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    font-family: -apple-system, BlinkMacSystemFont;
    color: #F9f9f9;
    text-align: center;
    font-size: 25px;
}

hr {
    border: none;
    display: block;
    height: 1px;
    background-color: #474747;
    margin: 10px auto;
}

.navbar a {
    text-decoration: none;
}

.navbar a:hover {
    text-decoration: none;
}

h2 {
    text-align: left;
    padding: 20px;
}

h3 {
    text-align: left;
    padding: 20px;
}

/* ----------------------- */
/*   ABOUT PAGE LAYOUT    */
/* ----------------------- */

/* General about-container styling */
/* About Sections */
.container {
    max-width: 90%;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(26, 26, 26, 1); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    display: flex;
    flex-wrap: wrap;              /* Allow items to wrap on smaller screens */
    align-items: stretch;         /* Force all children to have the same height */
    justify-content: center;      /* Center items horizontally */
    transition: background-color 0.5s ease;
    text-align:center;
}

.beta-section,
.about-section {
    background: #1d1d1d;
    padding: 2rem;
    margin: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;   /* Sets a basis of 300px but allows flex-grow/shrink for uniformity */
    height: 400px;      /* Fixed height for all about-sections */
    overflow: auto;     /* Adds scrolling if text overflows */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Keep content aligned at the top */
}

.beta-section h2, 
.about-section h2 {
    color: #3498db;
    margin-bottom: 1rem;
    text-align:center;

}

.beta-section p,
.about-section p,
.about-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: #f8f8f8;  /* High contrast on dark background */
    margin-bottom: 1rem;
}

.beta-section ul, 
.about-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    list-style-position: inside;  /* Ensure bullet points are within the container */
    color: #f8f8f8;
}

/* Sections that should be 50/50 split */
.lp-description,
.lp-description-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    width: 100%;
    gap: 40px;
}

.lp-description > p,
.lp-description-2 > p {
    flex: 1;
    text-align: left;
    padding: 20px;
}

.lp-description > p:last-child,
.lp-description-2 > p:last-child {
    text-align: right;
}

/* The last section (Vision) is full-width */
.lp-description-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    text-align: center;
    padding: 60px 0;
}

.lp-description-3 h3 {
    text-align: center;
    margin-bottom: 20px;
}

/* ----------------------- */
/*      NAVBAR STYLES      */
/* ----------------------- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1A1A1A;
    color: #F9f9f9;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
}

.navbar h1 {
    margin: 0;
    font-size: 24px;
}

.navbar-menu {
    list-style: none;
    display: flex;
}

.navbar-menu li {
    margin: 0 15px;
}

li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.navbar-menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

/* ----------------------- */
/*      CAROUSEL STYLES    */
/* ----------------------- */

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    margin-top: 20px;
}

.image-container img {
    width: 100%;
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ----------------------- */
/*    FORM CONTAINERS      */
/* ----------------------- */

.responsive-container, 
.registration-form, 
.login-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(26, 26, 26, 1); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.5s ease;
}

/* ----------------------- */
/*     FORM ELEMENTS       */
/* ----------------------- */

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
}

label {
    text-align: left;
    font-size: 0.9em;
}

input, select, textarea {
    outline: none;
    background-color: #383838;
    color: #fff;
    padding: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.75em;
    border: 1px solid #464646;
    border-radius: 20px;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #008fd1;
    background-color: #383838;
}

input[type="text"], input[type="password"] {
    background-color: #383838;
    color: #fff;
    border: 1px solid #464646;
    border-radius: 20px;
    padding: 10px;
    width: 100%;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #383838 inset !important;
    -webkit-text-fill-color: #fff !important;
}

input:focus {
    background-color: #383838;
    color: #fff;
    border-color: #008fd1;
    outline: none;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #383838 inset !important;
    -webkit-text-fill-color: #fff !important;
}

input:active, input:focus-visible {
    background-color: #383838 !important;
    color: #fff !important;
    border-color: #008fd1;
}

/* ----------------------- */
/*      BUTTON ELEMENTS    */
/* ----------------------- */

button {
    padding: 10px;
    font-size: 1em;
    background-color: #bc5100;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    outline: none;
}

button:hover {
    background-color: #A74900;
}

button:active {
    transform: scale(0.95);
}

a {
    color: #F9f9f9;
    text-decoration: none;
}

a:hover {
    color: #F9f9f9;
    text-decoration: underline;
}

a:visited {
    color: #F9f9f9;
}

a:active {
    color: #F9f9f9;
}

.privacy-policy h2, .privacy-policy h3, .privacy-policy h4 {
    text-align: left;
    color: #f0f0f0;
}

.privacy-policy p, .privacy-policy ul {
    text-align: left;
    line-height: 1.6;
}

.privacy-policy ul {
    margin-left: 20px;
    text-align: left;
}

.privacy-policy a {
    color: #1e90ff;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

/* ----------------------- */
/*   HERO SECTION STYLES   */
/* ----------------------- */

.hero-section {
    display: flex;
    flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #F9f9f9;
    background-color: #1A1A1A;
    padding: 4rem;
    width: 100%;
}

.hero-left {
    flex: 1;
    max-width: 60%;
    text-align: left;
}

.hero-right {
    flex: 2;
    max-width: 30%;
    text-align: right;
}

.hero-content h1,
.hero-content p {
    margin-bottom: 5px;
    padding: 5px;
}
.hero-content h1 {
    font-weight: 600;
    font-size: 3.0rem;
    color: white;
    position: relative;
    display: inline-block;
    height: 1.2em;
    line-height: 1.2;
    vertical-align: middle;
}

.highlight {
    top: 0;
    font-size: 3.0rem;
    height: 1.2em;
    line-height: 1.2;
    vertical-align: middle;
}

.rotating-text {
    font-weight: 600;
    font-size: 3.0rem;
    color: white;
    display: inline-block;
    height: 1.2em;
    line-height: 1.2;
    vertical-align: middle;
}

.rotating-text .word {
    position: absolute;
    display: inline-block;
    opacity: 0;
    animation: rotateWords 15s linear infinite;
}

.hero-description {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #f9f9f9;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1A1A1A;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    color: #f9f9f9;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.btn-primary:hover {
    background-color: #202020;
    text-decoration: none;
}

.rotating-text .word:nth-child(1) { animation-delay: 0s;  }
.rotating-text .word:nth-child(2) { animation-delay: 3s;  }
.rotating-text .word:nth-child(3) { animation-delay: 6s;  }
.rotating-text .word:nth-child(4) { animation-delay: 9s;  }
.rotating-text .word:nth-child(5) { animation-delay: 12s; }

.alizarin    { color: #e74c3c; }
.peter-river { color: #3498db; }
.wisteria    { color: #8e44ad; }
.emerald     { color: #2ecc71; }
.sun-flower  { color: #f1c40f; }

@keyframes rotateWords {
    0%   { opacity: 0; transform: translateY(100%); }
    10%  { opacity: 1; transform: translateY(0%);   }
    30%  { opacity: 1; transform: translateY(0%);   }
    40%  { opacity: 0; transform: translateY(-100%); }
    100% { opacity: 0; transform: translateY(-100%); }
}

/* ----------------------- */
/*   NAVBAR EMBEDDED STYLES */
/* ----------------------- */

.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
}

.navbar-menu {
    list-style: none;
    display: flex;
    padding-left: 20px;
    margin: 0;
}

.navbar-menu li {
    position: relative;
    margin: 0 15px;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.425);
    list-style: none;
    padding: 10px 0;
    border-radius: 15px;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
}

.dropdown-menu li:hover {
    border-radius: 15px;
    background-color: rgba(31, 31, 31, 0.7);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    transition: color 0.1s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-right {
    margin-left: auto;
    display: flex;
}

/* ----------------------- */
/*  PRODUCT DEMO IMAGES    */
/* ----------------------- */

.product-demo-images {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.product-img {
    width: auto;
    height: 600px;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

.image-buttons {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 70px;
}

.image-buttons button {
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #1A1A1A;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    color: #f9f9f9;
    cursor: pointer;
}

.image-buttons button:hover {
    background-color: #202020;
}