@font-face {
    font-family: nachotea;
    src: url(https://www.nachotea.com/font/arial.ttf) format("truetype");
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    background: black;
    font-family: nachotea !important;
    font-style: normal;
    padding-top: 70px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-default,
.btn {
    font-family: nachotea !important;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 24px;
}

p {
    font-size: 20px;
    line-height: 1.6;
    font-weight: normal !important;
    font-family: Arial, sans-serif !important;
}

/* DEFAULT: Show desktop, hide mobile */
.desktop-display {
    display: block;
}

.mobile-portrait-display,
.mobile-landscape-display {
    display: none;
}

.container {
    width: 100%;
    max-width: 1140px;
    padding: 0 15px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -15px;
    align-items: center;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

#home {
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    min-height: auto;
    position: relative;
}

/* CRITICAL DESKTOP FIXES */
.desktop-display .row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.desktop-display .col-md-6:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-right: 30px !important;
}

.desktop-display .col-md-6:last-child {
    display: flex !important;
    align-items: center !important;
}

/* FIX: Logo sizing to match text block height */
.desktop-display .imagefloat {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 500px !important;
    object-fit: contain !important;
}

#home .home-thumb {
    padding: 0;
    width: 100%;
}

#home p {
    color: #f0f0f0;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* FIX: Buttons in one horizontal row */
.section-btn {
    background-color: transparent;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-right-color: #222;
    border-bottom-color: #ffffff;
    border-left-color: #222;
    border-radius: 100px;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 14px 24px;
    margin: 10px 6px 0 0;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.section-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Button container to ensure single row */
.desktop-display .home-thumb {
    display: flex;
    flex-direction: column;
}

footer {
    padding: 20px 0;
    text-align: center;
}

footer .container {
    width: 100%;
}

footer .footer-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

footer .footer-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-right: 60px;
}

footer .copyright {
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    font-size: 14px;
}

footer .social-icon {
    margin: 0;
}

footer .social-icon ul {
    display: flex;
    flex-direction: row;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .social-icon li {
    display: inline-block;
    margin: 0;
}

/* FIX: Ensure Font Awesome icons display properly */
footer .social-icon a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .social-icon a i {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

footer .social-icon a:hover {
    color: #ffffff;
}

/* DESKTOP: Width >= 1200px */
@media (min-width: 1200px) {
    .desktop-display {
        display: block !important;
    }

    .mobile-portrait-display,
    .mobile-landscape-display {
        display: none !important;
    }
}

/* MOBILE PORTRAIT: Width <= 767px, Portrait */
@media (max-width: 767px) and (orientation: portrait) {

    .desktop-display,
    .mobile-landscape-display {
        display: none !important;
    }

    .mobile-portrait-display {
        display: block !important;
    }

    body {
        padding-top: 20px;
    }

    #home {
        min-height: 100vh;
    }

    .mobile-portrait-display .container {
        padding: 0 20px !important;
    }

    .mobile-portrait-display .home-thumb {
        text-align: center !important;
        padding: 0 !important;
    }

    .mobile-portrait-display .imagefloat {
        margin: 20px auto 0 !important;
        display: block !important;
        max-width: 250px !important;
    }

    .mobile-portrait-display h1 {
        font-size: 28px;
        line-height: 1.3;
        white-space: nowrap !important;
        text-align: center;
    }

    .mobile-portrait-display p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 15px;
        text-align: center;
    }

    .mobile-portrait-display .section-btn {
        border: 2px solid #ffffff !important;
        font-size: 14px;
        padding: 12px 20px;
        margin: 8px 4px;
        display: inline-block;
        width: calc(50% - 12px);
        text-align: center;
    }

     footer .footer-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    footer .footer-right {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-right: 0;
        white-space: nowrap;
    }
    
    footer .copyright {
        font-size: 12px;
        white-space: nowrap;
        line-height: 1;
        display: flex;
        align-items: center;
    }
    
    footer .social-icon {
        display: flex;
        align-items: center;
    }
    
    footer .social-icon ul {
        gap: 10px;
        display: flex;
        align-items: center;
        margin: 0;
    }
    
    footer .social-icon li {
        display: flex;
        align-items: center;
    }
    
    footer .social-icon a {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

}




/* MOBILE LANDSCAPE: Width <= 1199px, Landscape */
@media (max-width: 1199px) and (orientation: landscape) {
    .desktop-display,
    .mobile-portrait-display {
        display: none !important;
    }
    
    .mobile-landscape-display {
        display: block !important;
    }
    
    body { padding-top: 10px; }
    
    #home {
        min-height: auto !important;
        padding: 20px 0 40px 0 !important;
    }
    
    .mobile-landscape-display .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .mobile-landscape-display .row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 30px !important;
        flex-wrap: nowrap !important;
    }
    
    .mobile-landscape-display .col-landscape-logo {
        flex: 0 0 auto;
    }
    
    .mobile-landscape-display .imagefloat {
        max-width: 180px !important;
        height: auto !important;
    }
    
    .mobile-landscape-display .col-landscape-content {
        flex: 1;
    }
    
    .mobile-landscape-display h1 {
        font-size: 24px !important;
        white-space: nowrap !important;
        margin-bottom: 10px !important;
    }
    
    .mobile-landscape-display p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    
    .mobile-landscape-display .section-btn {
        font-size: 11px !important;
        padding: 8px 14px !important;
        margin: 6px 4px !important;
    }

    #home {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px 80px;  /* Increased from 40px to 80px for more left/right padding */
    }
    
    .mobile-landscape-display .container {
        margin-top: 40px;  /* Pushes logo and text down 40px */
        padding: 0 60px;  /* Additional padding to compress text width */
    }
    
    .mobile-landscape-display .row {
        justify-content: center;
    }

    /* Footer moved UP (negative margin) and icon fix */
    footer {
        margin-top: -20px;  /* Negative margin pulls it up */
        padding: 20px 0;
    }
    
    footer .footer-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    footer .copyright {
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    footer .social-icon {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    footer .social-icon ul {
        display: flex !important;
        align-items: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    footer .social-icon li {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    footer .social-icon a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        height: 18px !important;
    }
    
    footer .social-icon a i {
        line-height: 1 !important;
        vertical-align: middle !important;
    }
      
}