@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);

@keyframes breath {
  0% { box-shadow: 0px 0px 5px #FFF; }
  50% { box-shadow: 0px 0px 20px #FFF; }
  100% { box-shadow: 0px 0px 5px #FFF; }
}

body {
  color: #eeeeee !important;
  text-shadow: 0px 0px 0.25px rgba(0, 0, 0, 0.9);
}

.brand {
  display: inherit;
  margin: 0;
  padding: 30px 0 10px;
  text-align: center;
  text-shadow: 2px 2px 3px rgba(100, 100, 100, 0.5);
  font-family: "Josefin Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3em;
  font-weight: 700;
  line-height: normal;
  color: #679200;
}


#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  min-height: 80px;
}

#nav .nav > li > a {
  padding: 30px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#nav .nav > li > a:hover {
  background-color: #C1A141;
  color: #ffffff;
  font-weight: bold;
}




@media screen and (min-width: 768px) {
  #nav {
    top: 0px;
    width: 100%;
    height: 50px;
    z-index: 1000;
  }
}

.title {
  font-size: 20px;
  /* font-weight: bold; */
  color: #C1A141;
}




#lin {
  margin-top: calc(50vh - 50px);
}

#lin .brand {
  color: #ffffff !important;
}

#lin .address-bar {
  color: #eeeeee !important;
}

.box {
  box-shadow: 5px 5px 15px #777;
}

.pad {
  margin-top: 100px;
}

footer {
  background: none;
}

footer p {
  color: #888;
  padding: 10px;
}

.chou {
  padding: 0px;
  animation-name: breath;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

#nav .navbar-header {}
#bs-example-navbar-collapse-1 {}

.index-list a.active {
  font-weight: bold;
  color: #ff6600; 
}

.custom-link {
  color: #ffffff;
}

.hero-section {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)),
    url('../img/2025_commencement_bg.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  color: #ffffff;
  padding: 40px;
  z-index: 1;
}

.hero-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5em;
  }
}

.scroll-button {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2em;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
}
.scroll-button-group {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.scroll-button:hover {
  background-color: #C1A141;
  color: #ffffff;
  text-decoration: none; /* ← 加上這行即可移除 hover 底線 */
  border: 1px solid #C1A141;
}

/* Override table style for white-background section */

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  color: #333333;
  font-size: 1.05em;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 6px rgba(0,0,0,0.1);
}

.table thead {
  background-color: rgba(193, 193, 193, 0.35);
  color: #000000;
  font-weight: 600;
  font-size: 1.1em;
  
}
.table thead th {
  border-bottom: 2px solid #C1A141;
  border-top: 2px solid #C1A141;
}

.table th,
.table td {
  padding: 16px;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background-color: #f2f2f2;
  transition: background-color 0.2s ease;
}

#phd, #master, #bachelor {
scroll-margin-top: 120px; /* 根據 nav 高度調整，建議略大於 nav 高 */
}

.address-bar {
  line-height: 1.6;
  display: block;
  white-space: normal;
  word-break: break-word;
  color: white;
  font-size: 1.85em;	
}


.address-info {
  display: inline;
}
 .front-title{
    display: block;
    font-size: 2em; 
    color: #dad8d8;   
}

@media (max-width: 768px) {
  .address-info {
    display: block;        /* 手機版改為 block，兩個 span 自動換行 */
    text-align: center;    /* 可選：讓兩行置中 */
    margin-top: 4px;
    color: #ffffff;
  }
  .address-info .date,
  .address-info .place {
    display: block;
    font-size: 0.6em;
  }
  .front-title{
    display: block;
    font-size: 1.25em;
  }
}
