html{
    scroll-behavior: smooth;
}


body{
    display: block;
    margin: auto;
    width: 100%;
    height: auto;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Nanum Gothic';
    top: 0;
    position: relative;
}

header{
    display: block;
    width: 100%;
    min-height: 650px;
    margin: auto;
    background-image: url('https://surfside-tower.com/img/banner-13.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    text-align: center;
    padding-top: 0;
    margin-top: 0;
    position: relative;

}

header .content{
    display: block;
    min-height: 600px;
    width: 100%;
    top: 0;
    left: 0;
    /*background: rgba(0,0,0,0.6);*/
    color: white;
    position: relative;
    animation-name: bg-fadein;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

header .content h1{
    font-size: 65px !important;
    margin-top: 50px;
    padding-top: 100px;
    animation-name: fadein;
    animation-duration: 3s;
    animation-iteration-count: 1;

}

/* fadein animations 
@keyframes bg-fadein{
    from{background: rgba(0,0,0,.9);}
    to{background: rgba(0,0,0,0.6);}
}

@keyframes fadein{
    from{opacity: 0;}
    to{opacity: 1;}
}*/

#myNavbar{
    background-color: #1b3a4b !important;
    z-index: 2;
}
#myNavbar ul li a{
    color: white !important;
    font-size: 13px !important;
}

#myNavbar ul li a i{
    color: #f4a261 !important;
}
#myNavbar ul li a:hover{
    color: #e9c46a !important;
    transition: .3s ease;
}

.navbar{
    background-color: #1b3a4b !important;
}

.quick-access{
    display: block;
    width: 100%;
    margin: auto;
    height: auto;
    background-color: #1b3a4b;
    padding-top: 100px;
    position: absolute;
    z-index: 1;
    border-top: solid 2px #e9c46a;
    border-bottom: solid 2px #e9c46a;
}

.quick-access h1{
    text-align: center;
    display: block;
    margin: auto;
    height: 70px;
    margin-top: -170px;
    width: 45%;
    color: white;
    background-color: #1b3a4b;
    padding: 20px;
    border: solid 2px #e9c46a;
    border-bottom: none;
    font-weight: bold;
    animation-name: slideup;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@keyframes slideup{
    from{margin-top: 0; border: none;}
    to{margin-top: -170px; border-top: solid 2px #e9c46a;}
}

.quick-access h1 i{
    color: #e9c46a;
    font-size: 45px;
}

.quick-access .bottom{
    text-align: center;
    display: block;
    margin: auto;
    height: 70px;
    margin-bottom: -170px;
    width: 45%;
    color: white;
    background-color: #1b3a4b;
    padding: 20px;
    border: solid 2px #e9c46a;
    border-top: none;
    font-weight: bold;
    padding-bottom: 25px;
}

.quick-access h3{
    line-height: 35px;
}

@media screen and (max-width: 800px){
    .quick-access h1, .quick-access .bottom{
        width: 70%;
    }
    
    .quick-access h3{
        font-size: 17px !important;
    }
}
.quick-access a{
    text-decoration: none;
}

.quick-link{
    text-align: center;
    color: #1b3a4b;
    padding: 10px 20px;
    border: solid 2px #a8dadc;
    margin-bottom: 25px;
}

.quick-link a{
    color: #1b3a4b;
    text-decoration: none;
}

@media screen and (max-width: 1000px){
    .quick-link{
        color: white;
    }
}

.quick-link i{
    font-size: 50px;
    color: #e9c46a;
    display: block;
    margin: auto;
    width: 100%;
    padding-top: 15px;
}

.quick-link h2{
    color: white;
    font-size: 25px;
    font-weight: bold;
}


.quick-link:hover, .quick-link a:hover{
    cursor: pointer;
    color: white;
    background-color: #4c4d4d;
    border-color: #e9c46a;
    transition: .3s ease;
}

.quick-link:hover ~ .quick-link p{
    opacity: 1;
}
#photos{
    display: block;
    margin: auto;
    height: auto;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 25px;
    
}

#photos img{
    display: block;
    height: auto;
    width: 100%;
    margin: auto;
    margin-top: 25px;
}

