
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
body {
    font-family: "Zain", sans-serif;
    font-weight: 200;
    font-style: normal;
    min-height: 100vh;
    width: 100%;
}
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
:root {
    --primary-color: #D4AF37;
    --secondary-color: #f5f6fa;
    --light-gray: #f5f6fa;
    --dark-gray: #2d3436;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
header{
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    box-shadow: var(--box-shadow);
    /* border-radius: 15px; */
    display: flex;
    justify-content: space-between;
    position: static;
    font-size: 25px;
    height: 40px;
}
header{
    align-items: center; /* يوسّط العناصر عموديًا داخل الهيدر */
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
    z-index: 999;
}

.logo-div{
    display: flex;
    align-items: center;
}

.logo{
    height: 150px;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    
}
/* TEMP DEBUG: remove this after confirming CSS loads */
body.debug-styles-active {
    outline: 6px dashed red !important;
}
.nav-links a:hover {
    color: var(--dark-gray);
    transform: scale(.5s);
}

.language {
    display: flex;
    align-items: center;
    gap: 10px;
}
.language label {
    color: var(--white);
    font-weight: bold; 
}
.language select {
    padding: 5px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
}
.language select:hover {
    box-shadow: var(--box-shadow);
}
.language select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--dark-gray);
}

.see-more-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.see-more-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.see-more-btn:hover {
    background-color: var(--dark-gray);
    transform: translateY(-2px);
}

#home {
    padding: 250px 20px;
    background-image: url("img/home-background-test.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    height: 100%;
}
#home div {
    text-align: center;
    position: inherit;
    top: 100px;
}
#home h1 {
    font-size: 100px;
    text-align: center;
    margin-bottom: -20px;
    color: var(--light-gray);
    font-weight : bold;
    
}
#home p {
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: #ffc300;
}
.div-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* From Uiverse.io by vinodjangid07 */ 
.Btn-Container-home {
  display: flex;
  width: 185px;
  height: fit-content;
  background-color: #1d2129;
  border-radius: 40px;
  /* box-shadow: 0px 5px 10px #bebebe; */
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;

}
.icon-Container {
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}
.a-button {
  width: calc(170px - 45px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-gray);
  font-size: 1.1em;
  letter-spacing: 1.2px;
  text-decoration: none;
}
.icon-Container svg {
  transition-duration: 1.5s;
}
.Btn-Container:hover .icon-Container svg {
  transition-duration: .5s;
  animation: arrow 1s linear infinite;
}
@keyframes arrow {
  0% {
    opacity: 0;
    margin-left: 0px;
  }
  100% {
    opacity: 1;
    margin-left: 10px;
  }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    font-weight: bold;
}

.filters-container {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-size: 1rem;
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.2);
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.place-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.place-image {
    height: 200px;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.place-details {
    padding: 20px;
}

.place-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.place-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.place-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.btn-view-more {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-view-more:hover {
    background-color: #1a252f;
}

.no-results {
    text-align: center;
    padding: 50px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.no-results i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.no-results p {
    color: #777;
}

/* Skeleton Loading */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton .place-image {
    background-color: #e0e0e0;
}

.skeleton .place-title,
.skeleton .location,
.skeleton .category {
    background-color: #e0e0e0;
    color: transparent;
    border-radius: 4px;
}

.skeleton .place-title {
    width: 80%;
    height: 24px;
    margin-bottom: 15px;
}

.skeleton .location,
.skeleton .category {
    width: 40%;
    height: 16px;
}

@keyframes skeleton-loading {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .places-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
.icon-location::before {
    content: "📍";
}

.icon-pyramid::before {
    content: "△";
}

.icon-temple::before {
    content: "⛩️";
}

.icon-museum::before {
    content: "🏛️";
}

.icon-tomb::before {
    content: "⚰️";
}

.icon-fort::before {
    content: "🏰";
}

.icon-landmark::before {
    content: "🏛️";
    font-size: 4rem;
    opacity: 0.3;
}
#horas{
    padding: 250px 20px;
    background-image: url("img/horas-background.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    height: 100%;
}
.section a{
    text-decoration: none;
    color: white;
}
.section-title{
    text-align: center;
}
.button {
  height: 50px;
  width: 200px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid #252525;
  overflow: hidden;
  border-radius: 30px;
  color: #333;
  transition: all 0.5s ease-in-out;
}

.btn-txt {
  z-index: 1;
  font-weight: 800;
  letter-spacing: 4px;

}
.btn-txt a{
    text-decoration: none;
    color: #333;
}
.type1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.5s ease-in-out;
  background-color: #333;
  border-radius: 30px;
  visibility: hidden;
  height: 10px;
  width: 10px;
  z-index: -1;
}

.button:hover {
  box-shadow: 1px 1px 200px #252525;
  color: #fff;
  border: none;
}
button:hover{
    .btn-txt a{
        color: white;
    }
}

.type1:hover::after {
  visibility: visible;
  transform: scale(100) translateX(2px);
}
.btn-div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
footer{
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 5px 0;
    font-size: 15px;
    margin-top: 20px;
}
footer p{
    font-weight: bold;
}