@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaf0 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

:root {
    --primary-color: #0c2461;
    --secondary-color: #9D9E54;
    --accent-color: #c9a959;
    --text-primary: #9D9E54;
    --text-secondary: #333;
    --background-light: #f0f0f0;
    --background-white: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(145deg, #0c2461 0%, #0c2461 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 1.5rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--background-white);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9D9E54, #c9a959);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--accent-color);
}

.desktop-nav a:hover::after {
    width: 100%;
}


/* Slide Menu */
.slide-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background-color: var(--primary-color);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    padding: 20px 0;
}

.slide-menu.open {
    right: 0;
}

.slide-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.slide-menu-header h2 {
    color: var(--background-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.slide-menu-close {
    background: none;
    border: none;
    cursor: pointer;
}

.slide-menu-close svg {
    stroke: var(--accent-color);
}

.slide-menu-items {
    padding: 10px 0;
}

.slide-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-menu-item:hover {
    background: linear-gradient(90deg, #9D9E54, #c9a959);
    opacity: 0.8;
}

.slide-menu-item-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-menu-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--background-white);
}

.slide-menu-item-text {
    color: var(--background-white);
    font-weight: 500;
    font-size: 0.95rem;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

.menu-icon {
display: flex;
align-items: center;
justify-content: center;
height: 45px;
cursor: pointer;
transition: 0.3s;
position: relative;
z-index: 2;
padding: 0 10px;
}

.menu-icon .navigation-tab__icon {
display: block;
color: #9D9E54;
transition: transform 0.3s ease;
line-height: 1;
}

.menu-icon.active .navigation-tab__icon {
transform: rotate(90deg);
color: #c9a959;
}

/* Responsive Navigation Styles */
@media screen and (max-width: 1024px) {
.desktop-nav {
display: none !important;
}

.menu-icon {
display: flex !important;
}

.slide-menu {
display: block !important;
}
}

@media screen and (min-width: 1025px) {
.menu-icon {
display: none !important;
}

.slide-menu {
display: none !important;
}

.desktop-nav {
display: flex !important;
}

.menu-overlay {
display: none !important;
}
}

/* Additional Responsive Tweaks */
@media screen and (max-width: 320px) {
.slide-menu {
width: 100%;
right: -100%;
}

.nav-container {
padding: 10px 5px;
}

.logo img {
max-height: 40px;
}
}

@media screen and (min-width: 321px) and (max-width: 480px) {
.slide-menu {
width: 280px;
right: -280px;
}
}

@media screen and (min-width: 481px) and (max-width: 768px) {
.slide-menu {
width: 300px;
right: -300px;
}
}


/* Ultra-small devices */
@media screen and (max-width: 320px) {
.logo img {
max-height: 32px;
}

.menu-icon svg {
width: 24px;
height: 24px;
}
}
/* Login Form Container */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 40px;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/assets/img/luxury.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.login-container {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.login-header .logo {
    margin-bottom: 20px;
}

.login-header .logo img {
    max-height: 70px;
    width: auto;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.login-form input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.login-form input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 169, 89, 0.2);
}

.login-form label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 5px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.login-form input:focus + label,
.login-form input:not(:placeholder-shown) + label {
    top: 0;
    left: 10px;
    font-size: 12px;
    background: white;
    color: var(--primary-color);
    padding: 0 5px;
}

.forgot-password {
    text-align: right;
    margin-top: -15px;
    margin-bottom: 20px;
}

.forgot-password a {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-btn:hover {
    background: #0a1f4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 36, 97, 0.3);
}

.social-login {
    text-align: center;
    margin-top: 30px;
}

.social-login p {
    color: #666;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-login p::before,
.social-login p::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
    max-width: 100px; /* Prevents lines from being too long */
}

.social-login p::before {
    margin-right: 15px;
}

.social-login p::after {
    margin-left: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping on very small screens */
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #666;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.social-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* RESPONSIVE BREAKPOINTS */

/* Mobile phones (320px - 480px) */
@media screen and (max-width: 480px) {
    .social-login {
        margin-top: 20px;
    }
    
    .social-login p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .social-login p::before,
    .social-login p::after {
        max-width: 60px; /* Shorter lines on mobile */
    }
    
    .social-login p::before {
        margin-right: 10px;
    }
    
    .social-login p::after {
        margin-left: 10px;
    }
    
    .social-buttons {
        gap: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
}

/* Small tablets (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .social-login p {
        font-size: 13px;
    }
    
    .social-login p::before,
    .social-login p::after {
        max-width: 80px;
    }
    
    .social-login p::before {
        margin-right: 12px;
    }
    
    .social-login p::after {
        margin-left: 12px;
    }
    
    .social-buttons {
        gap: 12px;
    }
}

/* Tablets and small desktops (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .social-login {
        margin-top: 35px;
    }
    
    .social-login p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .social-login p::before,
    .social-login p::after {
        max-width: 120px;
    }
    
    .social-btn {
        width: 48px;
        height: 48px;
    }
}

/* Large desktops (1025px and up) */
@media screen and (min-width: 1025px) {
    .social-login {
        margin-top: 40px;
    }
    
    .social-login p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .social-login p::before,
    .social-login p::after {
        max-width: 150px;
    }
    
    .social-buttons {
        gap: 18px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
    }
}

/* Ultra-wide screens (1400px and up) */
@media screen and (min-width: 1400px) {
    .social-login p::before,
    .social-login p::after {
        max-width: 200px;
    }
}


.social-btn i {
    font-size: 20px;
}

.social-btn.facebook i {
    color: #3b5998;
}

.social-btn.google i {
    color: #db4437;
}

.social-btn.apple i {
    color: #000000;
}

.register-link {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 14px;
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .login-container {
        padding: 30px;
        max-width: 90%;
    }
    
    .login-header h2 {
        font-size: 1.8em;
    }
    
    .social-login p::before,
    .social-login p::after {
        width: 25%;
    }
}

@media screen and (max-width: 480px) {
    .login-container {
        padding: 25px;
        max-width: 95%;
    }
    
    .login-header h2 {
        font-size: 1.6em;
    }
    
    .login-form input {
        padding: 12px;
        font-size: 14px;
    }
    
    .social-login p::before,
    .social-login p::after {
        width: 20%;
    }
    
    .social-buttons {
        gap: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
}
.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    z-index: 10;
}

.toggle-password:hover {
    color: #333;
}

/* Ensure the padding-right for the input to avoid text overlap with the eye icon */
.password-group input[type="password"],
.password-group input[type="text"] {
    padding-right: 40px;
}