:root {
    --primary: #4299f0;
    --accent: #f97316;
    --dark: #101922;
    --light: #f6f7f8;
    --glass: rgba(255,255,255,0.15);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans', sans-serif;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

/* Navbar Glass Effect <!-- Logo -->*/
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
/* Logo Container */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; 
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff; 
    border-radius: 10px;
    box-shadow: 0 4px 15px #00000033;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon span {
    color: #4299f0; 
    font-size: 24px;
}


/* Logo Text */
.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 6px var(--primary); /* ظل للنص يبرزه على الخلفية */
}


/* <!-- Links styles --> */
.nav-links {
    display: flex;
    gap: 30px; 
    align-items: center;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: #ffffffe6;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
    font-weight: 600;
    transform: translateY(-2px);
}
/* Nav Actions Container */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px; 
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Log In Button */
.nav-actions .login {
    background: transparent;
    color: #ffffffcc; 
    border: 1px solid transparent;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-actions .login:hover {
    color: #ffffff; 
    transform: translateY(-2px);
}

/* Sign Up Button */
.nav-actions .signup {
    background: #ffffff; 
    color: #101922;
    border: none;
    padding: 10px 20px;
    font-size: 0.90rem;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-actions .signup:hover {
    background: #0357aa; 
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px var(--primary);
}

/* Menu Button (Mobile) */
.nav-actions .menu {
    display: none;
    background: transparent;
    color: #ffffff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-actions .login,
    .nav-actions .signup,
    .nav-links{
        display: none;
    }
    .Right-C {
        display: flex;
    }
    .nav-actions .menu {
        display: flex;
    }
}


/* Sidebar Container */
.sidebar {
    position: fixed;
    top: -100%;
    right: -100%; 
    width: 260px;
    height: max-content;
    background: #ffffff26;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 4px 0 30px #7979794d;
    padding: 20px;
    display: flex;
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 100;
}

/* Sidebar Active */
.sidebar.active {
    top: 4rem;
    right: 2.7rem;
}

/* Close Button */
.sidebar .close-btn {
    background: transparent;
    border: none;
    color: #9b0707;
    border-radius: 50%;
    font-size: 2rem;
    align-self: flex-end;
    cursor: pointer;
}

/* Sidebar Links */
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-links a {
    text-decoration: none;
    color: #ffffffe6;
    padding: 8px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.sidebar-links a:hover {
    background-color: #0357aa;
    padding: 8px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    transform: translateX(3px) scale(1.02);

}

/* Sidebar Sign Up Button */
.sidebar-links .signup {
    background: #ffffff;
    color: #101922;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-links .signup:hover {
    background: #4299f0;
    color: #ffffff;
    transform: translateX(3px) scale(1.02);
}


/* Container */
.right-c {
    position: relative;
    height: 100%;
}

/* Cards */
.card {
    position: absolute;
    width: 380px;
    padding: 16px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
}

/* Card positions */
.card-1 {
    top: 40px;
    right: 40px;
    z-index: 20;
}

.card-2 {
    top: 190px;
    right: 130px;
    z-index: 10;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Card content */
.card-content {
    display: flex;
    gap: 16px;
}

/* Image */
.card-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Info */
.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111418;
    line-height: 1.2;
}

/* Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Badge */
.badge {
    background: #ff7b0046;
    color: #ff7b00;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
}

/* Rating */
.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: #617589;
    font-size: 14px;
}

.rating span.material-symbols-outlined {
    color: #137fec;
    font-size: 16px;
}

/* Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-footer p {
    font-weight: 700;
    font-size: 14px;
    color: #111418;
}

/* Arrow Button */
.arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f6f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.arrow-btn:hover {
    background: #137fec;
    color: #fff;
}

/* Floating animation */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.float-1 {
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    animation: float 7s ease-in-out infinite 1s;
}

/* Map Pin */
.map-pin {
    position: absolute;
    top: 80px;
    right: 420px;
    z-index: 0;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.map-pin span {
    font-size: 48px;
    color: #fff;
    filter: drop-shadow(0 8px 10px #00000066);
}

.pin-shadow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 12px;
    background: #00000066;
    filter: blur(6px);
    border-radius: 50%;
}

/* Bounce */
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* responsive styles */
@media (max-width: 768px){

    .card {
        position: static;
        width: 100%;
    }
    .right-c {
        display: flex;
        gap: 16px;
    }
    .map-pin{
        display: none;
    }
} 

@media (max-width: 450px){
    
    .right-c {
        flex-direction: column;
        gap: 16px;
    }
}