* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: white;
    font-weight: 600;
}

body {
    background-image: url(../image/download.jpg);
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
    top: 0;
    left: 0;
    z-index: -1;
}


/* ================= Navbar General ================= */
.navbar {
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 40, 70, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 0 0 25px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    z-index: 10;
    transition: background 0.3s ease;
}

.navbar:hover {
    background: rgba(0, 60, 110, 0.6);
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: #00f0ff;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00cfff;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 10px;
    transition: 0.3s;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #00f0ff, #00cfff, #ff9a00);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.social-icons a {
    margin-left: 15px;
    color: #fff;
    font-size: 1.3rem;
    transition: 0.3s;
    text-shadow: 0 0 5px #00f0ff;
}

.social-icons a:hover {
    color: #00f0ff;
    transform: scale(1.2);
    text-shadow: 0 0 15px #00f0ff, 0 0 25px #00cfff;
}

/* ================= Burger Menu ================= */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #00f0ff;
    border-radius: 3px;
    transition: 0.3s;
}

.burger:hover span {
    transform: scaleX(1.3);
}

/* ================= Back Button Navbar ================= */
.back-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px; 
    font-size: 28px; 
    padding: 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1); 
    backdrop-filter: blur(10px);
    color: #00f0ff; 
    text-decoration: none;
    transition: 0.3s;
}

.back-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.back-arrow img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    transform: rotate(180deg);
}

/* ================= Back Button Full Screen Menu ================= */
.back-arrow-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    padding: 8px 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: #00f0ff;
    text-decoration: none;
    transition: 0.3s;
}

.back-arrow-full:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.back-arrow-full img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* ================= Media Queries for Responsiveness ================= */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 30px;
    }

    .nav-links {
        gap: 25px;
    }

    .social-icons a {
        font-size: 1.1rem;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: rgba(0, 40, 70, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 9;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: flex;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .social-icons a {
        font-size: 1rem;
        margin-left: 8px;
    }

    .back-arrow {
        font-size: 24px;
        padding: 6px;
    }

    .back-arrow img, .back-arrow-full img {
        width: 20px;
        height: 20px;
    }
}






.main-container {
    width: 320px;
    height: 500px;
    z-index: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 20px;
    margin-top: 120px;
    margin-bottom: 120px; 
       
}


.regular-txt {
    font-weight: 400;
}

.input-container {
    position: relative;
    margin-bottom: 25px;
}

.city-input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 99px;
    border: 3px solid transparent;
    background: rgba(0, 0, 0, 0.15);
    outline: none;
    font-weight: 500;
    transition: 0.25s border;
    padding-right: 45px;
}

.city-input:focus {
    border: 3px solid rgba(0, 0, 0, 0.15);
}

.city-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    display: flex;
    border: none;
    cursor: pointer;
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-date-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.weather-summary-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weather-summary-img {
    width: 100px;
    height: 100px;
}

.weather-summary-info {
    text-align: end;
}

.weather-conditions-container {
    display: flex;
    justify-content: space-between;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.condition-item span {
    font-size: 30px;
}

.forecast-items-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
    scroll-behavior: smooth;
}

.forecast-items-container::-webkit-scrollbar {
    height: 6px;
}

.forecast-items-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
}

.forecast-items-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 99px;
    transition: background 0.3s ease;
}

.forecast-items-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);
}

.forecast-item {
    min-width: 70px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    align-items: center;
    border-radius: 12px;
    transition: 0.3s background;
}

.forecast-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.forecast-item-img {
    width: 35px;
    height: 35px;
}

.section-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-top: 25%;
}

.section-message img {
    height: 180px;
    width: fit-content;
}

.back-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 30px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}


.footer {
    width: 100%;
    padding: 30px 50px;
    background: rgba(0, 40, 70, 0.6);
    backdrop-filter: blur(25px);
    border-radius: 25px 25px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
  
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #00f0ff;
    text-shadow: 0 0 15px #00f0ff, 0 0 25px #00cfff;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
}

.footer p {
    color: rgba(255, 255, 255, 0.85);
}

.footer-social-icons a {
    margin: 0 12px;
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 0 0 5px #00f0ff;
    transition: 0.3s;
}

.footer-social-icons a:hover {
    color: #00f0ff;
    transform: scale(1.3);
    text-shadow: 0 0 15px #00f0ff, 0 0 25px #00cfff;
}


@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(0,40,70,0.95);
        text-align: center;
        gap: 25px;
        padding: 25px 0;
        display: none;
        border-radius: 0 0 25px 25px;
    }

    .nav-links.nav-active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .main-container {
      
      
    }
}













