/* Index, body etc */

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url('images/bg-1536x1024.png') no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
}

/* Mobile or vertical screens */
@media (max-width: 768px) {
  body {
    background: url('images/bg-1024x1536.png') no-repeat center center fixed;
    background-size: cover;
  }
}

.slider {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.items-group {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  box-sizing: border-box;
}

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

.block {
  width: 70vw;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  background: url('images/logo-1024.png') no-repeat center center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s, background-size 0.5s;
  box-sizing: border-box;
  transform: scale(1.03);
}

/* Desktop screen: make logo bigger */
@media (min-width: 1024px) {
  .block {
    max-width: 800px;
  }
}

.block:hover {
  box-shadow: 0px 0px 70px #111;
  background-size: 125%;
}

.block-link {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.block-link:hover {
  cursor: pointer;
}

.circleLight {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 10px;
  background: radial-gradient(circle at 80px 40px, #fff, transparent);
  opacity: 0;
  transition: 0.5s;
  pointer-events: none;
}

.block:hover .circleLight {
  opacity: 0.4;
}

.text {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 130px;
  margin-bottom: 0;
}

.text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
}

/* home.html */

.home-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  text-align: center;
  font-family: Arial, sans-serif;
}

.home-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.home-content p {
  font-size: 1.5rem;
}

/* Navigation images / buttons */
.nav-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10;
  box-sizing: border-box;
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.nav-link {
  flex: 1 1 auto;
  text-align: center;
}

.nav-link img {
  width: 60px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-link img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Active button */
.nav-link.active img {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  transform: scale(1.15);
}

/* Responsive scaling for very small screens */
@media (max-width: 600px) {
  .nav-link img {
    width: 50px;
  }
}

@media (max-width: 400px) {
  .nav-link img {
    width: 40px;
  }
}

@media (max-width: 300px) {
  .nav-link img {
    width: 30px;
  }
}


nav.nav-buttons {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.5); /* optional translucent background */
  backdrop-filter: blur(5px); /* optional nice glass blur effect */
}

.home-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 20px;
  padding-bottom: 120px; /* <-- ADD THIS to make space for navbar */
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.home-description {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.8); /* Light white with opacity */
  padding: 20px;
  border-radius: 15px;
  margin-top: 20px;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* On small screens, add more padding */
@media (max-width: 600px) {
  .home-description {
    padding: 15px;
    font-size: 1rem;
  }
}


/* About */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
  box-sizing: border-box;
}

.about-image img {
  width: 300px;
  max-width: 90%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* apps */

.apps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  padding-bottom: 120px;
}

.apps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.app-item {
  width: 250px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.app-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.app-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.app-info h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.app-info p {
  font-size: 1rem;
  color: #555;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .app-item {
    width: 100%;
  }
}


/* Responsive for mobile: stack vertically */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-image img {
    width: 200px;
  }
}

/* Blog */
.blog-container {
  max-width: 800px;
  margin: 80px auto 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.blog-post {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 120px; /* bottom padding so nav doesn't overlap */
  box-sizing: border-box;
}

.blog-post {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.blog-post h2 {
  margin-top: 0;
}

.blog-post img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin: 10px 0;
}

.blog-post small {
  display: block;
  margin-top: 10px;
  color: #555;
}

.admin-links {
  margin-top: 10px;
}

/* Single blog post page */
.single-post {
  margin-bottom: 30px;
}

.single-post img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 15px 0;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Comments Section */
.comments-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 20px;
  backdrop-filter: blur(4px);
}

.comment {
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.comment strong {
  display: block;
  font-weight: bold;
}

.comment small {
  color: #555;
  font-size: 0.9rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.comment-form button {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.comment-form button:hover {
  background-color: #555;
}

.error {
  color: red;
  font-weight: bold;
}

/* Contact */
.contact-container {
  max-width: 600px;
  margin: 80px auto 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-align: center;
}

form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

button[type="submit"] {
  background-color: #333;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #555;
}

.captcha-image {
  width: 150px;
  margin: 10px 0;
  border-radius: 10px;
}


.app-launch-link {
  display: inline-block;
  margin-top: 15px;
  transition: transform 0.3s ease;
}

.launch-image {
  width: 40px;
  max-width: 40px;
  height: auto;
  border-radius: 6px;
  margin-top: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.app-launch-link:hover .launch-image {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
