@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;600&display=swap');

* { box-sizing: border-box; margin:0; padding:0; }
body { font-family: 'Rubik', sans-serif; background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); color: #f0f0f0; direction: rtl; scroll-behavior: smooth; }

.header { text-align: center; padding: 3rem 1rem; background: linear-gradient(90deg, #ff512f, #dd2476); }
.header h1 { font-size: 2.8rem; margin-bottom:0.5rem; animation: fadeInDown 1s ease forwards; }
.header .highlight { color:#fff176; }
.header p { font-size:1.2rem; margin-bottom:1rem; animation: fadeInDown 1s ease 0.3s forwards; opacity:0; }
.header nav a { margin:0 1rem; color:#fff; font-weight:bold; text-decoration:none; transition:0.3s; }
.header nav a:hover { color:#ffd600; }

.hero { padding:4rem 2rem; text-align:center; background: linear-gradient(135deg, #11998e, #38ef7d); border-radius:0 0 50% 50% / 0 0 10% 10%; margin-bottom:2rem; }
.hero-title { font-size:2.5rem; margin-bottom:1rem; animation: slideIn 1s forwards; }
.hero-text { font-size:1.2rem; max-width:700px; margin:0 auto; line-height:1.6; animation: fadeIn 1s 0.5s forwards; opacity:0; }
.cta-button { display:inline-block; margin-top:1rem; padding:1rem 2rem; border-radius:10px; background:#ff512f; color:#fff; font-weight:bold; text-decoration:none; transition:0.3s; }
.cta-button:hover { background:#dd2476; }

.services { padding:4rem 2rem; }
.section-title { font-size:2rem; text-align:center; margin-bottom:2rem; color:#ffeb3b; }
.service-list { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:2rem; justify-items:center; }
.service-card { background: rgba(255,255,255,0.05); padding:2rem; border-radius:20px; text-align:center; transition: transform 0.5s, box-shadow 0.5s; cursor:pointer; backdrop-filter: blur(10px); }
.service-card:hover { transform:translateY(-10px) rotateX(5deg); box-shadow:0 15px 25px rgba(0,0,0,0.3); }
.service-card .icon { font-size:2.5rem; margin-bottom:1rem; }

.projects { padding:4rem 2rem; }
.project-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:2rem; }
.project { background: rgba(255,255,255,0.05); padding:1.5rem; border-radius:20px; transition: transform 0.5s, box-shadow 0.5s; opacity:0; transform:translateY(20px); backdrop-filter: blur(10px); position:relative; }
.project:hover { transform:translateY(-10px) scale(1.03); box-shadow:0 15px 25px rgba(0,0,0,0.3); }
.project h3 { margin-bottom:0.5rem; }
.project a { text-decoration:none; color:#ffd600; font-weight:bold; }
.extra-project { background:#1a1a1a; color:#fff; font-style:italic; text-align:center; }

.contact { padding:3rem 2rem; text-align:center; }
.contact-cards { display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; margin-bottom:2rem; }
.contact-card { background: rgba(255,255,255,0.05); padding:1rem 2rem; border-radius:15px; transition: transform 0.3s, box-shadow 0.3s; display:flex; align-items:center; gap:0.5rem; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.contact-card a { text-decoration:none; color:#ffd600; font-weight:bold; }
.contact-form { max-width:600px; margin:0 auto; display:flex; flex-direction:column; gap:1rem; }
.contact-form input, .contact-form textarea { padding:1rem; border:none; border-radius:10px; background: rgba(255,255,255,0.1); color:#fff; resize:none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color:#ddd; }
.contact-form button { padding:1rem; border:none; border-radius:10px; background:#ff512f; color:#fff; font-weight:bold; cursor:pointer; transition:0.3s; }
.contact-form button:hover { background:#dd2476; }

.footer { text-align:center; padding:1rem; background:#111; }

@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px);} to{opacity:1; transform:translateY(0);} }
@keyframes fadeIn { to{opacity:1;} }
@keyframes slideIn { from{opacity:0; transform:translateX(-50px);} to{opacity:1; transform:translateX(0);} }

@media (max-width:768px) {
  .service-list, .project-list, .contact-cards { grid-template-columns: 1fr; }
  .header nav a { display:block; margin:0.5rem 0; }
}

.fancy-animated-hr {
  border: none;
  height: 4px;
  background: linear-gradient(270deg, #ff512f, #dd2476, #ffd600);
  background-size: 600% 100%;
  border-radius: 2px;
  box-shadow: 0 0 5px #ffd60088, 0 0 10px #dd247688;
  animation: slideGradient 3s linear infinite, pulseShadow 2s infinite alternate;
  margin: 2rem 0;
}

@keyframes slideGradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

@keyframes pulseShadow {
  0% { box-shadow: 0 0 5px #ffd60088, 0 0 10px #dd247688; }
  100% { box-shadow: 0 0 15px #ffd60088, 0 0 30px #dd247688; }
}

.no-saturday-message {
    background-color: rgba(255, 193, 7, 0.15); 
    color: #ffc107; 
    border: 1px solid #ffc107; 
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin: 20px auto;
    max-width: 80%; 
    box-sizing: border-box;
    animation: pulseWarning 2s infinite alternate; 
}

.no-saturday-message p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.highlight-saturday {
    color: #f44336; 
}

@keyframes pulseWarning {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
    }
    100% {
        transform: scale(1.05);
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.8);
    }
}

@media (max-width: 768px) {
    .no-saturday-message {
        max-width: 95%;
        padding: 10px;
        font-size: 1rem;
    }
    .no-saturday-message p {
        font-size: 1rem;
    }
}

.show-more-btn {
  display: none;
  margin: 2rem auto;
  padding: 1rem 2rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity:0;
  transform: translateY(20px);
}

@media (max-width: 768px) {
  .show-more-btn {
    display: block; 
    opacity: 1;
    transform: translateY(0);
    animation: fadeSlide 0.5s ease forwards;
  }
}

.show-more-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@keyframes fadeSlide {
  from { opacity:0; transform: translateY(20px);}
  to { opacity:1; transform: translateY(0);}
}

#get-quote-btn {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 9999;
  background: linear-gradient(180deg,#ff6b6b,#ff3b3b);
  color: white;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  opacity: 0.98;
}

#get-quote-btn:hover,
#get-quote-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  outline: none;
}

#gqb-icon { font-size: 16px; }

@media (max-width: 480px) {
  #get-quote-btn {
    right: 12px;
    bottom: 14px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

.skills {
  padding: 4rem 2rem;
  text-align: center;
}

.skills .section-title {
  font-size: 2rem;
  color: #ffeb3b;
  margin-bottom: 2rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.skill-tag {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  cursor: default;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.skill-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}
