html {
  scroll-behavior: smooth;
}

/* Page setup */
body {
  margin: 0; 
  font-family: 'Inter', sans-serif;
  background-color: #6A0909;
}

/* applies to ALL elements */
* {
    box-sizing: border-box;
    /* makes width and height include padding and borders*/

    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    
}

/*============================*/
/* INDEX NAVIGAGTION */
/*============================*/
.index a{
    text-decoration: none;
    /* removes underline */
    color:#FBC52A;
    /* Gold color for navigator links*/
}

.index__container{
    color:#FBC52A;
    height: 20px;
    justify-content: space-between;
    /* Intended for flex alignment (works if display: flex is applied as well)*/
    width: 100%;
    max-width: 1000px;
    padding-left: 10vw;
    padding-bottom: 5%;
    padding-top: 5%;
}

.index{
    display: flex;
    /*places navigator items in a row*/
    align-items: center;
    /*Vertically aligns navigator items*/
    list-style: none;
    text-align: left;
    gap: 10px;
}

/*============================*/
/* TOP THREE RESOURCES HEADING */
/*============================*/
.topThreeResources__scrollArrow{
    text-align: center;
    align-items: center;
    padding-top: 25vw;
    padding-bottom: 3vw;
}

/* Paragraph under headline */
.topThreeResources__details{
    padding-top: 2%;
    padding-left: 10vw;
}

/* main hero container */
.topThreeResources{
    background: 
    linear-gradient(rgb(78, 11, 4, 0.5), rgb(78, 11, 4, 0.5))
    ,url('/images/sunsetpagoda.png');
    background-repeat: no-repeat;   
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #F6DFC0;
    position: relative;
    overflow: hidden;
}

.topThreeResources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(78, 11, 4, 0.4), rgba(106, 9, 9, 0.3));
    z-index: 1;
}

.topThreeResources__headline {
    position: relative;
    z-index: 2;
}

/* Headline Apperance */
.topThreeResources__headline h1 {
    font-size: 80px;
    font-weight: 800;
    padding-left: 10vw;
    color: #FFC15E;
    text-shadow: 0 4px 16px rgba(0,0,0,0.4);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.topThreeResources__headline h1:hover {
    color: #FBC52A;
    transform: translateX(4px);
}

/*============================*/
/* RESOURCE BLOCK STRUCTURE */
/*============================*/

.resource-block {
  display: flex; 
  flex-direction: column; 
  align-items:flex-start;
}

/* Big ranking number (#1, #2, #3) */
.resource-place-number {
  font-size: 99.89px;
  font-weight: 800; 
  color: #FFC15E; 
  line-height: 1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.resource-block:hover .resource-place-number {
  color: #FBC52A;
  transform: scale(1.1);
}

/* Category label (LEGAL, CULTURE, etc.) */
.resource-label {
  font-size: 20px; 
  font-weight: 800; 
  letter-spacing: 2px; 
  color: rgba(246, 223, 192, 0.8);
  /*slightly transparent*/
  margin-bottom: 73px; 
}

/* ========================= */
/* PAGE LAYOUT */
/* ========================= */
.page-container {
  min-height: 100vh;
  /* ensures page fills full screen height*/

  display: flex;

  /*places resource squares side by side*/

  align-items: flex-start;

  justify-content: center;
  /*cneters horizontally*/

  padding-top: 80px;
  /* space below*/

  gap: 60px;
  /*space between resource blocks*/
}

/* ========================= */
/* RESOURCE CARD */
/* ========================= */
.resource-card {
  width: 320px;
  background-color: #FFC15E;
  border-radius: 20px;
  padding: 20px;
  border: 2px solid rgba(78, 11, 4, 0.3);
  color: #6A0909;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.resource-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: rgba(78, 11, 4, 0.5);
}

/* Resource Title */
.resource-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

/*Sections inside card*/
.resource-section {
  margin-bottom: 14px;
}

.resource-section h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.resource-section p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* ========================= */
/* RESOURCE LINK */
/* ========================= */
.resource-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  text-decoration: none;
  color: #6A0909;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.resource-link:hover {
  text-decoration: underline;
  color: #4E0B04;
  transform: translateX(4px);
}


/* ========================= */
/* HEADER */
/* ========================= */
/* Header wrapper */

.site-header {
  background: #4E0B04;
  height: 89.37px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  font-family: 'Kumb Sans', sans-serif;
}

/* Inner navbar container */
.site-header .navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 50px;
}

/* Logo */
#navbar__logo {
  color: #FFC15E;
  text-decoration: none;
  font-weight: bolder;
  font-size: 2rem;
}

/* Menu */
.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

/* Links */
.navbar__menu a {
  color: #FBC52A;
  text-decoration: none;
  font-weight: bold;
}

.navbar__menu a:hover {
  color: #af8a23;
  transition: all 0.3s ease;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.site-footer {
  background-color: #F6DEB3;
  padding: 5vh 3vw;
  display: flex;
  justify-content: center;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: #4E0B04;
  font-family: 'Inter', sans-serif;
}

/* Left side */
.footer-left p {
  margin: 10px 0;
  font-size: 16px;
  padding-left: 0;
}

.contact-btn {
  background: #FFC15E;
  color: #550303;
  border: 0 !important;
  outline: 0 !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;

  border-radius: 8px;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  margin-top: auto;
  align-self: flex-start;
  transition: background 0.2s;
  display: inline-block;
}

.contact-btn:hover,
.contact-btn:focus,
.contact-btn:active {
  outline: none;
  text-decoration: none;
  transform: scale(1.05);
  background: #E19C4D; 
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-created {
  margin-top: 20px;
  line-height: 1.5;
}

.footer-copyright {
  margin-top: 20px;
  font-size: 14px;
}

/*right side*/
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 100%;
  justify-content: space-between;
  gap: 1vw;
}

.footer-links a {
  margin-bottom: 20px;
  text-decoration: none;
  color: #4E0B04;
  margin-left: 2vw;
}

.footer-logo {
  margin-top: auto; /* 👈 pushes logo to bottom */
  width: 140px;
  height: auto;
}

.footer-links a:hover {
  opacity: 0.8;
}

/* Logo image */
.footer-logo {
  width: 140px;
  height: auto;
}


