@charset "utf-8";

* 
{ margin: 0;
padding: 0; 
box-sizing: border-box;
}
html, body {
height: 100%; 
}
body {
  direction: rtl;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  background: url("../images/back.jpg") center/cover no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  text-align: center;
  color: #111111;
  line-height: 1.6;
  font-size: 18px;
}
.site-header {

  background: linear-gradient(90deg, #FF1E00, #FF4500); 
  color: #FFFFFF;
  padding: 20px;
  border-bottom: 2px solid #fff;
  position: relative;
  overflow: hidden;
}
.logo {
  display: inline-block;
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(90deg, #ffd700, #ff8c00); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.site-nav {
	margin-top: 10px; 
}
nav ul { list-style: none; }
nav ul li { display: inline-block; margin: 0 10px; 
}

nav ul li a {

  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #cce5ff;
  color: #000;
}
nav ul li a:visited,
nav ul li a:active {
  color: #ffd700; 
}
.ship {
  position: absolute;
  top: 0;
  width: 64px;
  height: auto;
  opacity: 0;
  z-index: 1;
}

.ship-left {
  left: 0;
  animation: sail-left 6s ease-in-out infinite;
}

.ship-right {
  right: 0;
  animation: sail-right 6s ease-in-out infinite;
}


@keyframes sail-left {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateX(40vw); opacity: 1; }
  80%  { transform: translateX(45vw) translateY(60px); opacity: 0.5; }
  100% { transform: translateX(45vw) translateY(60px); opacity: 0; }
}


@keyframes sail-right {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateX(-40vw); opacity: 1; }
  80%  { transform: translateX(-45vw) translateY(60px); opacity: 0.5; }
  100% { transform: translateX(-45vw) translateY(60px); opacity: 0; }
}

main {
padding: 20px; 
}

.fade-section {
  background-color: rgba(0,0,0,0.4);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 15px;
  margin: 20px auto;
  border-radius: 8px;
  max-width: 900px;
}
.fade-section h2 {
  font-size: 30px;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  margin-bottom: 10px;
}

.fade-section p {
  font-size: 25px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  line-height: 1.8;
}

.card {
  display: inline-block;
  width: 220px;
  margin: 10px;
  background-color: #fdf6e3;
  border: 2px solid #444;
  border-radius: 8px;
  padding: 10px;
  vertical-align: top;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFade 0.8s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.card:hover {

  transform: scale(1.04);

  box-shadow: 0 8px 20px rgba(0,0,0,0.3);

}


@keyframes cardFade {

  to { opacity: 1; transform: translateY(0); }
}


.card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover img {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.card h3 {
  margin-top: 8px;
  font-size: 22px;
  font-weight: bold;
  color: #b8860b;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);

}
.card p {
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  margin-top: 6px;
}

.summary {
  font-size: 14px;
  color: #444;
  margin-top: 6px;
  line-height: 1.6;
}

.site-footer {
  background-color: #ff1e00; 
  color: #fff;
  text-align: center;
  padding: 20px;
  border-top: 2px solid #fff;

}

.site-footer p {
  margin: 6px 0;
  font-size: 14px;

}