/*
TemplateMo 587 Tiya Golf Club
https://templatemo.com/tm-587-tiya-golf-club
==================================================
Arafudo customized & cleaned CSS
==================================================
*/

/*---------------------------------------
  CSS VARIABLES
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #559d17;
  --secondary-color: #559d17;
  --section-bg-color: #9befff;
  --custom-btn-bg-color: #81B29A;
  --custom-btn-bg-hover-color: #999999;
  --dark-color: #000000;
  --link-hover-color: #ffffff;

  --body-font-family: 'DM Sans', 'Noto Serif JP', serif;

  --h1-font-size: 42px;
  --h2-font-size: 36px;
  --h3-font-size: 28px;
  --h4-font-size: 24px;
  --h5-font-size: 22px;
  --h6-font-size: 20px;
  --p-font-size: 16px;

  --btn-font-size: 14px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

/*---------------------------------------
  BASE
-----------------------------------------*/
body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
  padding-top: 0px; /* navbar height (PC) */
}

@media (max-width: 991px) {
  body {
    padding-top: 0px; /* navbar height (mobile) */
  }
}

/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-medium);
  letter-spacing: -1px;
  x-color: var(--dark-color);
}

h1 { font-size: var(--h1-font-size); font-weight: var(--font-weight-bold); }
h2 { font-size: var(--h2-font-size); font-weight: var(--font-weight-bold); }
h3 { font-size: var(--h3-font-size); }
h4 { font-size: var(--h4-font-size); }
h5 { font-size: var(--h5-font-size); }
h6 { font-size: var(--h6-font-size); }

p,
ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

.whites {
  color: var(--white-color);
}

a {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: var(--link-hover-color);
}

button {
  transition: all 0.3s;
  touch-action: manipulation;
}

strong, b {
  font-weight: var(--font-weight-bold);
}

::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  SECTION UTIL
-----------------------------------------*/
.section-bg {
  background-color: var(--section-bg-color);
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 991px) {
  .section-padding {
    padding: 50px 0;
  }
}

/*---------------------------------------
  ANIMATED HEADLINE (FADE ONLY)
-----------------------------------------*/
.cd-words-wrapper {
  display: inline;
}

.cd-words-wrapper b {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cd-words-wrapper b.is-visible {
  display: inline;
  opacity: 1;
}

@media (min-width: 769px) {
  .cd-headline {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .cd-headline {
    white-space: normal;
  }
}

/*---------------------------------------
  NAVBAR (FINAL SAFE FIX)
-----------------------------------------*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: var(--secondary-color);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand-image {
  height: 40px;
  width: auto;
  max-height: 40px;
}

.navbar .navbar-brand-image {
  filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
  .navbar-brand-image {
    height: 32px;
  }
}

.navbar-collapse {
  background-color: var(--secondary-color);
}

.navbar .dropdown-menu {
  margin-top: 0;
  border-radius: 0;
}

/*---------------------------------------
  HERO (NO OFFSET / NO GAP)
-----------------------------------------*/
.hero-section {
  background-image: url('../images/arafudo-town.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 100vh;
  min-height: 670px;
  padding: 100px 0;
  margin: 0;
}

.hero-section .row {
  position: relative;
  z-index: 2;
}

/*---------------------------------------
  BACKGROUND IMAGE SECTION
-----------------------------------------*/
.section-bg-image {
  background-image: url('../images/site-kokeshi.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.section-bg-image-block {
  background-color: rgb(0 0 0 / 0.5);
  color: #fff;
  padding:  30px;
  border-radius:20px;
}
/*---------------------------------------
  ABOUT
-----------------------------------------*/
.about-section {
  padding-bottom: 0px;
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  CUSTOM BLOCK
-----------------------------------------*/
.custom-block {
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  padding: 30px 20px;
}

/*---------------------------------------
  EVENTS
-----------------------------------------*/
.events-listing-section {
  margin-bottom: 100px;
}

/*---------------------------------------
  MEMBERSHIP
-----------------------------------------*/
.membership-form {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  padding: 35px;
}

/*---------------------------------------
  CONTACT
-----------------------------------------*/
.contact-info-item {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*---------------------------------------
  FOOTER
-----------------------------------------*/
.site-footer {
  position: relative;
  x-padding-bottom: 200px;
}

/*---------------------------------------
  SMALL DEVICES
-----------------------------------------*/
@media (max-width: 480px) {
  .contact-info-item {
    width: 72%;
  }
}

@media (max-width: 360px) {
  .custom-btn {
    font-size: 12px;
    padding: 4px 12px;
  }
}

/*---------------------------------------
  img
-----------------------------------------*/
.member-block-image {
border-radius:20px;
}

/*---------------------------------------
  MEMBERSHIP SECTION            
-----------------------------------------*/
.membership-section .container {
  position: relative;
  z-index: 2;
}

.table-responsive {
  border-radius: var(--border-radius-medium);
}

.table-responsive tbody, 
.table-responsive td, 
.table-responsive tfoot, 
.table-responsive th, 
.table-responsive thead, 
.table-responsive tr {
  border: 0;
}

.table-responsive thead tr {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.table-responsive thead th {
  padding: 22px 16px !important;
}

.table-responsive tbody tr:nth-child(even) {
  background-color: var(--section-bg-color);
}

.table>:not(caption)>*>* {
  padding: 18px 16px;
}

.table-responsive .bi-check-circle-fill {
  color: var(--primary-color);
}

.table-responsive .bi-x-circle-fill {
  color: var(--custom-btn-bg-hover-color);
}

.membership-form {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  padding: 35px;
}

.membership-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 100px;
}


