/*========================
=         Colors         =
========================*/
:root {
    --black: black;
    --dark: #1a2613;
    --brown: #8A5019;
    --gold: #DB9A40;
    --beige: #FFF5DB;
    --grey: #b5b5b5;
    --greyPurple: #64606d;
}

/*========================
=          Body          =
========================*/
body {
    font-family: "Roboto", sans-serif; 
    background-color: var(--dark);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    color: white;
    padding-top: 20px;
}

/*========================
=        Navbar           =
========================*/
.custom-navbar {
    background-color: transparent;
    color: white;
}

.navbar-brand {
    font-size: 35px;
    font-family: Georgia, serif;
    color: white;/* slightly smaller for brand */
}

.custom-navbar a.btn {
    font-size: 14px; /* smaller button text */
    padding: 5px 12px; /* reduce padding for smaller button size */
}


@keyframes movingGlow {
  0%   { box-shadow: 0 0 10px 2px rgba(219,154,64,0.6); }
  25%  { box-shadow: 6px 0 15px 3px rgba(219,154,64,0.7); }
  50%  { box-shadow: 0 6px 15px 3px rgba(219,154,64,0.8); }
  75%  { box-shadow: -6px 0 15px 3px rgba(219,154,64,0.7); }
  100% { box-shadow: 0 -6px 15px 3px rgba(219,154,64,0.6); }
}
/*========================
=      Task Ribbon       =
========================*/
.task-ribbon {
    height: 50px;
    display: flex;
    gap: 10px;
    background-color: var(--dark);
    padding: 0 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.task-ribbon a.btn {
    flex: 1;
    height: 100%;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: transparent;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.task-ribbon a.btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px 6px rgba(255, 255, 255, 0.4);
    z-index: 10;
}

/*========================
=       Hero Sections     =
========================*/
.hero-container,
.jumbotron.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
    font-family: Georgia, serif;
}


    
.jumbotron.hero {
    width: 100vw;
    min-height: 600px;
    margin: 0;
    padding: 3rem 0;
    font-family: Georgia, serif;
}

.jumbotron.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    font-family: Georgia, serif;
    z-index: 0;
}

.top-stock {
    position: relative;
    background-image: url('Assets/images/coins.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    max-height: 300px;
    margin: 0;
    padding: 3rem 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    text-align: center;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: Georgia, serif;
}

.Hero-brand-title {
    font-size: 25px !important;
    font-family: Georgia, serif !important;
    color: white;/* slightly smaller for brand */
}

/*========================
=     Image Overlays      =
========================*/
.image-buttons-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    pointer-events: auto;
}

.image-buttons-overlay .btn {
    width: 100%;
    border-radius: 12px;
    min-width: 120px;
}

.rounded-img {
    border-radius: 12px;
}

.img-40vh {
    height: 70vh;      /* 80% of viewport height */
    width: auto;       /* keeps aspect ratio */
    border-radius: 12px; /* optional, rounded corners */
    /* object-fit: cover;  ensures it fills height nicely */
}

.icon-img {
    width: 40px;       /* icon width */
    height: 40px;      /* icon height */
    object-fit: cover; /* ensures the image scales correctly without distortion */
    border-radius: 8px; /* optional: rounded corners for icons */
}

.img-cropped {
  width: 100%;        /* fill the column width */
  height: 100%;       /* fill the column height */
  object-fit: cover;  /* crop to fit without distortion */
  border-radius: 12px; /* optional rounded corners */
}
/*========================
=    Snap Sections       =
========================*/
.scroll-container {
  scroll-snap-type: y mandatory; /* snap vertically (y-axis) */
  overflow-y: scroll;            /* enable scrolling */
  height: 100vh;                 /* full viewport height */
  scroll-behavior: smooth;       /* smooth transitions */
}

.snap-section {
  scroll-snap-align: start;      /* where the snap happens */
  height: 100vh;                 /* each section fills the screen */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: white;
}

/*========================
=         Sections        =
========================*/
.section_feature {
    background-color: rgba(18, 26, 18);
}

.section {
    padding: 60px 0;
}

.section .lead {
    color: var(--grey);
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 500;
    line-height: 28px;
}

