/* Pages CSS - EL Ahram Travels */

/* Page Header */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.page-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.page-logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.page-logo .banner_logo_text {
    background-color: #333;
    color: white;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
}

.page-nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.page-nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.page-nav-links a:hover {
    background-color: #f8f9fa;
    color: #007bff;
    transform: translateY(-2px);
}

.auth-active a {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white !important;
    border: 2px solid #007bff;
}

.auth-active a:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
}

/* Auth Section */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px 50px;
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    min-height: 600px;
}

.auth-image {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8)), 
                url('../images/gallery1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-image-overlay {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 400px;
}

.auth-image-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.auth-image-overlay p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.auth-feature i {
    color: #ffd700;
    font-size: 1.2rem;
    width: 20px;
}

.auth-form-container {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.auth-form-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.auth-form-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 16px;
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 45px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.input-wrapper.focused {
    transform: translateY(-2px);
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    background: #f0f0f0;
    color: #333;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.forgot-password {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

.auth-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    height: 55px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    height: 50px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.google-btn {
    color: #db4437;
    border-color: #db4437;
}

.google-btn:hover {
    background: #db4437;
    color: white;
    transform: translateY(-2px);
}

.facebook-btn {
    color: #4267B2;
    border-color: #4267B2;
}

.facebook-btn:hover {
    background: #4267B2;
    color: white;
    transform: translateY(-2px);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
}

.auth-switch p {
    color: #666;
    font-size: 14px;
}

.auth-switch a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Quick Access Section */
.quick-access {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quick-access h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    font-weight: 700;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-access-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.quick-access-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.quick-access-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s ease;
}

.quick-access-item:hover .quick-access-icon {
    transform: scale(1.1);
}

.quick-access-icon i {
    font-size: 2rem;
    color: white;
}

.quick-access-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.quick-access-item p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.quick-access-btn {
    display: inline-block;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-access-btn:hover {
    background: linear-gradient(45deg, #20c997, #17a2b8);
    transform: translateY(-2px);
}

/* Page Footer */
.page-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 20px;
}

.page-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #007bff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #007bff;
    color: white;
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #ccc;
}

.contact-item i {
    color: #007bff;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}


.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
}

.filter-group select,
.filter-group input {
    height: 45px;
    padding: 0 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    min-width: 150px;
}

.filter-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    height: 45px;
    padding: 0 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
}

.rooms-grid {
    padding: 80px 20px;
    background: #f8f9fa;
}

.rooms-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rooms-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Hotels Page Specific */
.hotels-search {
    padding: 120px 20px 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

/*     display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative; */
.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.search-container p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.search-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.search-group label {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.search-group input,
.search-group select {
    height: 45px;
    padding: 0 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.search-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(45deg, #20c997, #17a2b8);
    transform: translateY(-2px);
}

.hotels-results {
    padding: 80px 20px;
    background: #f8f9fa;
}

.results-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.results-count {
    color: #666;
    font-size: 1.1rem;
}

.sort-options select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

.hotels-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hotel-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: all 0.3s ease;
}

.hotel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hotel-image {
    position: relative;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-item:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.hotel-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hotel-header {
    margin-bottom: 20px;
}

.hotel-name {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.hotel-location {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hotel-stars {
    color: #ffd700;
    font-size: 1.1rem;
}

.hotel-score {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hotel-amenities {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.amenity i {
    color: #007bff;
}

.hotel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotel-price {
    text-align: right;
}

.price-amount {
    font-size: 1.8rem;
    color: #007bff;
    font-weight: 700;
}

.price-unit {
    color: #666;
    font-size: 0.9rem;
}

.price-note {
    color: #999;
    font-size: 0.8rem;
    margin-top: 5px;
}

.book-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
}

/* Register Page Specific */
.register-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.terms-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.terms-container input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #007bff;
}

.terms-container a {
    color: #007bff;
    text-decoration: none;
}

.terms-container a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-content {
        grid-template-columns: 1fr;
    }
    
    .auth-image {
        min-height: 300px;
    }
    
    .auth-form-container {
        padding: 40px 30px;
    }
    
    .hotel-item {
        grid-template-columns: 1fr;
    }
    
    .hotel-image {
        height: 250px;
    }
    
    .page-header-content {
        padding: 0 15px;
    }
    
    .page-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 100px 15px 30px;
    }
    
    .auth-form-container {
        padding: 30px 20px;
    }
    
    .auth-form-header h1 {
        font-size: 2rem;
    }
    
    .auth-image-overlay {
        padding: 30px;
    }
    
    .auth-image-overlay h2 {
        font-size: 2rem;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .rooms-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .search-container h1 {
        font-size: 2.5rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select,
    .filter-group input {
        min-width: 100%;
    }
    
    .results-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hotel-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .register-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-form-container {
        padding: 20px 15px;
    }
    
    .auth-image-overlay {
        padding: 20px;
    }
    
    .auth-image-overlay h2 {
        font-size: 1.8rem;
    }
    
    .rooms-hero {
        height: 50vh;
    }
    
    .rooms-hero-content h1 {
        font-size: 2rem;
    }
    
    .search-container h1 {
        font-size: 2rem;
    }
    
    .hotel-details {
        padding: 20px;
    }
    
    .quick-access-item {
        padding: 30px 20px;
    }
    
    .page-footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animation Classes */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.slide-in-right {
    animation: slideInFromRight 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInFromLeft 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error-message {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #2f855a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* Focus and Accessibility */
*:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .page-header,
    .mobile-menu-overlay,
    .auth-btn,
    .social-login,
    .quick-access,
    .page-footer {
        display: none;
    }
    
    .auth-section {
        padding: 20px;
    }
    
    .auth-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

