/*
Theme Name: A
*/
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

p{
    margin: 0;
    margin-top: 5px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Google Sans", Roboto, Arial, Helvetica, sans-serif;
}

main {
  flex: 1;
}


*{
    font-family: "Google Sans", Roboto, Arial, Helvetica, sans-serif;
}

html,body{
    margin: 0px;
    padding: 0px;
}

a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
}

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    margin-bottom: 3px;
}


.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
    outline-offset: 4px;
}

.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    outline-offset: 0;
}

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
    text-wrap: pretty;
}


.more-link {
    display: block;
}


.app-icon{
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    vertical-align: top;
}


h1{
    font-size: 1.5em;
}

h2{
    font-size: 1.5em;
}

.title{
    color : black;
    width: 300px;
    margin: 0px;
}

.store-btn {
    display: inline-block;
    padding: 10px 16px;
    margin-right: 10px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}
.store-btn:hover {
    background: #444;
}
.screenshot-gallery::-webkit-scrollbar {
    height: 6px;
}
.screenshot-gallery::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 3px;
}

.youtube-preview {
    position: relative;
    display: inline-block;
}
.youtube-preview img {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.yt-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: black;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.youtube-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; right: 0; bottom: 0;
    justify-content: center;
    align-items: center;
}
.youtube-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}
.youtube-iframe-wrap {
    position: relative;
    z-index: 10;
    max-width: 90%;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.youtube-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.5) url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" fill="white" xmlns="http://www.w3.org/2000/svg"><polygon points="40,30 70,50 40,70"/></svg>') no-repeat center center;
    border-radius: 50%;
    transition: background 0.3s ease;
}



#close-youtube {
    position: absolute;
    top: -12px;
    right: -12px;
    background: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.screenshot-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 2rem;
}
.screenshot-gallery img {
    height: 300px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease;
}
.screenshot-gallery img:hover {
    transform: scale(1.05);
}


.ss-lightbox {
    display: none;
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.ss-lightbox #ss-image {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.ss-nav {
    font-family: sans-serif;
    position: absolute; 
    font-size: 3rem;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0 20px;
    transform: translateY(-10%);
}
.ss-prev { left: 10px; }
.ss-next { right: 10px; }

#ss-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    background: none;
    color: white; 
    border: none;
    cursor: pointer;
}


.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
}

.gallery {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 1rem;
}

.gallery img {
    height: 300px;
    border-radius: 8px;
    flex-shrink: 0;
}

.scroll-btn {
    position: absolute;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.google-play-badge {
    display: inline-block;
    transition: transform 0.2s ease;
}

.google-play-badge:hover {
    transform: scale(1.05);
}

html,body{
    margin: 0px;
    padding: 0px;
}


.app-reviews {
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    font-family: system-ui, sans-serif;
}

.review {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.review strong {
    font-size: 1rem;
    color: #111;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.review small {
    color: #666;
    font-size: 0.85rem;
}

.review p {
    margin: 0.5rem 0 0.6rem 0;
    line-height: 1.5;
    color: #333;
}

.review::before {
    content: "“";
    font-size: 2rem;
    color: #aaa;
    vertical-align: top;
    line-height: 0;
    margin-right: 5px;
}

.review::after {
    content: "”";
    font-size: 2rem;
    color: #aaa;
    vertical-align: bottom;
    line-height: 0;
    margin-left: 5px;
}

/* Review Form */
.review-form {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.review-form textarea {
    resize: vertical;
    height: 100px;
}

.review-form button[type="submit"] {
    background: #0073aa;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.review-form button[type="submit"]:hover {
    background: #005c8e;
}

.review-form label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    display: block;
    color: #222;
}

.review-form-wrapper {
    max-width: 600px;
    margin: 2rem auto;
}

.review-form-toggle {
    background: #0073aa;
    color: #fff;
    padding: 0.9rem 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
}

.review-form-toggle:hover {
    background: #005c8e;
}

.review-form-container {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.review-form-container.active {
    max-height: 1000px; /* large enough to contain full form */
    opacity: 1;
}

.connection_menu a{
    color: #5f6368;
    text-decoration: none;
    font-weight: 400;
    font-size: 12pt;
}

.connection_menu a:hover{
    color : rgb(0, 0, 0);
}


.connection_menu ul{
    padding: 0; 
}

.connection_menu li{
    display: block; 
    padding: 5px;
}


.appia-footer {
  background: #f8f9fa;
  padding: 24px 40px;
  font-size: 15px;
  color: #5f6368;
  border-top: 1px solid #ddd;
}

.appia-footer-inner {
  display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}


.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}


.footer-nav a , .footer-left a{
  color: #333;
  text-decoration: none;
  font-weight: 400;
}

.footer-nav a:hover {
  color: #202124;
}


.small-app-ico{
    margin-right: 10px;
    border-radius: 12px;
    border-width: 0;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    height: 56px;
    width: 56px;
}

.app-icon{
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}


.newsletter-footer {
  background-color: #f9f9f9;
}

.newsletter-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.newsletter-form {
    max-width: 446px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.newsletter-form button , .contact-page button{
    padding: 12px;
    background-color: #000000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
  background-color: #005e8a;
}


.card {
  display: block;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
  border: 1px solid #dfdfdf;
 
}