.contact-section {
    width: 100%;
    min-height: 100vh; 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 40px 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;      
    gap: 25px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-radius: 0;
}

.contact-section h2 {
    font-size: 2rem;
    color: #00f0ff;
    text-align: center;
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #00cfff;
}

.contact-section p {
    color: rgba(255,255,255,0.85);
    text-align: center;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.15);
    color: white;
    font-weight: 500;
    outline: none;
    transition: 0.3s border, 0.3s background;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00f0ff;
    background: rgba(0,0,0,0.25);
}

.contact-form textarea {
    resize: none;
    min-height: 100px;
}

.contact-form button {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    background: #00f0ff;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #00cfff;
    transform: scale(1.05);
}

.back-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    background: #00f0ff;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 10px;
}

.back-btn:hover {
    background: #00cfff;
    transform: scale(1.05);
}















 /* .auth-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #00e5ff, #005577);
}

.form-box {
    width: 100%;
    max-width: 400px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;
}

.form-title {
    font-size: 2rem;
    text-align: center;
}

.form-box input {
    width: 100%;
    padding: 12px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.15);
    color: white;
    outline: none;
    font-size: 1rem;
}

.form-btn {
    padding: 12px;
    border-radius: 50px;
    border: none;
    background: #00f0ff;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.form-btn:hover {
    background: #00cfff;
}

.switch-text {
    text-align: center;
    font-size: 0.9rem;
}

.switch-text a {
    color: #00f0ff;
    text-decoration: none;
    font-weight: 600;
}

.switch-text a:hover {
    color: #00cfff;
}

@media screen and (max-width: 500px) {
    .form-box {
        padding: 30px 20px;
    }
}  */




.auth-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #00e5ff, #005577, #0077aa, #00bfff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}


@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Form Box */
.form-box {
    width: 100%;
    max-width: 400px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(-50px);
    animation: fadeSlideIn 1s ease forwards;
}


@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.form-title {
    font-size: 2rem;
    text-align: center;
    letter-spacing: 1px;
    animation: fadeSlideIn 1.2s ease forwards;
}


.form-box input {
    width: 100%;
    padding: 12px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.15);
    color: white;
    outline: none;
    font-size: 1rem;
    transition: 0.3s;
}

.form-box input:focus {
    border-color: #00f0ff;
    background: rgba(0,0,0,0.25);
    box-shadow: 0 0 10px rgba(0,240,255,0.5);
}


.form-btn {
    padding: 12px;
    border-radius: 50px;
    border: none;
    background: #00f0ff;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.4s;
    box-shadow: 0 4px 15px rgba(0,240,255,0.4);
}

.form-btn:hover {
    background: #00cfff;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,255,255,0.6);
}

/* Switch Text */
.switch-text {
    text-align: center;
    font-size: 0.9rem;
}

.switch-text a {
    color: #00f0ff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.switch-text a:hover {
    color: #00cfff;
}

@media screen and (max-width: 500px) {
    .form-box {
        padding: 30px 20px;
    }
}





/* =================== Autocomplete =================== */
.input-container {
  position: relative; /* important so suggestions position correctly */
}

/* suggestions box */
.suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-width: 420px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  overflow-y: auto;
  max-height: 220px;
  z-index: 9999;
  font-size: 0.95rem;
}

/* each suggestion */
.suggestions div {
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

/* hover / active */
.suggestions div:hover,
.suggestions div:focus {
  background: #00f0ff;
  color: #000;
}

/* mobile adjustments */
@media (max-width: 500px) {
  .suggestions {
    max-width: 100%;
    font-size: 0.9rem;
  }
}

/* small text for accuracy */
.location-accuracy {
  color: rgba(255,255,255,0.9);
  opacity: 0.95;
  font-size: 0.9rem;
  margin: 0;
}





/* مثال للتنسيق الذي ستحتاجه في ملف style.css */

/* تأكد من أن الـ main-container لديه position: relative; */

#geolocation-soft-ask {
    /* وضعها في منتصف الشاشة */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* خلفية معتمة لجذب الانتباه */
    z-index: 1000; /* للتأكد من أنها فوق باقي العناصر */
    
    /* توسيط المحتوى */
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

#geolocation-soft-ask > div {
    background: #2c3e50; /* خلفية المحتوى */
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.location-ask-icon {
    font-size: 60px;
    color: #3498db; /* لون مميز */
    margin-bottom: 10px;
}

.soft-ask-actions {
    margin-top: 20px;
}

.primary-btn {
    background-color: #2ecc71; /* زر القبول */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.secondary-btn {
    background-color: transparent;
    color: #bdc3c7;
    border: 1px solid #bdc3c7;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}