/* GlobPOS Page Specific Styles */

/* Tombstone: Removed inline styles from globpos.html */

.globpos-page h1,
.globpos-page h2,
.globpos-page h3 {
    font-family: 'Amaranth', sans-serif;
}

/* Header logo vertical centering fix */
.globpos-page .nav-logo img, .globpos-page .nav-futureglob-logo {
  height: 40px !important;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
.globpos-page .nav-link-futureglob-globpos {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}
.globpos-page .nav-futureglob-logo {
    height: 35px;
    width: auto;
    filter: none;
}
.globpos-logo-standalone {
    height: 80px;
    max-width: 300px;
    margin: 0 auto; 
    display: block;
}

.globpos-page #globpos-hero {
    display: flex;
    align-items: center; 
    justify-content: center;
    text-align: center;
    padding: 150px 2rem 4rem; /* Consistent padding */
    min-height: 70vh; 
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('/restaurant-operations.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    position: relative;
    filter: brightness(1.2);
    margin-top: -118px; /* Remove gap */
}

.globpos-page #globpos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}
.globpos-page #globpos-hero .hero-content {
    max-width: 700px;
    margin: auto;
    color: #fff;
    z-index: 2;
    position: relative;
    background: rgba(0, 0, 0, 0.08); /* Reduced from 0.15 for better background visibility */
    padding: 2.2rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Consistent shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.globpos-page #globpos-hero .hero-tagline {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.7rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Consistent shadow */
    color: #ffffff;
}

.globpos-page #globpos-hero .hero-subtitle {
    font-weight: 400;
    font-size: 1.18rem;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Consistent shadow */
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.globpos-page #overview {
    padding: 0 !important;
    background-color: var(--background-color);
}
.overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    align-items: center;
    margin-top: 2rem;
}
.overview-text {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text-color);
}
.globpos-page #features {
    background-color: var(--surface-color);
    padding: 4rem 0;
}

/* Center demo form properly */
.globpos-page #demo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.globpos-page #demo .container {
    max-width: 700px;
    margin: 0 auto;
}

/* Remove space between hero and logo below */
.globpos-page .logo-display-container { 
    padding: 1rem 0 0 0 !important; 
    margin: 0 !important;
}
.globpos-page .globpos-logo-standalone { 
    margin-bottom: 1rem !important; 
    margin-top: 0 !important; 
    max-height: 80px !important; 
    height: 80px !important;
}

/* Section padding reduction */
.globpos-page section { 
    padding: 1.7rem 0 !important; 
    margin: 0 !important;
}
.globpos-page #overview { 
    padding-top: 0rem !important;
}
.globpos-page h2 { 
    margin-bottom: 1.15rem !important; 
    margin-top: 0 !important;
}
.globpos-page .section-subtitle { 
    margin-bottom: 1rem !important; 
    margin-top: -0.8rem !important;
}
.globpos-page .global-contact-form { 
    margin-top: 0.4rem !important; 
    margin-bottom: 0.2rem !important;
}
.globpos-page section:last-child { 
    margin-bottom: 0; 
    padding-bottom: 1.3rem !important;
}

/* Responsive adjustments */
@media screen and (max-width: 900px) {
    .globpos-page .feature-grid {
        grid-template-columns: 1fr;
    }
    .globpos-page section { 
        padding: 1rem 0 !important; 
    }
    .globpos-page .feature-grid { 
        margin-top: 0.7rem !important;
    }
    .globpos-page .logo-display-container img { 
        height: 65px !important;
    }
}
@media screen and (max-width: 700px) {
    .globpos-page #globpos-hero {
        padding: 2rem 1rem;
        min-height: 70vh; 
        background-attachment: scroll; 
    }
    
    .globpos-page #globpos-hero .hero-tagline {
        font-size: 2rem;
    }
}

/* Mobile responsive fixes */
@media screen and (max-width: 768px) {
    .globpos-page #globpos-hero {
        margin-top: -108px;
        padding: 130px 1rem 2rem;
        min-height: 70vh; 
        background-attachment: scroll; 
    }
    
    .globpos-page #globpos-hero .hero-content {
        padding: 1.5rem 1rem;
        background: rgba(0, 0, 0, 0.12); /* Reduced from 0.25 for better background visibility */
    }
    
    .globpos-page #globpos-hero .hero-tagline {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .globpos-page #globpos-hero .hero-content {
        padding: 1.2rem 0.8rem;
    }
    
    .globpos-page #globpos-hero .hero-tagline {
        font-size: 1.6rem;
    }
}