.section .icon {
    width: 42px;
    height: 42px;
}

.section .sub-title {
    color: var(--grey);
}


/*========================
=         Hamburger          =
========================*/
/* Task Hamburger */
.task-hamburger {
  position: relative;
  display: inline-block;
  margin-right: 15px;
}

/* Hamburger icon styling */
.hamburger-icon {
  font-size: 28px;
  cursor: pointer;
  color: #DB9A40;
  padding: 10px 15px;
  background-color: var(--dark);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger-icon:hover {
  box-shadow: 0 0 20px 6px rgba(219, 154, 64, 0.6);
  transform: scale(1.1);
}

/* Task menu hidden by default */
.task-menu {
  display: none;
  position: absolute;
  top: 50px; /* below the hamburger icon */
  left: 0;
  flex-direction: column;
  background-color: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1050;
  min-width: 180px;
  overflow: hidden;
}

/* Menu links */
.task-menu a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.task-menu a:hover {
  background-color: rgba(219,154,64,0.2);
}

/* Show menu on hover */
.task-hamburger:hover .task-menu {
  display: flex;
}
.task-hamburger .task-menu {
  z-index: 1050; /* higher than fixed-top navbar (1030) */
}

.task-hamburger {
  position: relative; /* so dropdown absolute positions properly */
}
.task-menu {
  position: absolute;
  top: 50px; /* below hamburger icon */
  left: 0;
}

/*========================
=         Tables          =
========================*/
table, th, td {
    border: 1px solid var(--gold);
}

table.bordered {
    border-collapse: collapse;
}

table.bordered td,
table.bordered th {
    border: 1px solid #000000;
    padding: 10px;
    border-radius: 4px;
}

/*========================
=          Forms          =
========================*/
#welcome, #form {
    background-color: rgba(18, 26, 18);
    border: 3px solid var(--beige);
    padding: 40px;
    margin: 25px auto 0 auto;
    border-radius: 4px;
}

#form {
    width: 28%;
}

#welcome {
    width: 68%;
}

input {
    width: 90%;
    border-radius: 4px;
    border: 3px solid var(--beige);
    padding: 5px;
}

#btn {
    width: 100%;
    color: white;
    background-color: var(--gold);
    padding: 10px;
    font-weight: 700;
    font-size: larger;
    border-radius: 12px;
}

#btn_nb {
    padding: 0 1rem;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 12px;
}

.hero-btn {
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

form label {
    color: rgb(100, 100, 100);
    font-size: 18px;
    font-weight: 500;
}

.custom-btn-primary {
  background-color: var(--gold);
  font-size: 14px;
  color: white;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.custom-btn-primary:hover {
  animation: movingGlow 3s linear; /* plays once over 3 seconds */
  color: white;
  animation-iteration-count: 1;    /* explicitly play once */
  animation-fill-mode: forwards;   /* keeps the final state after animation */
}

.custom-btn-secondary {
  background-color: transparent;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 500;
  color: white;
  border-radius: 1px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.custom-btn-secondary:hover {
  animation: movingGlow 3s linear; /* plays once over 3 seconds */
  color: white;
  animation-iteration-count: 1;    /* explicitly play once */
  animation-fill-mode: forwards;   /* keeps the final state after animation */
}

.custom-btn-primary-glow {
  background-color: var(--gold);
  font-size: 18px;
  color: white;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: movingGlow 3s infinite linear; /* plays once over 3 seconds */
  animation-fill-mode: forwards;   /* keeps the final state after animation */
}


/*========================
=        Media Queries    =
========================*/
@media screen and (max-width: 1350px) {
    #form { width: 40%; }
}

@media screen and (max-width: 1100px) {
    #form { width: 50%; }
}

@media screen and (max-width: 700px) {
    #form { width: 80%; }
}

/*========================
=      Miscellaneous      =
========================*/
#ad-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

h1 { text-align: center; }
.col-lg-8.position-relative { position: relative; }
.box { padding: 30px; border-radius: 4px; background-color: #000fff; }
.box-shadow { box-shadow: 0 0 33px 0 rgba(15, 22, 33, 0.1); }
