/*reset CSS*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box ;
}
html {
    scroll-behavior: smooth;
    font-family: Arial, Helvetica, sans-serif;
}

/* Nguyên tắc làm
1.từ ngoài vào trong 
2.từ trên xuống dưới
3.từ tổng quan đến chi tiết
 */

/* Cách code không bị thiếu sót khi code từng thành phần
1.vị trí 
2.kích thước ( quan tâm đến width height )
3.màu sắc
4.kiểu dáng ( kiểu chữ, hình khối là gì..)
 */

 /* Commom  */

.clear {
    clear: both;
}
.text-white {
    color: #fff  !important ;
}

.text-center {
    text-align: center !important ;
}

.mt-8 {
    margin-top: 8px !important;
}

.mt-16 {
    margin-top:  16px !important;
}

.mt-32 {
    margin-top: 32px !important;
}

.row {
    margin-left: -8px;
    margin-right: -8px;
}
.row::after {
    content: "";
    display: block;
    clear: both;
}

.col {
    float: left;
    padding-left: 8px;
    padding-right: 8px;
}

.col-two {
    width: 50%;
}

.col-three {
    width: 33.33333%;
}

.col-full {
    width: 100%;
}

/* Main */

#main {

}

#header {
    height: 46px;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
#nav {
    display: inline-block;
    display: flex;
    justify-content: space-between;
}

/* #nav > ul{
    display: inline-block;
} */

#nav, .subnav {
    list-style-type: none;

}

#nav > li {
    display: inline-block
}

#nav li {
    /* display: inline-block; */
    position: relative;
}

#nav > li > a {
    color: white;
    text-transform: uppercase;
}

#nav li a {
    /* color: white; */
    text-decoration: none;
    line-height: 46px;
    padding: 0 24px;
    display: block;
}
#nav li:hover .subnav {
    display: block;
}

#nav .subnav li:hover ,
#nav > li:hover > a {
    color:#000;
    background-color: #ccc;
}

#nav .subnav {
    display: none;
    position: absolute;
    /* top: 100%;
    left: 0; */
    background-color: #fff;
    color:#000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    
}
#nav .subnav a {
    color: #000;
    padding: 0 16px;
    line-height: 40px;
}

#nav .nav-down {
    font-size: 10px;
}

#header .mobile-menu-btn{
    float: right;
    padding: 0 21px;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

#header .search-button {
    float: right;
    padding: 0 21px;
}

#header .search-button:hover {
    background-color: #f44336;
    cursor: pointer;
}

#header .mobile-menu-btn:hover {
    background-color: #ccc;
}

#header .mobile-menu-btn:hover .nav-menu {
    color: #000;
}

#header .nav-menu,
#header .nav-search {
    color: #fff;
    font-size: 20px;
    line-height: 46px;  
}

/*
#nav .subnav li:hover {
    color: #000;
    background-color: #ccc;
} 
*/


/* Slider Section */
#slider{ 
    /* min-height: 500px;
    background-color: #333;
 */
    margin-top: 46px;
    padding-top: 50%; 
    background: url('../img/slider/slider1.jpg') top center / cover no-repeat;
    position: relative;
}
#slider .text-content {
    position: absolute;
    color: #fff;
    bottom: 47px;
    /* left: 50%;
    transform: translateX(-50%); */ 
    /* width: 100%; */
    left: 0;
    right: 0;
    text-align: center;
}

#slider .text-heading {
    font-weight: 500;
    font-size: 24px ;
}

#slider .text-description {
    font-size: 15px ;
    margin-top: 20px;
    text-shadow: 0 0 1px #000;

}


/* Content Section */
#content {

}

#content .content-section {
    width: 800px;
    max-width: 100%;
    padding: 64px 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;

}
#content .section-heading {
    font-size: 30px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 4px;
}

#content .section-sub-heading {
    font-size: 15px;
    text-align: center;
    margin-top: 25px;
    font-style: italic;
    opacity: 0.6;
}

#content .about-text {
    margin-top: 25px;
    font-size: 15px;
    text-align: justify;
    line-height: 1.4;
}

