/* Fonts */

/*Besley*/
@font-face{
    font-family: 'Besley';
    font-style: normal;
    font-weight: 400;
    src:local(''),
        url('/Besley/OpenType/Besley-Regular.otf');
}

@font-face{
    font-family: 'Besley-Bold';
    font-style: bold;
    font-weight: 400;
    src:local(''),
        url('/Besley/OpenType/Besley-Bold.otf');
}



/*Page Settings*/

/* ---- Touch targets ---- */
.navlink,
.link-button,
.review-link,
.social-link {
    min-height: 44px;
    min-width: 44px;
}

/* ---- Prevent overflow ---- */
img {
    max-width: 100%;
    height: auto;
}

body, html {
    overflow-x: hidden;
}

/*Home page */

#home-section{
    min-height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    pad: 0;
    
}

.home-container{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 1200px;
    width: 100%;
    
}

.home-container p{
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  z-index: 1;
  text-shadow: 3px 3px 5px rgba(0,0,0,0.7);
  padding: var(--spacing-sm);
  overflow-wrap: break-word;
  text-wrap: balance;
  color: white;
}

.background-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

#home-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(255, 145, 0, 0.2) 100%
    );
    z-index: 1;
    pointer-events: none;
}

#home-button {
    min-height: 44px;
    min-width: 44px;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: white;
    color: rgb(255, 145, 0);
    border: 2px solid rgb(235, 128, 6);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    touch-action: manipulation;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 145, 0, 0.4);
}

#home-button:hover,
#home-button:focus {
    background-color: rgb(255, 145, 0);
    color: white;
    transform: translateY(-2px);
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 145, 0, 0.7);
}

#home-button:focus-visible {
    outline: 3px solid rgb(0, 0, 0);
    outline-offset: 3px;
}

/* About Section */
.about-container{
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

/*about 1*/
.about-content{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xxl);
    max-width: 1600px;
    width: 100%;
    margin: 0 auto var(--spacing-xl) auto;
    padding: 0 var(--spacing-xl);
}

#about-section {
    background: linear-gradient(180deg, #ffffff 0%, #fff2e4 100%);
}

#about-header{
    color: rgb(255, 145, 0);
    
}

#about-text{
    color: rgb(255, 145, 0);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);

}

.content-left, .content-left2{
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
}
.content-right, .content-right2{
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.about-pic{
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    border: 4px solid rgb(255, 145, 0);
    
}

.about-us-list{
    padding: 0;
    margin: var(--spacing-md) 0 0 0;
    padding-left: var(--spacing-md); 
    list-style: none;
}


#about-button {
    min-height: 44px;
    min-width: 44px;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: white;
    color: rgb(255, 145, 0);
    border: 2px solid rgb(235, 128, 6);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    touch-action: manipulation;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 145, 0, 0.4);
    
}

#about-button:hover,
#about-button:focus {
    background-color: rgb(255, 145, 0);
    color: white;
    transform: translateY(-2px);
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 145, 0, 0.7);
}

#about-button:focus-visible {
    outline: 3px solid rgb(0, 0, 0);
    outline-offset: 3px;

}

.list-items {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0 0 0;
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
    color: rgb(255, 145, 0);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    font-size: 1.1rem;
}

#list-icon{
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: 4px;
}



/*about 2*/
#about-section2 {
    background: rgb(255, 145, 0);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    color: b;
}

#about-section2 p{
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

#about-text, #container2-text{
    font-size: 1.2rem;
}

#taxi-pic{
    border: 4px solid white;
}
.about-content2{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xxl);
    max-width: 1600px;
    width: 100%;
    margin: 0 auto var(--spacing-xl) auto;
    padding: 0 var(--spacing-xl);
    color: white;
}

.about-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
    color: white;
}

#container2-text{
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.amenities-container{
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm) 48px;
    justify-content: center;
    align-items: center;
}

.amenities-header{
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.amenities-content{
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
    text-align: left;
    margin-bottom: var(--spacing-xs);
    align-items: center;
}

.amenities-text{
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

#amenities-icon{
    background-color: white;
    color: rgb(255, 145, 0);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

@media(min-width: 768px){
    #amenities-icon{
        width: 50px;
        height: 50px;
    }
}

#amenities-icon i{
    font-size: 1.0rem;
}