.board-member{
    display: block;
    margin: auto;
    margin-bottom: 25px;
    padding: 20px;
    border: solid 2px #a8dadc;
}

.board-member i{
    font-size: 60px;
    color: #e9c46a;
    padding-top: 30px;
}

.board-member h2{
    font-size: 20px;
    height: 35px;
    color: white;
}

.board-member h3{
    font-size: 17px;
    color: #f4a261;
}

.board-member:hover{
    border-color: #e9c46a;
    transition: .3s ease;
}

.management, .contact{
    color: white;
}

.management h2, .contact h2{
    font-weight: bold;
}

.management h2 i, .contact h2 i{
    color: #e9c46a;
    margin-right: 20px;
}

.management small{
    color: #e9c46a;
}

.management a{
    text-decoration: none;
    color: #a8dadc;
    font-size: 20px;
}

.management a:hover{
    color: #e9c46a;
    transition: .3s ease;
}

.resources{
    text-align: right;
}

.resources h3{
    color: #e9c46a;
}

.resources a:hover{
    margin-right: 10px;
    transition: .3s ease;
}


@media screen and (max-width: 900px){
    .board-member, .management, .resources, .contact{
        text-align: center;
    }
    
    .board-member i , .management h2 i{
        display: block;
        width: 100%;
        margin: auto;
    }
}

.documents h3{
    font-size: 30px;
    color: #e9c46a;
    font-weight: bold;
}

.documents ul{
    list-style-type: none;
    line-height: 50px;
    font-size: 30px;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.documents ul li{
    cursor: pointer;
    color: #a8dadc;
    margin-top: 15px;
}

.documents ul li:hover{
    color: #e9c46a;
    transition: .3s ease;
    margin-left: 10px;
}

@media screen and (max-width: 800px){
    .documents ul{
        font-size: 25px;
        text-align: center;
    }
    
    .documents h3{
        text-align: center;
    }
}

.btn-primary{
    background: #1b3a4b;
    border: solid 2px #e9c46a;
    color: white;
}

.btn-primary:hover{
    background: black;
    color: #e9c46a;
    transition: .3s ease;
    border-color: #e9c46a;

    
}

#contact-management{
    margin-top: 50px;
    font-size: 17px;
    color: #a8dadc;
}

#contact-management i{
    color: #e9c46a;
    font-size: 20px;
}

#contact-management a{
    color: #e9c46a;
    text-decoration: none;
}

footer{
    text-align: center;
    min-height: 250px;
    padding-top: 100px;
    color: white;
    border-top: solid 2px #e9c46a;
}

footer span{
    color: #e9c46a;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 6px 15px;        /* standard left/right breathing room */
  height: 50px;             /* keeps consistent navbar height */
  overflow: hidden;         /* prevents logo spillover */
}

.navbar-brand .brand-logo {
  display: block;
  width: auto;              /* preserve aspect ratio */
  height: auto;
  max-height: 34px;         /* slightly smaller for proper top/bottom spacing */
  object-fit: contain;      /* ensures no distortion */
}

/* Phones and small devices */
@media (max-width: 767px) {
  .navbar-brand {
    padding: 8px 12px;      /* tighter padding for hamburger alignment */
    height: 50px;
  }

  .navbar-brand .brand-logo {
    max-height: 30px;       /* slightly smaller on small screens */
  }
}

/* Tablets and desktops */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-brand .brand-logo {
    max-height: 35px;       /* balanced for medium screens */
  }
}

/* Large desktops and wide layouts */
@media (min-width: 992px) {
  .navbar-brand .brand-logo {
    max-height: 38px;       /* clean, centered look on full width */
  }
}

@media (max-width: 768px) {
  header {
    background-size: cover;        /* fill width, maintain ratio */
    background-position: center;   /* center image */
    background-repeat: no-repeat;
    height: 45vh;                  /* dynamic height, fills screen nicely */
    min-height: 250px;             /* prevents it from collapsing */
  }
header .content h1{
    font-size: 40px !important;
}  
}