/* Member List */
#content .member {
    margin-top: 32px ;
}

#content .member-name {
    font-size: 15px ;
    font-weight: bold;
}

#content .member-img {
    margin-top: 15px;
    width: 154px;
    height: 154px;
    border-radius: 4px;
}

/* Tour section */
#content .tour-section {
    background-color: #000;
}

.ticket-list {
    background-color :#fff ;
    margin-top: 40px;
}

.ticket-list li {
    color: #757575;
    font-size: 15px;
    padding: 11px 16px;
    border-bottom: 1px solid #ddd;
    list-style-type: none;
}

.ticket-list .sold-out {
    background-color: #f44336;
    color: #fff;
    padding: 3px 4px;
    margin-left: 16px;
}

.ticket-list .quantity {
    background-color: #000;
    color: #fff;
    float: right;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-top: -3px;
}

/* Place-list */
.place-list {
    /* margin : 32 -8 48 ; */
    margin-top: 16px;
    margin-bottom: 48px; 
}

.place-img {
    width: 100%;
    display: block;
}
.place-img:hover {
    opacity: 0.6;
}

.place-body {
    background-color: #fff;
    padding: 16px;
    font-size: 15px;
}
.place-heading {
    font-size: 15px;
    font-weight: 600;
}
.place-time {
    margin-top: 15px;
    color: #757575;
}
.place-desc {
    margin-top: 15px;
    line-height: 1.4;

}
.place-buy-button{
    color: #fff;
    background-color: #000;
    text-decoration: none;
    padding: 11px 16px;
    display: inline-block;
    margin-top: 15px;
    border: none;   
}
.place-buy-button:hover {
    color: #000;
    background-color: #ccc;
    cursor: pointer;
}
/* Contact */
.contact-content {
    margin-top: 48px;
}

.contact-info {
    font-size: 18px;
    line-height: 1.5;
}

.contact-info i {
    width: 30px;
    display: inline-block;
}

.contact-form .form-control {
    padding: 10px;
    border: 1px solid #ccc;
    width: 100%;
}

.contact-form .form-submit {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 10px 16px ;
    float: right;
    -webkit-appearance: none;
}

.contact-form .form-submit:hover {
    background-color: #ccc;
    color: #000;
    border: none;
    cursor: pointer;
}

/* Map */
.map-section img {
    width: 100%;
    filter: grayscale(50%);
}

/* Footer sectiom */
#footer {
    padding: 64px 16px;
    text-align: center;
}

#footer .social-list {
    font-size: 22px;
}

#footer .social-list a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
}

#footer .copyright a:hover,
#footer .social-list a:hover {
    opacity: 0.3;
}

#footer .copyright {
    font-size: 15px;
    margin-top: 15px;
    color: rgba(0, 0, 0, 0.6);
}

#footer .copyright a {
    color: rgba(0, 0, 0, 0.6);
}

/* Modal Section */
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.open {
    display: flex;
}

.modal-container {
    background-color: #fff;
    width: 900px;
    max-width: calc(100%-32px);
    min-height: 200px;
    position: relative;
    animation: modalFadeIn ease 0.5s ;
}
 .modal-header {
    background: #009688 ;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
}

.modal-heading-icon {
    margin-right: 15px;
}

.modal-close  {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    padding: 12px;
    cursor: pointer;
    opacity: 0.8;
}

.modal-close:hover {
   opacity: 1;
}

.modal-body {
    padding: 16px;
} 

.modal-label {
    display: block ;
    font-size: 15px;
    margin-bottom:12px ;
}

.modal-input {
    border: 1px solid #ccc;
    width: 100%;
    padding: 10px;
    font-size: 15px;
    margin-bottom: 24px; 
}

#buy-ticket {
    background: #009688;
    border: none;  
    color: #fff;
    width: 100%;
    font-size: 15px;
    text-transform: uppercase;
    padding: 18px;
    cursor: pointer;
}

#buy-ticket:hover {
    opacity: 0.8;
}

.modal-footer {
    text-align: right;
    padding: 16px;
}

.modal-footer a {
    color: #2196F3;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(-150px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