@media(min-width: 768px){
    #amenities-icon i{
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(4, 1fr);
        padding: var(--spacing-xxl) var(--spacing-md);
    }

    .stat-container{
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        text-align: center;
        align-items: center;
        justify-content: center;
    }    
}

.stat-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    justify-content: center;
    margin: var(--spacing-lg) var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-md);
    gap: var(--spacing-md);
}

.stat{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.review-logo{
    max-width: 130px;
    height: auto;
    padding: var(--spacing-sm);
    margin: var(--spacing-sm);
}

.stat-number {
    font-size: clamp(3rem, 8vw, 2rem);
    font-weight: 900;
    color: green;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.0rem;
    color: green;
    margin-top: var(--spacing-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.95;
    font-weight: bolder;
}

/*Review Section*/
#review-section{
    text-align: center;
    background-color: white;
    align-items: center;
    justify-content: center;
    background-image:
        radial-gradient(circle, rgba(0, 175, 135, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

#review-header{
    color: green;
}

.review-pic-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: 0 auto;
    align-items: stretch;
}

.review-pic{
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    border: 4px solid green;
}


.average-text1{
    font-size: 1.6rem;
    font-weight: bold;
    color: black;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    
}

.average-text2{
    font-size: 1.1rem;
    font-weight: bold;
    color: black;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    
}


#review-section .section-text{
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.review-grid{
    display: grid;
    gap: var(--spacing-md);
    width: 100%;
    grid-template-columns:repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.review-container{
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 250px;
  text-align: center;
  background-color: rgb(255, 255, 255);
  color: black;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, background-color 0.3s;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  border: 2px solid green;
}

.review-container:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.review-stars{
    color: #00af87;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.review-stars::before {
    content: '\f005 \f005 \f005 \f005 \f005';  /* 5 filled stars */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.review-name{
    font-size: 1rem;
    font-weight: bold;
    color: black;
    margin-bottom: var(--spacing-xs);
}

.review-text{
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: var(--spacing-sm);
    margin-left: var(--spacing-sm);
    margin-right: var(--spacing-sm);
    overflow: visible;
    max-width: auto;
}

.review-link {
    display: inline-block;
    color: #00af87;
    font-weight: bold;
    text-decoration: none;
    margin-top: auto;               
    transition: color 0.2s;
    margin-bottom: var(--spacing-sm);
}

.review-link:hover {
    color: #008c6b;
    text-decoration: underline;
}

#review-button{
    min-height: 44px;
    min-width: 44px;
    padding: 1rem 2rem;
    margin-top: var(--spacing-xxl);
    font-size: 1.5rem;
    font-weight: bold;
    background-color:  white;
    color: rgb(255, 145, 0);
    border: 2px solid rgb(255, 145, 0);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    touch-action: manipulation;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 5px rgb(255, 145, 0);
}

#review-button:hover,
#review-button:focus {
    background-color: rgb(255, 145, 0);
    color: white;
    transform: translateY(-2px);
    outline: 3px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 10px rgb(255, 145, 0);
}

#review-button:focus-visible {
    outline: 3px solid rgb(0, 0, 0);
    outline-offset: 3px;
}


/*Collapsible Menu*/
.nav-toggle{
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgb(255, 145, 0);
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-menu{
    display: flex;
    flex-direction: column;
}

/*Desktop layout*/
@media(min-width: 768px){
    .navbar{
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-menu{
        display: contents;
    }
}

/*Mobile Layout*/
@media(max-width: 767px){
    .navbar{
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 5%;
        align-items: center;
        display: flex;
    }

    .nav-toggle{
        order: 1;
        display: flex;
        min-width: 44px;
        min-height: 44px;
    }

    .nav-menu{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition:  max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        order: 4;
    }

    .nav-menu.is-open{
        max-height: min(70dvh, 600px);
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
        padding: var(--spacing-xs);
        display: flex;
    }

    .nav-menu.is-open::before{
        content: '';
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn{
        from {opacity: 0;}
        to {opacity: 1;}
    }

    .nav-menu .nav-left,
    .nav-menu .nav-right,
    .nav-menu .nav-middle {
        flex-direction: column;
        width: 100%;
        gap:  2px; 
    }

    .navlink{
        padding: 0.5rem 0.75rem;    
        font-size: 0.95rem;         
        min-height: 44px;  
        min-width: 44px;         
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #nav-logo{
        order: 2;
        max-height: 65px;
        width: auto;
    }

    .nav-phone-icon{
        order: 3;
    }
}


/* Mobile: Stack everything vertically */
@media (max-width: 767px) {

    .about-content {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }

    .content-left,
    .content-right {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .about-pic {
        max-width: 100%;
        width: 100%;
    }

    #about-text {
        text-align: center;
        padding: 0;
    }

    .about-us-list {
        text-align: left;
        max-width: 400px;
        margin: var(--spacing-md) auto 0 auto;
    }

    /* Why Choose Us */
    .about-content2 {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }

    .content-left2,
    .content-right2 {
        flex: 1 1 auto;
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;   /* 1 column on mobile */
        gap: var(--spacing-sm);
    }

    .amenities-container {
        padding: var(--spacing-sm);
    }

    /* Review cards */
    .review-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Contact columns */
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Section headers */
    .section-header {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-md);
    }
}

/* Small phones */
@media (max-width: 480px) {
    .main-section {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .section-header {
        font-size: 1.5em;
    }

    .about-pic {
        aspect-ratio: 4/3;
    }

    .about-grid {
        gap: var(--spacing-xs);
    }

    .amenities-icon {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .review-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/*Page Specific Mobile Rules*/
@media (prefers-contrast: high) {
    .home-container p {
        -webkit-text-stroke: 1px black;
        
    }

    #home-button {
        border-width: 3px;
        border-color: black;
    }
}

@media (prefers-reduced-motion: reduce) {
    .background-video {
        display: none;
    }

    #home-section {
        background-image: url('/media/about_us.webp');
        background-size: cover;
        background-position: center;
    }

    .home-container p,
    #home-button {
        transition: none;
    }
}

@media (max-width: 768px) {
    .home-container {
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .home-container p {
        line-height: 1.3;  
    }

    .section-header {
        font-size: 1.8em;
    }
}

/* ============================================
   MOBILE OPTIMIZATION — Final Pass
   ============================================ */

/* ---- Navbar ---- */
@media (max-width: 767px) {
    .navbar {
        padding: 0.5rem 4%;
        min-height: 60px;
        max-height: 60px;
        overflow: visible;
    }

    .nav-toggle {
        display: flex;
        order: 1;
    }

    #nav-logo {
        order: 2;
        max-height: 48px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        max-height: min(70dvh, 500px);
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu .nav-left,
    .nav-menu .nav-middle,
    .nav-menu .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }

    .navlink {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ---- Hero ---- */
@media (max-width: 480px) {
    #home-page-text {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        line-height: 1.2;
        padding: var(--spacing-sm);
    }

    .home-container {
        gap: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-sm);
    }

    #home-button {
        padding: 0.875rem 1.75rem;
        font-size: 1.1rem;
    }
}

/* ---- Section stacking ---- */
@media (max-width: 767px) {
    .about-content,
    .about-content2 {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }

    .content-left,
    .content-right,
    .content-left2,
    .content-right2 {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
    }

    .about-pic {
        width: 100%;
        max-width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .review-grid,
    .review-pic-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }


    .section-header {
        font-size: 1.6rem;
        margin-bottom: var(--spacing-md);
    }
}

/* ---- Stats grid ---- */
.stat-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-md) var(--spacing-sm);
    padding: var(--spacing-md);
}

.stat-container .tripadvisor-logo:last-child {
    display: none;
}

@media (min-width: 768px) {
    .stat-container {
        grid-template-columns: repeat(6, 1fr);
        gap: var(--spacing-lg);
        margin: var(--spacing-lg);
    }

    .stat-container .tripadvisor-logo:last-child {
        display: block;
    }
}

.stat-number {
    font-size: clamp(2rem, 7vw, 3rem);
}

/* ---- List alignment ---- */
.list-items {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
    line-height: 1.5;
    color: rgb(255, 145, 0);
}

#list-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: 2px;
    color: rgb(255, 145, 0);
}

@media (max-width: 767px) {
    .list-items {
        font-size: 0.9rem;
    }

    #list-icon {
        width: 18px;
        height: 18px;
        font-size: 0.85rem;
    }
}



