/* ================== LANDING PAGE STYLES ================== */

/*.top-nav {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 50;
*/}


.top-nav {
    position: absolute;
    top: 25px;
    left: 30px;           /* Changed from right to left */
    right: 30px;          /* Added this */
    z-index: 50;
    display: flex;        /* Added - makes logo and button align nicely */
    justify-content: space-between;  /* Added - pushes button to right */
    align-items: center;  /* Added - vertical centering */
}

/* New: Style for the logo */
.logo {
    height: 60px;         /* Adjust this size as needed */
    width: auto;
    display: block;
}


/*
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)), 
                url('https://picsum.photos/id/1015/1920/1080') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}
*/

/* Updated Hero - Important fix so content isn't hidden under nav */
.hero {
    height: 100vh;
    padding-top: 100px;   /* ← This is the key fix */
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)), 
                url('https://picsum.photos/id/1015/1920/1080') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}




.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9);
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 760px;
    margin: 0 auto 2.8rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background: #ff3333;
    transform: translateY(-4px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Gallery */
.gallery {
    padding: 80px 5% 120px;
    background: #0f0f0f;
}

.gallery h2 {
    text-align: center;
    color: #ddd;
    margin-bottom: 50px;
    font-size: 2.6rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

.grid-item {
    position: relative;
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
    transition: transform 0.4s ease;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.grid-item:hover {
    transform: scale(1.04);
}

.grid-item img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    padding: 15px;
}

.grid-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 25px 20px 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-item:hover .overlay {
    opacity: 1;
}

/* ================DASHBOARD ======================= */
.dashboard {
    padding: 40px 5%;
    background: #0f0f0f;
    min-height: 100vh;
    color: #ddd;
}
        
.top-nav {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 50;
    display: flex;
    gap: 12px;
}
        
.new-sign-btn {
    background: #ff0000;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
        
.new-sign-btn:hover {
    background: #ff3333;
    transform: translateY(-3px);
}
        
.dashboard-header {
    margin-top: 80px;
    margin-bottom: 50px;
}
        
.dashboard-header h1 {
    font-size: 2.8rem;
    margin: 0;
}
        
.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
        
.sign-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}
        
.sign-card:hover {
    transform: scale(1.03);
}
        
.sign-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
        
.sign-card-info {
    padding: 15px;
}
        
.sign-card-info h3 {
    margin: 0 0 8px 0;
    color: #fff;
}
        
.sign-card-info p {
    color: #888;
    font-size: 0.95rem;
}

/* ================== LOGIN MODAL ================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #1f1f1f;
    padding: 30px 35px;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

.modal h2 {
    margin: 0 0 20px 0;
    color: #fff;
    text-align: center;
}

.modal input {
    width: 100%;
    padding: 12px 14px;
    margin: 8px 0;
    background: #2a2a2a;
    border: 1px solid #555;
    border-radius: 6px;
    color: #ddd;
    font-size: 15px;
}

.modal button {
    width: 100%;
    padding: 13px;
    margin: 12px 0 8px 0;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.modal button:hover {
    background: #ff3333;
}